Class CfnConfiguration.Builder
java.lang.Object
software.amazon.awscdk.services.amazonmq.CfnConfiguration.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfiguration>
- Enclosing class:
- CfnConfiguration
@Stability(Stable)
public static final class CfnConfiguration.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfiguration>
A fluent builder for
CfnConfiguration.-
Method Summary
Modifier and TypeMethodDescriptionauthenticationStrategy(String authenticationStrategy) Optional.build()static CfnConfiguration.BuilderThe base64-encoded XML configuration.description(String description) The description of the configuration.engineType(String engineType) The type of broker engine.engineVersion(String engineVersion) The version of the broker engine.The name of the configuration.tags(List<? extends CfnConfiguration.TagsEntryProperty> tags) Create tags when creating the configuration.
-
Method Details
-
create
- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
- Returns:
- a new instance of
CfnConfiguration.Builder.
-
data
The base64-encoded XML configuration.- Parameters:
data- The base64-encoded XML configuration. This parameter is required.- Returns:
this
-
engineType
The type of broker engine.Note: Currently, Amazon MQ only supports ACTIVEMQ for creating and editing broker configurations.
- Parameters:
engineType- The type of broker engine. This parameter is required.- Returns:
this
-
engineVersion
- Parameters:
engineVersion- The version of the broker engine. This parameter is required.- Returns:
this
-
name
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.
- Parameters:
name- The name of the configuration. This parameter is required.- Returns:
this
-
authenticationStrategy
@Stability(Stable) public CfnConfiguration.Builder authenticationStrategy(String authenticationStrategy) Optional.The authentication strategy associated with the configuration. The default is
SIMPLE.- Parameters:
authenticationStrategy- Optional. This parameter is required.- Returns:
this
-
description
The description of the configuration.- Parameters:
description- The description of the configuration. This parameter is required.- Returns:
this
-
tags
@Stability(Stable) public CfnConfiguration.Builder tags(List<? extends CfnConfiguration.TagsEntryProperty> tags) Create tags when creating the configuration.- Parameters:
tags- Create tags when creating the configuration. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConfiguration>- Returns:
- a newly built instance of
CfnConfiguration.
-