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