@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ElasticChannelConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The attributes required to configure and create an elastic channel. An elastic channel can support a maximum of 1-million members.
Constructor and Description |
---|
ElasticChannelConfiguration() |
Modifier and Type | Method and Description |
---|---|
ElasticChannelConfiguration |
clone() |
boolean |
equals(Object obj) |
Integer |
getMaximumSubChannels()
The maximum number of SubChannels that you want to allow in the elastic channel.
|
Integer |
getMinimumMembershipPercentage()
The minimum allowed percentage of TargetMembershipsPerSubChannel users.
|
Integer |
getTargetMembershipsPerSubChannel()
The maximum number of members allowed in a SubChannel.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMaximumSubChannels(Integer maximumSubChannels)
The maximum number of SubChannels that you want to allow in the elastic channel.
|
void |
setMinimumMembershipPercentage(Integer minimumMembershipPercentage)
The minimum allowed percentage of TargetMembershipsPerSubChannel users.
|
void |
setTargetMembershipsPerSubChannel(Integer targetMembershipsPerSubChannel)
The maximum number of members allowed in a SubChannel.
|
String |
toString()
Returns a string representation of this object.
|
ElasticChannelConfiguration |
withMaximumSubChannels(Integer maximumSubChannels)
The maximum number of SubChannels that you want to allow in the elastic channel.
|
ElasticChannelConfiguration |
withMinimumMembershipPercentage(Integer minimumMembershipPercentage)
The minimum allowed percentage of TargetMembershipsPerSubChannel users.
|
ElasticChannelConfiguration |
withTargetMembershipsPerSubChannel(Integer targetMembershipsPerSubChannel)
The maximum number of members allowed in a SubChannel.
|
public void setMaximumSubChannels(Integer maximumSubChannels)
The maximum number of SubChannels that you want to allow in the elastic channel.
maximumSubChannels
- The maximum number of SubChannels that you want to allow in the elastic channel.public Integer getMaximumSubChannels()
The maximum number of SubChannels that you want to allow in the elastic channel.
public ElasticChannelConfiguration withMaximumSubChannels(Integer maximumSubChannels)
The maximum number of SubChannels that you want to allow in the elastic channel.
maximumSubChannels
- The maximum number of SubChannels that you want to allow in the elastic channel.public void setTargetMembershipsPerSubChannel(Integer targetMembershipsPerSubChannel)
The maximum number of members allowed in a SubChannel.
targetMembershipsPerSubChannel
- The maximum number of members allowed in a SubChannel.public Integer getTargetMembershipsPerSubChannel()
The maximum number of members allowed in a SubChannel.
public ElasticChannelConfiguration withTargetMembershipsPerSubChannel(Integer targetMembershipsPerSubChannel)
The maximum number of members allowed in a SubChannel.
targetMembershipsPerSubChannel
- The maximum number of members allowed in a SubChannel.public void setMinimumMembershipPercentage(Integer minimumMembershipPercentage)
The minimum allowed percentage of TargetMembershipsPerSubChannel users. Ceil of the calculated value is used in balancing members among SubChannels of the elastic channel.
minimumMembershipPercentage
- The minimum allowed percentage of TargetMembershipsPerSubChannel users. Ceil of the calculated value is
used in balancing members among SubChannels of the elastic channel.public Integer getMinimumMembershipPercentage()
The minimum allowed percentage of TargetMembershipsPerSubChannel users. Ceil of the calculated value is used in balancing members among SubChannels of the elastic channel.
public ElasticChannelConfiguration withMinimumMembershipPercentage(Integer minimumMembershipPercentage)
The minimum allowed percentage of TargetMembershipsPerSubChannel users. Ceil of the calculated value is used in balancing members among SubChannels of the elastic channel.
minimumMembershipPercentage
- The minimum allowed percentage of TargetMembershipsPerSubChannel users. Ceil of the calculated value is
used in balancing members among SubChannels of the elastic channel.public String toString()
toString
in class Object
Object.toString()
public ElasticChannelConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.