// *** 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.aws.mq.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;


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

    public static final BrokerMaintenanceWindowStartTimeArgs Empty = new BrokerMaintenanceWindowStartTimeArgs();

    /**
     * Day of the week, e.g., `MONDAY`, `TUESDAY`, or `WEDNESDAY`.
     * 
     */
    @Import(name="dayOfWeek", required=true)
    private Output<String> dayOfWeek;

    /**
     * @return Day of the week, e.g., `MONDAY`, `TUESDAY`, or `WEDNESDAY`.
     * 
     */
    public Output<String> dayOfWeek() {
        return this.dayOfWeek;
    }

    /**
     * Time, in 24-hour format, e.g., `02:00`.
     * 
     */
    @Import(name="timeOfDay", required=true)
    private Output<String> timeOfDay;

    /**
     * @return Time, in 24-hour format, e.g., `02:00`.
     * 
     */
    public Output<String> timeOfDay() {
        return this.timeOfDay;
    }

    /**
     * Time zone in either the Country/City format or the UTC offset format, e.g., `CET`.
     * 
     */
    @Import(name="timeZone", required=true)
    private Output<String> timeZone;

    /**
     * @return Time zone in either the Country/City format or the UTC offset format, e.g., `CET`.
     * 
     */
    public Output<String> timeZone() {
        return this.timeZone;
    }

    private BrokerMaintenanceWindowStartTimeArgs() {}

    private BrokerMaintenanceWindowStartTimeArgs(BrokerMaintenanceWindowStartTimeArgs $) {
        this.dayOfWeek = $.dayOfWeek;
        this.timeOfDay = $.timeOfDay;
        this.timeZone = $.timeZone;
    }

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

    public static final class Builder {
        private BrokerMaintenanceWindowStartTimeArgs $;

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

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

        /**
         * @param dayOfWeek Day of the week, e.g., `MONDAY`, `TUESDAY`, or `WEDNESDAY`.
         * 
         * @return builder
         * 
         */
        public Builder dayOfWeek(Output<String> dayOfWeek) {
            $.dayOfWeek = dayOfWeek;
            return this;
        }

        /**
         * @param dayOfWeek Day of the week, e.g., `MONDAY`, `TUESDAY`, or `WEDNESDAY`.
         * 
         * @return builder
         * 
         */
        public Builder dayOfWeek(String dayOfWeek) {
            return dayOfWeek(Output.of(dayOfWeek));
        }

        /**
         * @param timeOfDay Time, in 24-hour format, e.g., `02:00`.
         * 
         * @return builder
         * 
         */
        public Builder timeOfDay(Output<String> timeOfDay) {
            $.timeOfDay = timeOfDay;
            return this;
        }

        /**
         * @param timeOfDay Time, in 24-hour format, e.g., `02:00`.
         * 
         * @return builder
         * 
         */
        public Builder timeOfDay(String timeOfDay) {
            return timeOfDay(Output.of(timeOfDay));
        }

        /**
         * @param timeZone Time zone in either the Country/City format or the UTC offset format, e.g., `CET`.
         * 
         * @return builder
         * 
         */
        public Builder timeZone(Output<String> timeZone) {
            $.timeZone = timeZone;
            return this;
        }

        /**
         * @param timeZone Time zone in either the Country/City format or the UTC offset format, e.g., `CET`.
         * 
         * @return builder
         * 
         */
        public Builder timeZone(String timeZone) {
            return timeZone(Output.of(timeZone));
        }

        public BrokerMaintenanceWindowStartTimeArgs build() {
            $.dayOfWeek = Objects.requireNonNull($.dayOfWeek, "expected parameter 'dayOfWeek' to be non-null");
            $.timeOfDay = Objects.requireNonNull($.timeOfDay, "expected parameter 'timeOfDay' to be non-null");
            $.timeZone = Objects.requireNonNull($.timeZone, "expected parameter 'timeZone' to be non-null");
            return $;
        }
    }

}
