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

com.pulumi.aws.connect.inputs.HoursOfOperationConfigStartTimeArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
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.aws.connect.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 HoursOfOperationConfigStartTimeArgs extends com.pulumi.resources.ResourceArgs {

    public static final HoursOfOperationConfigStartTimeArgs Empty = new HoursOfOperationConfigStartTimeArgs();

    /**
     * Specifies the hour of opening.
     * 
     */
    @Import(name="hours", required=true)
    private Output hours;

    /**
     * @return Specifies the hour of opening.
     * 
     */
    public Output hours() {
        return this.hours;
    }

    /**
     * Specifies the minute of opening.
     * 
     */
    @Import(name="minutes", required=true)
    private Output minutes;

    /**
     * @return Specifies the minute of opening.
     * 
     */
    public Output minutes() {
        return this.minutes;
    }

    private HoursOfOperationConfigStartTimeArgs() {}

    private HoursOfOperationConfigStartTimeArgs(HoursOfOperationConfigStartTimeArgs $) {
        this.hours = $.hours;
        this.minutes = $.minutes;
    }

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

    public static final class Builder {
        private HoursOfOperationConfigStartTimeArgs $;

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

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

        /**
         * @param hours Specifies the hour of opening.
         * 
         * @return builder
         * 
         */
        public Builder hours(Output hours) {
            $.hours = hours;
            return this;
        }

        /**
         * @param hours Specifies the hour of opening.
         * 
         * @return builder
         * 
         */
        public Builder hours(Integer hours) {
            return hours(Output.of(hours));
        }

        /**
         * @param minutes Specifies the minute of opening.
         * 
         * @return builder
         * 
         */
        public Builder minutes(Output minutes) {
            $.minutes = minutes;
            return this;
        }

        /**
         * @param minutes Specifies the minute of opening.
         * 
         * @return builder
         * 
         */
        public Builder minutes(Integer minutes) {
            return minutes(Output.of(minutes));
        }

        public HoursOfOperationConfigStartTimeArgs build() {
            if ($.hours == null) {
                throw new MissingRequiredPropertyException("HoursOfOperationConfigStartTimeArgs", "hours");
            }
            if ($.minutes == null) {
                throw new MissingRequiredPropertyException("HoursOfOperationConfigStartTimeArgs", "minutes");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy