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

com.pulumi.azurenative.awsconnector.inputs.ZoneAwarenessConfigArgs Maven / Gradle / Ivy

There is a newer version: 2.82.0
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.azurenative.awsconnector.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;


/**
 * Definition of ZoneAwarenessConfig
 * 
 */
public final class ZoneAwarenessConfigArgs extends com.pulumi.resources.ResourceArgs {

    public static final ZoneAwarenessConfigArgs Empty = new ZoneAwarenessConfigArgs();

    /**
     * <p>If you enabled multiple Availability Zones, this value is the number of zones that you want the domain to use. Valid values are <code>2</code> and <code>3</code>. If your domain is provisioned within a VPC, this value be equal to number of subnets.</p>
     * 
     */
    @Import(name="availabilityZoneCount")
    private @Nullable Output availabilityZoneCount;

    /**
     * @return <p>If you enabled multiple Availability Zones, this value is the number of zones that you want the domain to use. Valid values are <code>2</code> and <code>3</code>. If your domain is provisioned within a VPC, this value be equal to number of subnets.</p>
     * 
     */
    public Optional> availabilityZoneCount() {
        return Optional.ofNullable(this.availabilityZoneCount);
    }

    private ZoneAwarenessConfigArgs() {}

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

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

    public static final class Builder {
        private ZoneAwarenessConfigArgs $;

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

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

        /**
         * @param availabilityZoneCount <p>If you enabled multiple Availability Zones, this value is the number of zones that you want the domain to use. Valid values are <code>2</code> and <code>3</code>. If your domain is provisioned within a VPC, this value be equal to number of subnets.</p>
         * 
         * @return builder
         * 
         */
        public Builder availabilityZoneCount(@Nullable Output availabilityZoneCount) {
            $.availabilityZoneCount = availabilityZoneCount;
            return this;
        }

        /**
         * @param availabilityZoneCount <p>If you enabled multiple Availability Zones, this value is the number of zones that you want the domain to use. Valid values are <code>2</code> and <code>3</code>. If your domain is provisioned within a VPC, this value be equal to number of subnets.</p>
         * 
         * @return builder
         * 
         */
        public Builder availabilityZoneCount(Integer availabilityZoneCount) {
            return availabilityZoneCount(Output.of(availabilityZoneCount));
        }

        public ZoneAwarenessConfigArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy