Class CfnConfigurationAssociation.Builder
java.lang.Object
software.amazon.awscdk.services.amazonmq.CfnConfigurationAssociation.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfigurationAssociation>
- Enclosing class:
CfnConfigurationAssociation
@Stability(Stable)
public static final class CfnConfigurationAssociation.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfigurationAssociation>
A fluent builder for
CfnConfigurationAssociation
.-
Method Summary
Modifier and TypeMethodDescriptionThe broker to associate with a configuration.build()
configuration
(IResolvable configuration) The configuration to associate with a broker.configuration
(CfnConfigurationAssociation.ConfigurationIdProperty configuration) The configuration to associate with a broker.
-
Method Details
-
create
@Stability(Stable) public static CfnConfigurationAssociation.Builder create(Construct scope, String id) - Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnConfigurationAssociation.Builder
.
-
broker
The broker to associate with a configuration.- Parameters:
broker
- The broker to associate with a configuration. This parameter is required.- Returns:
this
-
configuration
@Stability(Stable) public CfnConfigurationAssociation.Builder configuration(IResolvable configuration) The configuration to associate with a broker.- Parameters:
configuration
- The configuration to associate with a broker. This parameter is required.- Returns:
this
-
configuration
@Stability(Stable) public CfnConfigurationAssociation.Builder configuration(CfnConfigurationAssociation.ConfigurationIdProperty configuration) The configuration to associate with a broker.- Parameters:
configuration
- The configuration to associate with a broker. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnConfigurationAssociation>
- Returns:
- a newly built instance of
CfnConfigurationAssociation
.
-