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

com.pulumi.aws.elasticsearch.inputs.DomainClusterConfigZoneAwarenessConfigArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
Show newest version
// *** 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.elasticsearch.inputs;

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


public final class DomainClusterConfigZoneAwarenessConfigArgs extends com.pulumi.resources.ResourceArgs {

    public static final DomainClusterConfigZoneAwarenessConfigArgs Empty = new DomainClusterConfigZoneAwarenessConfigArgs();

    /**
     * Number of Availability Zones for the domain to use with `zone_awareness_enabled`. Defaults to `2`. Valid values: `2` or `3`.
     * 
     */
    @Import(name="availabilityZoneCount")
    private @Nullable Output availabilityZoneCount;

    /**
     * @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);
    }

    private DomainClusterConfigZoneAwarenessConfigArgs() {}

    private DomainClusterConfigZoneAwarenessConfigArgs(DomainClusterConfigZoneAwarenessConfigArgs $) {
        this.availabilityZoneCount = $.availabilityZoneCount;
    }

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

    public static final class Builder {
        private DomainClusterConfigZoneAwarenessConfigArgs $;

        public Builder() {
            $ = new DomainClusterConfigZoneAwarenessConfigArgs();
        }

        public Builder(DomainClusterConfigZoneAwarenessConfigArgs defaults) {
            $ = new DomainClusterConfigZoneAwarenessConfigArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param availabilityZoneCount Number of Availability Zones for the domain to use with `zone_awareness_enabled`. Defaults to `2`. Valid values: `2` or `3`.
         * 
         * @return builder
         * 
         */
        public Builder availabilityZoneCount(@Nullable Output availabilityZoneCount) {
            $.availabilityZoneCount = availabilityZoneCount;
            return this;
        }

        /**
         * @param availabilityZoneCount Number of Availability Zones for the domain to use with `zone_awareness_enabled`. Defaults to `2`. Valid values: `2` or `3`.
         * 
         * @return builder
         * 
         */
        public Builder availabilityZoneCount(Integer availabilityZoneCount) {
            return availabilityZoneCount(Output.of(availabilityZoneCount));
        }

        public DomainClusterConfigZoneAwarenessConfigArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy