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.Builder
The 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
@Stability(Stable) public static CfnConfiguration.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- 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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
description
The description of the configuration.- Parameters:
description
- The description of the configuration. This parameter is required.- Returns:
this
- See Also:
-
engineVersion
- Parameters:
engineVersion
- The version of the broker engine. This parameter is required.- Returns:
this
- See Also:
-
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
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnConfiguration>
- Returns:
- a newly built instance of
CfnConfiguration
.
-