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

com.pulumi.azurenative.synapse.inputs.AutoScalePropertiesArgs Maven / Gradle / Ivy

There is a newer version: 2.78.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.synapse.inputs;

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


/**
 * Auto-scaling properties of a Big Data pool powered by Apache Spark
 * 
 */
public final class AutoScalePropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final AutoScalePropertiesArgs Empty = new AutoScalePropertiesArgs();

    /**
     * Whether automatic scaling is enabled for the Big Data pool.
     * 
     */
    @Import(name="enabled")
    private @Nullable Output enabled;

    /**
     * @return Whether automatic scaling is enabled for the Big Data pool.
     * 
     */
    public Optional> enabled() {
        return Optional.ofNullable(this.enabled);
    }

    /**
     * The maximum number of nodes the Big Data pool can support.
     * 
     */
    @Import(name="maxNodeCount")
    private @Nullable Output maxNodeCount;

    /**
     * @return The maximum number of nodes the Big Data pool can support.
     * 
     */
    public Optional> maxNodeCount() {
        return Optional.ofNullable(this.maxNodeCount);
    }

    /**
     * The minimum number of nodes the Big Data pool can support.
     * 
     */
    @Import(name="minNodeCount")
    private @Nullable Output minNodeCount;

    /**
     * @return The minimum number of nodes the Big Data pool can support.
     * 
     */
    public Optional> minNodeCount() {
        return Optional.ofNullable(this.minNodeCount);
    }

    private AutoScalePropertiesArgs() {}

    private AutoScalePropertiesArgs(AutoScalePropertiesArgs $) {
        this.enabled = $.enabled;
        this.maxNodeCount = $.maxNodeCount;
        this.minNodeCount = $.minNodeCount;
    }

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

    public static final class Builder {
        private AutoScalePropertiesArgs $;

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

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

        /**
         * @param enabled Whether automatic scaling is enabled for the Big Data pool.
         * 
         * @return builder
         * 
         */
        public Builder enabled(@Nullable Output enabled) {
            $.enabled = enabled;
            return this;
        }

        /**
         * @param enabled Whether automatic scaling is enabled for the Big Data pool.
         * 
         * @return builder
         * 
         */
        public Builder enabled(Boolean enabled) {
            return enabled(Output.of(enabled));
        }

        /**
         * @param maxNodeCount The maximum number of nodes the Big Data pool can support.
         * 
         * @return builder
         * 
         */
        public Builder maxNodeCount(@Nullable Output maxNodeCount) {
            $.maxNodeCount = maxNodeCount;
            return this;
        }

        /**
         * @param maxNodeCount The maximum number of nodes the Big Data pool can support.
         * 
         * @return builder
         * 
         */
        public Builder maxNodeCount(Integer maxNodeCount) {
            return maxNodeCount(Output.of(maxNodeCount));
        }

        /**
         * @param minNodeCount The minimum number of nodes the Big Data pool can support.
         * 
         * @return builder
         * 
         */
        public Builder minNodeCount(@Nullable Output minNodeCount) {
            $.minNodeCount = minNodeCount;
            return this;
        }

        /**
         * @param minNodeCount The minimum number of nodes the Big Data pool can support.
         * 
         * @return builder
         * 
         */
        public Builder minNodeCount(Integer minNodeCount) {
            return minNodeCount(Output.of(minNodeCount));
        }

        public AutoScalePropertiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy