Class CfnConfigurationProps.Builder
java.lang.Object
software.amazon.awscdk.services.amazonmq.CfnConfigurationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfigurationProps>
- Enclosing interface:
CfnConfigurationProps
@Stability(Stable)
public static final class CfnConfigurationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfigurationProps>
A builder for
CfnConfigurationProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionauthenticationStrategy
(String authenticationStrategy) Sets the value ofCfnConfigurationProps.getAuthenticationStrategy()
build()
Builds the configured instance.Sets the value ofCfnConfigurationProps.getData()
description
(String description) Sets the value ofCfnConfigurationProps.getDescription()
engineType
(String engineType) Sets the value ofCfnConfigurationProps.getEngineType()
engineVersion
(String engineVersion) Sets the value ofCfnConfigurationProps.getEngineVersion()
Sets the value ofCfnConfigurationProps.getName()
tags
(List<? extends CfnConfiguration.TagsEntryProperty> tags) Sets the value ofCfnConfigurationProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
data
Sets the value ofCfnConfigurationProps.getData()
- Parameters:
data
- The base64-encoded XML configuration. This parameter is required.- Returns:
this
-
engineType
Sets the value ofCfnConfigurationProps.getEngineType()
- Parameters:
engineType
- The type of broker engine. This parameter is required. Note: Currently, Amazon MQ only supports ACTIVEMQ for creating and editing broker configurations.- Returns:
this
-
engineVersion
Sets the value ofCfnConfigurationProps.getEngineVersion()
-
name
Sets the value ofCfnConfigurationProps.getName()
- Parameters:
name
- The name of the configuration. This parameter is required. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 1-150 characters long.- Returns:
this
-
authenticationStrategy
@Stability(Stable) public CfnConfigurationProps.Builder authenticationStrategy(String authenticationStrategy) Sets the value ofCfnConfigurationProps.getAuthenticationStrategy()
- Parameters:
authenticationStrategy
- Optional. The authentication strategy associated with the configuration. The default isSIMPLE
.- Returns:
this
-
description
Sets the value ofCfnConfigurationProps.getDescription()
- Parameters:
description
- The description of the configuration.- Returns:
this
-
tags
@Stability(Stable) public CfnConfigurationProps.Builder tags(List<? extends CfnConfiguration.TagsEntryProperty> tags) Sets the value ofCfnConfigurationProps.getTags()
- Parameters:
tags
- Create tags when creating the configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnConfigurationProps>
- Returns:
- a new instance of
CfnConfigurationProps
- Throws:
NullPointerException
- if any required attribute was not provided
-