Class CfnConfigurationAssociationProps.Builder
java.lang.Object
software.amazon.awscdk.services.amazonmq.CfnConfigurationAssociationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfigurationAssociationProps>
- Enclosing interface:
CfnConfigurationAssociationProps
@Stability(Stable)
public static final class CfnConfigurationAssociationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfigurationAssociationProps>
A builder for
CfnConfigurationAssociationProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnConfigurationAssociationProps.getBroker()
build()
Builds the configured instance.configuration
(IResolvable configuration) Sets the value ofCfnConfigurationAssociationProps.getConfiguration()
configuration
(CfnConfigurationAssociation.ConfigurationIdProperty configuration) Sets the value ofCfnConfigurationAssociationProps.getConfiguration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
broker
Sets the value ofCfnConfigurationAssociationProps.getBroker()
- Parameters:
broker
- The broker to associate with a configuration. This parameter is required.- Returns:
this
-
configuration
@Stability(Stable) public CfnConfigurationAssociationProps.Builder configuration(IResolvable configuration) Sets the value ofCfnConfigurationAssociationProps.getConfiguration()
- Parameters:
configuration
- The configuration to associate with a broker. This parameter is required.- Returns:
this
-
configuration
@Stability(Stable) public CfnConfigurationAssociationProps.Builder configuration(CfnConfigurationAssociation.ConfigurationIdProperty configuration) Sets the value ofCfnConfigurationAssociationProps.getConfiguration()
- Parameters:
configuration
- The configuration to associate with a broker. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnConfigurationAssociationProps>
- Returns:
- a new instance of
CfnConfigurationAssociationProps
- Throws:
NullPointerException
- if any required attribute was not provided
-