@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ZoneAwarenessConfig extends Object implements Serializable, Cloneable, StructuredPojo
The zone awareness configuration for the domain cluster, such as the number of availability zones.
Constructor and Description |
---|
ZoneAwarenessConfig() |
Modifier and Type | Method and Description |
---|---|
ZoneAwarenessConfig |
clone() |
boolean |
equals(Object obj) |
Integer |
getAvailabilityZoneCount()
An integer value to indicate the number of availability zones for a domain when zone awareness is enabled.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAvailabilityZoneCount(Integer availabilityZoneCount)
An integer value to indicate the number of availability zones for a domain when zone awareness is enabled.
|
String |
toString()
Returns a string representation of this object.
|
ZoneAwarenessConfig |
withAvailabilityZoneCount(Integer availabilityZoneCount)
An integer value to indicate the number of availability zones for a domain when zone awareness is enabled.
|
public void setAvailabilityZoneCount(Integer availabilityZoneCount)
An integer value to indicate the number of availability zones for a domain when zone awareness is enabled. This should be equal to number of subnets if VPC endpoints is enabled.
availabilityZoneCount
- An integer value to indicate the number of availability zones for a domain when zone awareness is enabled.
This should be equal to number of subnets if VPC endpoints is enabled.public Integer getAvailabilityZoneCount()
An integer value to indicate the number of availability zones for a domain when zone awareness is enabled. This should be equal to number of subnets if VPC endpoints is enabled.
public ZoneAwarenessConfig withAvailabilityZoneCount(Integer availabilityZoneCount)
An integer value to indicate the number of availability zones for a domain when zone awareness is enabled. This should be equal to number of subnets if VPC endpoints is enabled.
availabilityZoneCount
- An integer value to indicate the number of availability zones for a domain when zone awareness is enabled.
This should be equal to number of subnets if VPC endpoints is enabled.public String toString()
toString
in class Object
Object.toString()
public ZoneAwarenessConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.