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

com.pulumi.azure.synapse.inputs.SparkPoolAutoPauseArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.synapse.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.util.Objects;


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

    public static final SparkPoolAutoPauseArgs Empty = new SparkPoolAutoPauseArgs();

    /**
     * Number of minutes of idle time before the Spark Pool is automatically paused. Must be between `5` and `10080`.
     * 
     */
    @Import(name="delayInMinutes", required=true)
    private Output delayInMinutes;

    /**
     * @return Number of minutes of idle time before the Spark Pool is automatically paused. Must be between `5` and `10080`.
     * 
     */
    public Output delayInMinutes() {
        return this.delayInMinutes;
    }

    private SparkPoolAutoPauseArgs() {}

    private SparkPoolAutoPauseArgs(SparkPoolAutoPauseArgs $) {
        this.delayInMinutes = $.delayInMinutes;
    }

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

    public static final class Builder {
        private SparkPoolAutoPauseArgs $;

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

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

        /**
         * @param delayInMinutes Number of minutes of idle time before the Spark Pool is automatically paused. Must be between `5` and `10080`.
         * 
         * @return builder
         * 
         */
        public Builder delayInMinutes(Output delayInMinutes) {
            $.delayInMinutes = delayInMinutes;
            return this;
        }

        /**
         * @param delayInMinutes Number of minutes of idle time before the Spark Pool is automatically paused. Must be between `5` and `10080`.
         * 
         * @return builder
         * 
         */
        public Builder delayInMinutes(Integer delayInMinutes) {
            return delayInMinutes(Output.of(delayInMinutes));
        }

        public SparkPoolAutoPauseArgs build() {
            if ($.delayInMinutes == null) {
                throw new MissingRequiredPropertyException("SparkPoolAutoPauseArgs", "delayInMinutes");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy