@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ZoneAwarenessConfig extends Object implements Serializable, Cloneable, StructuredPojo
Specifies 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) |
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 enabledpublic 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 enabledpublic String toString()
toString
in class Object
Object.toString()
public ZoneAwarenessConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2019. All rights reserved.