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
Constructors -
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
-
engineType
Sets the value ofCfnConfigurationProps.getEngineType()- Parameters:
engineType- Required. This parameter is required. The type of broker engine. Currently, Amazon MQ supportsACTIVEMQandRABBITMQ.- Returns:
this
-
name
Sets the value ofCfnConfigurationProps.getName()- Parameters:
name- Required. This parameter is required. The name of the configuration. 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
-
data
Sets the value ofCfnConfigurationProps.getData()- Parameters:
data- Amazon MQ for Active MQ: The base64-encoded XML configuration. Amazon MQ for RabbitMQ: the base64-encoded Cuttlefish configuration.- Returns:
this
-
description
Sets the value ofCfnConfigurationProps.getDescription()- Parameters:
description- The description of the configuration.- Returns:
this
-
engineVersion
Sets the value ofCfnConfigurationProps.getEngineVersion()- Parameters:
engineVersion- The broker engine version. Defaults to the latest available version for the specified broker engine type. For more information, see the ActiveMQ version management and the RabbitMQ version management sections in the Amazon MQ Developer Guide.- 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:
buildin interfacesoftware.amazon.jsii.Builder<CfnConfigurationProps>- Returns:
- a new instance of
CfnConfigurationProps - Throws:
NullPointerException- if any required attribute was not provided
-