@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsOpenSearchServiceDomainClusterConfigZoneAwarenessConfigDetails extends Object implements Serializable, Cloneable, StructuredPojo
Configuration options for zone awareness.
Constructor and Description |
---|
AwsOpenSearchServiceDomainClusterConfigZoneAwarenessConfigDetails() |
Modifier and Type | Method and Description |
---|---|
AwsOpenSearchServiceDomainClusterConfigZoneAwarenessConfigDetails |
clone() |
boolean |
equals(Object obj) |
Integer |
getAvailabilityZoneCount()
The number of Availability Zones that the domain uses.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAvailabilityZoneCount(Integer availabilityZoneCount)
The number of Availability Zones that the domain uses.
|
String |
toString()
Returns a string representation of this object.
|
AwsOpenSearchServiceDomainClusterConfigZoneAwarenessConfigDetails |
withAvailabilityZoneCount(Integer availabilityZoneCount)
The number of Availability Zones that the domain uses.
|
public AwsOpenSearchServiceDomainClusterConfigZoneAwarenessConfigDetails()
public void setAvailabilityZoneCount(Integer availabilityZoneCount)
The number of Availability Zones that the domain uses. Valid values are 2
or 3
. The
default is 2
.
availabilityZoneCount
- The number of Availability Zones that the domain uses. Valid values are 2
or 3
.
The default is 2
.public Integer getAvailabilityZoneCount()
The number of Availability Zones that the domain uses. Valid values are 2
or 3
. The
default is 2
.
2
or 3
.
The default is 2
.public AwsOpenSearchServiceDomainClusterConfigZoneAwarenessConfigDetails withAvailabilityZoneCount(Integer availabilityZoneCount)
The number of Availability Zones that the domain uses. Valid values are 2
or 3
. The
default is 2
.
availabilityZoneCount
- The number of Availability Zones that the domain uses. Valid values are 2
or 3
.
The default is 2
.public String toString()
toString
in class Object
Object.toString()
public AwsOpenSearchServiceDomainClusterConfigZoneAwarenessConfigDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.