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