All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.opensearch.outputs.DomainClusterConfigZoneAwarenessConfig Maven / Gradle / Ivy

// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.aws.opensearch.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class DomainClusterConfigZoneAwarenessConfig {
    /**
     * @return Number of Availability Zones for the domain to use with `zone_awareness_enabled`. Defaults to `2`. Valid values: `2` or `3`.
     * 
     */
    private @Nullable Integer availabilityZoneCount;

    private DomainClusterConfigZoneAwarenessConfig() {}
    /**
     * @return Number of Availability Zones for the domain to use with `zone_awareness_enabled`. Defaults to `2`. Valid values: `2` or `3`.
     * 
     */
    public Optional availabilityZoneCount() {
        return Optional.ofNullable(this.availabilityZoneCount);
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(DomainClusterConfigZoneAwarenessConfig defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Integer availabilityZoneCount;
        public Builder() {}
        public Builder(DomainClusterConfigZoneAwarenessConfig defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.availabilityZoneCount = defaults.availabilityZoneCount;
        }

        @CustomType.Setter
        public Builder availabilityZoneCount(@Nullable Integer availabilityZoneCount) {

            this.availabilityZoneCount = availabilityZoneCount;
            return this;
        }
        public DomainClusterConfigZoneAwarenessConfig build() {
            final var _resultValue = new DomainClusterConfigZoneAwarenessConfig();
            _resultValue.availabilityZoneCount = availabilityZoneCount;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy