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

com.pulumi.aws.autoscaling.inputs.GroupAvailabilityZoneDistributionArgs 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.autoscaling.inputs;

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


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

    public static final GroupAvailabilityZoneDistributionArgs Empty = new GroupAvailabilityZoneDistributionArgs();

    /**
     * The strategy to use for distributing capacity across the Availability Zones. Valid values are `balanced-only` and `balanced-best-effort`. Default is `balanced-best-effort`.
     * 
     */
    @Import(name="capacityDistributionStrategy")
    private @Nullable Output capacityDistributionStrategy;

    /**
     * @return The strategy to use for distributing capacity across the Availability Zones. Valid values are `balanced-only` and `balanced-best-effort`. Default is `balanced-best-effort`.
     * 
     */
    public Optional> capacityDistributionStrategy() {
        return Optional.ofNullable(this.capacityDistributionStrategy);
    }

    private GroupAvailabilityZoneDistributionArgs() {}

    private GroupAvailabilityZoneDistributionArgs(GroupAvailabilityZoneDistributionArgs $) {
        this.capacityDistributionStrategy = $.capacityDistributionStrategy;
    }

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

    public static final class Builder {
        private GroupAvailabilityZoneDistributionArgs $;

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

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

        /**
         * @param capacityDistributionStrategy The strategy to use for distributing capacity across the Availability Zones. Valid values are `balanced-only` and `balanced-best-effort`. Default is `balanced-best-effort`.
         * 
         * @return builder
         * 
         */
        public Builder capacityDistributionStrategy(@Nullable Output capacityDistributionStrategy) {
            $.capacityDistributionStrategy = capacityDistributionStrategy;
            return this;
        }

        /**
         * @param capacityDistributionStrategy The strategy to use for distributing capacity across the Availability Zones. Valid values are `balanced-only` and `balanced-best-effort`. Default is `balanced-best-effort`.
         * 
         * @return builder
         * 
         */
        public Builder capacityDistributionStrategy(String capacityDistributionStrategy) {
            return capacityDistributionStrategy(Output.of(capacityDistributionStrategy));
        }

        public GroupAvailabilityZoneDistributionArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy