Class CfnDomain.ZoneAwarenessConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.opensearchservice.CfnDomain.ZoneAwarenessConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomain.ZoneAwarenessConfigProperty>
- Enclosing interface:
CfnDomain.ZoneAwarenessConfigProperty
@Stability(Stable)
public static final class CfnDomain.ZoneAwarenessConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomain.ZoneAwarenessConfigProperty>
A builder for
CfnDomain.ZoneAwarenessConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionavailabilityZoneCount
(Number availabilityZoneCount) Sets the value ofCfnDomain.ZoneAwarenessConfigProperty.getAvailabilityZoneCount()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
availabilityZoneCount
@Stability(Stable) public CfnDomain.ZoneAwarenessConfigProperty.Builder availabilityZoneCount(Number availabilityZoneCount) Sets the value ofCfnDomain.ZoneAwarenessConfigProperty.getAvailabilityZoneCount()
- Parameters:
availabilityZoneCount
- If you enabled multiple Availability Zones (AZs), the number of AZs that you want the domain to use. Valid values are2
and3
. Default is 2.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDomain.ZoneAwarenessConfigProperty>
- Returns:
- a new instance of
CfnDomain.ZoneAwarenessConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-