public static final class ZoneAwarenessConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ZoneAwarenessConfig
ZoneAwarenessConfig
ZoneAwarenessConfig.Builder, ZoneAwarenessConfig.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.Number |
getAvailabilityZoneCount()
If you enabled multiple Availability Zones (AZs), the number of AZs that you want the domain to use.
|
java.lang.Boolean |
getEnabled()
Indicates whether to enable zone awareness for the Amazon OpenSearch Service domain.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.Number getAvailabilityZoneCount()
ZoneAwarenessConfig
Valid values are 2 and 3.
Default: - 2 if zone awareness is enabled.
getAvailabilityZoneCount
in interface ZoneAwarenessConfig
public final java.lang.Boolean getEnabled()
ZoneAwarenessConfig
When you enable zone awareness, Amazon OpenSearch Service allocates the nodes and replica index shards that belong to a cluster across two Availability Zones (AZs) in the same region to prevent data loss and minimize downtime in the event of node or data center failure. Don't enable zone awareness if your cluster has no replica index shards or is a single-node cluster. For more information, see [Configuring a Multi-AZ Domain] (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-multiaz.html) in the Amazon OpenSearch Service Developer Guide.
Default: - false
getEnabled
in interface ZoneAwarenessConfig
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()