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

com.pulumi.azure.hdinsight.inputs.InteractiveQueryClusterRolesWorkerNodeAutoscaleRecurrenceArgs 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.hdinsight.inputs;

import com.pulumi.azure.hdinsight.inputs.InteractiveQueryClusterRolesWorkerNodeAutoscaleRecurrenceScheduleArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;


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

    public static final InteractiveQueryClusterRolesWorkerNodeAutoscaleRecurrenceArgs Empty = new InteractiveQueryClusterRolesWorkerNodeAutoscaleRecurrenceArgs();

    /**
     * A list of `schedule` blocks as defined below.
     * 
     */
    @Import(name="schedules", required=true)
    private Output> schedules;

    /**
     * @return A list of `schedule` blocks as defined below.
     * 
     */
    public Output> schedules() {
        return this.schedules;
    }

    /**
     * The time zone for the autoscale schedule times.
     * 
     */
    @Import(name="timezone", required=true)
    private Output timezone;

    /**
     * @return The time zone for the autoscale schedule times.
     * 
     */
    public Output timezone() {
        return this.timezone;
    }

    private InteractiveQueryClusterRolesWorkerNodeAutoscaleRecurrenceArgs() {}

    private InteractiveQueryClusterRolesWorkerNodeAutoscaleRecurrenceArgs(InteractiveQueryClusterRolesWorkerNodeAutoscaleRecurrenceArgs $) {
        this.schedules = $.schedules;
        this.timezone = $.timezone;
    }

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

    public static final class Builder {
        private InteractiveQueryClusterRolesWorkerNodeAutoscaleRecurrenceArgs $;

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

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

        /**
         * @param schedules A list of `schedule` blocks as defined below.
         * 
         * @return builder
         * 
         */
        public Builder schedules(Output> schedules) {
            $.schedules = schedules;
            return this;
        }

        /**
         * @param schedules A list of `schedule` blocks as defined below.
         * 
         * @return builder
         * 
         */
        public Builder schedules(List schedules) {
            return schedules(Output.of(schedules));
        }

        /**
         * @param schedules A list of `schedule` blocks as defined below.
         * 
         * @return builder
         * 
         */
        public Builder schedules(InteractiveQueryClusterRolesWorkerNodeAutoscaleRecurrenceScheduleArgs... schedules) {
            return schedules(List.of(schedules));
        }

        /**
         * @param timezone The time zone for the autoscale schedule times.
         * 
         * @return builder
         * 
         */
        public Builder timezone(Output timezone) {
            $.timezone = timezone;
            return this;
        }

        /**
         * @param timezone The time zone for the autoscale schedule times.
         * 
         * @return builder
         * 
         */
        public Builder timezone(String timezone) {
            return timezone(Output.of(timezone));
        }

        public InteractiveQueryClusterRolesWorkerNodeAutoscaleRecurrenceArgs build() {
            if ($.schedules == null) {
                throw new MissingRequiredPropertyException("InteractiveQueryClusterRolesWorkerNodeAutoscaleRecurrenceArgs", "schedules");
            }
            if ($.timezone == null) {
                throw new MissingRequiredPropertyException("InteractiveQueryClusterRolesWorkerNodeAutoscaleRecurrenceArgs", "timezone");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy