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

com.pulumi.azurenative.synapse.inputs.AutoPausePropertiesArgs 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.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-pausing properties of a Big Data pool powered by Apache Spark
 * 
 */
public final class AutoPausePropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final AutoPausePropertiesArgs Empty = new AutoPausePropertiesArgs();

    /**
     * Number of minutes of idle time before the Big Data pool is automatically paused.
     * 
     */
    @Import(name="delayInMinutes")
    private @Nullable Output delayInMinutes;

    /**
     * @return Number of minutes of idle time before the Big Data pool is automatically paused.
     * 
     */
    public Optional> delayInMinutes() {
        return Optional.ofNullable(this.delayInMinutes);
    }

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

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

    private AutoPausePropertiesArgs() {}

    private AutoPausePropertiesArgs(AutoPausePropertiesArgs $) {
        this.delayInMinutes = $.delayInMinutes;
        this.enabled = $.enabled;
    }

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

    public static final class Builder {
        private AutoPausePropertiesArgs $;

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

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

        /**
         * @param delayInMinutes Number of minutes of idle time before the Big Data pool is automatically paused.
         * 
         * @return builder
         * 
         */
        public Builder delayInMinutes(@Nullable Output delayInMinutes) {
            $.delayInMinutes = delayInMinutes;
            return this;
        }

        /**
         * @param delayInMinutes Number of minutes of idle time before the Big Data pool is automatically paused.
         * 
         * @return builder
         * 
         */
        public Builder delayInMinutes(Integer delayInMinutes) {
            return delayInMinutes(Output.of(delayInMinutes));
        }

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

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

        public AutoPausePropertiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy