Class ZoneAwarenessConfig.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.opensearchservice.ZoneAwarenessConfig.Jsii$Proxy
- All Implemented Interfaces:
ZoneAwarenessConfig,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
ZoneAwarenessConfig
@Stability(Stable)
@Internal
public static final class ZoneAwarenessConfig.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements ZoneAwarenessConfig
An implementation for
ZoneAwarenessConfig-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.opensearchservice.ZoneAwarenessConfig
ZoneAwarenessConfig.Builder, ZoneAwarenessConfig.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(ZoneAwarenessConfig.Builder builder) Constructor that initializes the object based on literal property values passed by theZoneAwarenessConfig.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal NumberIf you enabled multiple Availability Zones (AZs), the number of AZs that you want the domain to use.final BooleanIndicates whether to enable zone awareness for the Amazon OpenSearch Service domain.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theZoneAwarenessConfig.Builder.
-
-
Method Details
-
getAvailabilityZoneCount
Description copied from interface:ZoneAwarenessConfigIf you enabled multiple Availability Zones (AZs), the number of AZs that you want the domain to use.Valid values are 2 and 3.
Default: - 2 if zone awareness is enabled.
- Specified by:
getAvailabilityZoneCountin interfaceZoneAwarenessConfig
-
getEnabled
Description copied from interface:ZoneAwarenessConfigIndicates whether to enable zone awareness for the Amazon OpenSearch Service domain.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 in the Amazon OpenSearch Service Developer Guide.
Default: - false
- Specified by:
getEnabledin interfaceZoneAwarenessConfig
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-