// *** 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.gcp.container.inputs;

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


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

    public static final ClusterNodePoolAutoscalingArgs Empty = new ClusterNodePoolAutoscalingArgs();

    @Import(name="locationPolicy")
    private @Nullable Output<String> locationPolicy;

    public Optional<Output<String>> locationPolicy() {
        return Optional.ofNullable(this.locationPolicy);
    }

    @Import(name="maxNodeCount")
    private @Nullable Output<Integer> maxNodeCount;

    public Optional<Output<Integer>> maxNodeCount() {
        return Optional.ofNullable(this.maxNodeCount);
    }

    @Import(name="minNodeCount")
    private @Nullable Output<Integer> minNodeCount;

    public Optional<Output<Integer>> minNodeCount() {
        return Optional.ofNullable(this.minNodeCount);
    }

    @Import(name="totalMaxNodeCount")
    private @Nullable Output<Integer> totalMaxNodeCount;

    public Optional<Output<Integer>> totalMaxNodeCount() {
        return Optional.ofNullable(this.totalMaxNodeCount);
    }

    @Import(name="totalMinNodeCount")
    private @Nullable Output<Integer> totalMinNodeCount;

    public Optional<Output<Integer>> totalMinNodeCount() {
        return Optional.ofNullable(this.totalMinNodeCount);
    }

    private ClusterNodePoolAutoscalingArgs() {}

    private ClusterNodePoolAutoscalingArgs(ClusterNodePoolAutoscalingArgs $) {
        this.locationPolicy = $.locationPolicy;
        this.maxNodeCount = $.maxNodeCount;
        this.minNodeCount = $.minNodeCount;
        this.totalMaxNodeCount = $.totalMaxNodeCount;
        this.totalMinNodeCount = $.totalMinNodeCount;
    }

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

    public static final class Builder {
        private ClusterNodePoolAutoscalingArgs $;

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

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

        public Builder locationPolicy(@Nullable Output<String> locationPolicy) {
            $.locationPolicy = locationPolicy;
            return this;
        }

        public Builder locationPolicy(String locationPolicy) {
            return locationPolicy(Output.of(locationPolicy));
        }

        public Builder maxNodeCount(@Nullable Output<Integer> maxNodeCount) {
            $.maxNodeCount = maxNodeCount;
            return this;
        }

        public Builder maxNodeCount(Integer maxNodeCount) {
            return maxNodeCount(Output.of(maxNodeCount));
        }

        public Builder minNodeCount(@Nullable Output<Integer> minNodeCount) {
            $.minNodeCount = minNodeCount;
            return this;
        }

        public Builder minNodeCount(Integer minNodeCount) {
            return minNodeCount(Output.of(minNodeCount));
        }

        public Builder totalMaxNodeCount(@Nullable Output<Integer> totalMaxNodeCount) {
            $.totalMaxNodeCount = totalMaxNodeCount;
            return this;
        }

        public Builder totalMaxNodeCount(Integer totalMaxNodeCount) {
            return totalMaxNodeCount(Output.of(totalMaxNodeCount));
        }

        public Builder totalMinNodeCount(@Nullable Output<Integer> totalMinNodeCount) {
            $.totalMinNodeCount = totalMinNodeCount;
            return this;
        }

        public Builder totalMinNodeCount(Integer totalMinNodeCount) {
            return totalMinNodeCount(Output.of(totalMinNodeCount));
        }

        public ClusterNodePoolAutoscalingArgs build() {
            return $;
        }
    }

}
