Class CfnChannel.ElasticChannelConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.chime.CfnChannel.ElasticChannelConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.ElasticChannelConfigurationProperty>
- Enclosing interface:
CfnChannel.ElasticChannelConfigurationProperty
@Stability(Stable)
public static final class CfnChannel.ElasticChannelConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.ElasticChannelConfigurationProperty>
A builder for
CfnChannel.ElasticChannelConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.maximumSubChannels(Number maximumSubChannels) Sets the value ofCfnChannel.ElasticChannelConfigurationProperty.getMaximumSubChannels()minimumMembershipPercentage(Number minimumMembershipPercentage) targetMembershipsPerSubChannel(Number targetMembershipsPerSubChannel)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maximumSubChannels
@Stability(Stable) public CfnChannel.ElasticChannelConfigurationProperty.Builder maximumSubChannels(Number maximumSubChannels) Sets the value ofCfnChannel.ElasticChannelConfigurationProperty.getMaximumSubChannels()- Parameters:
maximumSubChannels- The maximum number of SubChannels allowed in the elastic channel. This parameter is required.- Returns:
this
-
minimumMembershipPercentage
@Stability(Stable) public CfnChannel.ElasticChannelConfigurationProperty.Builder minimumMembershipPercentage(Number minimumMembershipPercentage) - Parameters:
minimumMembershipPercentage- The minimum allowed percentage of TargetMembershipsPerSubChannel users, used to balance members across SubChannels. This parameter is required.- Returns:
this
-
targetMembershipsPerSubChannel
@Stability(Stable) public CfnChannel.ElasticChannelConfigurationProperty.Builder targetMembershipsPerSubChannel(Number targetMembershipsPerSubChannel) Sets the value ofCfnChannel.ElasticChannelConfigurationProperty.getTargetMembershipsPerSubChannel()- Parameters:
targetMembershipsPerSubChannel- The maximum number of members allowed in a SubChannel. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannel.ElasticChannelConfigurationProperty>- Returns:
- a new instance of
CfnChannel.ElasticChannelConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-