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