Class CfnBroker.ConfigurationIdProperty.Builder
java.lang.Object
software.amazon.awscdk.services.amazonmq.CfnBroker.ConfigurationIdProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBroker.ConfigurationIdProperty>
- Enclosing interface:
CfnBroker.ConfigurationIdProperty
@Stability(Stable)
public static final class CfnBroker.ConfigurationIdProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBroker.ConfigurationIdProperty>
A builder for
CfnBroker.ConfigurationIdProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnBroker.ConfigurationIdProperty.getId()
Sets the value ofCfnBroker.ConfigurationIdProperty.getRevision()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
id
Sets the value ofCfnBroker.ConfigurationIdProperty.getId()
- Parameters:
id
- The unique ID that Amazon MQ generates for the configuration. This parameter is required.- Returns:
this
-
revision
Sets the value ofCfnBroker.ConfigurationIdProperty.getRevision()
- Parameters:
revision
- The revision number of the configuration. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnBroker.ConfigurationIdProperty>
- Returns:
- a new instance of
CfnBroker.ConfigurationIdProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-