Class CfnConfigurationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.amazonmq.CfnConfigurationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfigurationMixinProps>
- Enclosing interface:
CfnConfigurationMixinProps
@Stability(Stable)
public static final class CfnConfigurationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfigurationMixinProps>
A builder for
CfnConfigurationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthenticationStrategy(String authenticationStrategy) Sets the value ofCfnConfigurationMixinProps.getAuthenticationStrategy()build()Builds the configured instance.Sets the value ofCfnConfigurationMixinProps.getData()description(String description) Sets the value ofCfnConfigurationMixinProps.getDescription()engineType(String engineType) Sets the value ofCfnConfigurationMixinProps.getEngineType()engineVersion(String engineVersion) Sets the value ofCfnConfigurationMixinProps.getEngineVersion()Sets the value ofCfnConfigurationMixinProps.getName()tags(List<? extends CfnConfigurationPropsMixin.TagsEntryProperty> tags) Sets the value ofCfnConfigurationMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authenticationStrategy
@Stability(Stable) public CfnConfigurationMixinProps.Builder authenticationStrategy(String authenticationStrategy) Sets the value ofCfnConfigurationMixinProps.getAuthenticationStrategy()- Parameters:
authenticationStrategy- Optional. The authentication strategy associated with the configuration. The default isSIMPLE.- Returns:
this
-
data
Sets the value ofCfnConfigurationMixinProps.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 ofCfnConfigurationMixinProps.getDescription()- Parameters:
description- The description of the configuration.- Returns:
this
-
engineType
Sets the value ofCfnConfigurationMixinProps.getEngineType()- Parameters:
engineType- Required. The type of broker engine. Currently, Amazon MQ supportsACTIVEMQandRABBITMQ.- Returns:
this
-
engineVersion
Sets the value ofCfnConfigurationMixinProps.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
-
name
Sets the value ofCfnConfigurationMixinProps.getName()- Parameters:
name- 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
-
tags
@Stability(Stable) public CfnConfigurationMixinProps.Builder tags(List<? extends CfnConfigurationPropsMixin.TagsEntryProperty> tags) Sets the value ofCfnConfigurationMixinProps.getTags()- Parameters:
tags- Create tags when creating the configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConfigurationMixinProps>- Returns:
- a new instance of
CfnConfigurationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-