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.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.opensearchservice.ZoneAwarenessConfig

    ZoneAwarenessConfig.Builder, ZoneAwarenessConfig.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the ZoneAwarenessConfig.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final Number
    If you enabled multiple Availability Zones (AZs), the number of AZs that you want the domain to use.
    final Boolean
    Indicates whether to enable zone awareness for the Amazon OpenSearch Service domain.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 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

      protected Jsii$Proxy(ZoneAwarenessConfig.Builder builder)
      Constructor that initializes the object based on literal property values passed by the ZoneAwarenessConfig.Builder.
  • Method Details

    • getAvailabilityZoneCount

      public final Number getAvailabilityZoneCount()
      Description copied from interface: ZoneAwarenessConfig
      If 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:
      getAvailabilityZoneCount in interface ZoneAwarenessConfig
    • getEnabled

      public final Boolean getEnabled()
      Description copied from interface: ZoneAwarenessConfig
      Indicates 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] (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-multiaz.html) in the Amazon OpenSearch Service Developer Guide.

      Default: - false

      Specified by:
      getEnabled in interface ZoneAwarenessConfig
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object