// *** 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.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Objects;


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

    public static final HBaseClusterRolesWorkerNodeAutoscaleRecurrenceScheduleArgs Empty = new HBaseClusterRolesWorkerNodeAutoscaleRecurrenceScheduleArgs();

    @Import(name="days", required=true)
    private Output<List<String>> days;

    public Output<List<String>> days() {
        return this.days;
    }

    /**
     * The number of instances which should be run for the Worker Nodes.
     * 
     */
    @Import(name="targetInstanceCount", required=true)
    private Output<Integer> targetInstanceCount;

    /**
     * @return The number of instances which should be run for the Worker Nodes.
     * 
     */
    public Output<Integer> targetInstanceCount() {
        return this.targetInstanceCount;
    }

    @Import(name="time", required=true)
    private Output<String> time;

    public Output<String> time() {
        return this.time;
    }

    private HBaseClusterRolesWorkerNodeAutoscaleRecurrenceScheduleArgs() {}

    private HBaseClusterRolesWorkerNodeAutoscaleRecurrenceScheduleArgs(HBaseClusterRolesWorkerNodeAutoscaleRecurrenceScheduleArgs $) {
        this.days = $.days;
        this.targetInstanceCount = $.targetInstanceCount;
        this.time = $.time;
    }

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

    public static final class Builder {
        private HBaseClusterRolesWorkerNodeAutoscaleRecurrenceScheduleArgs $;

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

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

        public Builder days(Output<List<String>> days) {
            $.days = days;
            return this;
        }

        public Builder days(List<String> days) {
            return days(Output.of(days));
        }

        public Builder days(String... days) {
            return days(List.of(days));
        }

        /**
         * @param targetInstanceCount The number of instances which should be run for the Worker Nodes.
         * 
         * @return builder
         * 
         */
        public Builder targetInstanceCount(Output<Integer> targetInstanceCount) {
            $.targetInstanceCount = targetInstanceCount;
            return this;
        }

        /**
         * @param targetInstanceCount The number of instances which should be run for the Worker Nodes.
         * 
         * @return builder
         * 
         */
        public Builder targetInstanceCount(Integer targetInstanceCount) {
            return targetInstanceCount(Output.of(targetInstanceCount));
        }

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

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

        public HBaseClusterRolesWorkerNodeAutoscaleRecurrenceScheduleArgs build() {
            $.days = Objects.requireNonNull($.days, "expected parameter 'days' to be non-null");
            $.targetInstanceCount = Objects.requireNonNull($.targetInstanceCount, "expected parameter 'targetInstanceCount' to be non-null");
            $.time = Objects.requireNonNull($.time, "expected parameter 'time' to be non-null");
            return $;
        }
    }

}
