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

com.pulumi.azurenative.desktopvirtualization.outputs.TimeResponse Maven / Gradle / Ivy

// *** 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.azurenative.desktopvirtualization.outputs;

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

@CustomType
public final class TimeResponse {
    /**
     * @return The hour.
     * 
     */
    private Integer hour;
    /**
     * @return The minute.
     * 
     */
    private Integer minute;

    private TimeResponse() {}
    /**
     * @return The hour.
     * 
     */
    public Integer hour() {
        return this.hour;
    }
    /**
     * @return The minute.
     * 
     */
    public Integer minute() {
        return this.minute;
    }

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

    public static Builder builder(TimeResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Integer hour;
        private Integer minute;
        public Builder() {}
        public Builder(TimeResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.hour = defaults.hour;
    	      this.minute = defaults.minute;
        }

        @CustomType.Setter
        public Builder hour(Integer hour) {
            if (hour == null) {
              throw new MissingRequiredPropertyException("TimeResponse", "hour");
            }
            this.hour = hour;
            return this;
        }
        @CustomType.Setter
        public Builder minute(Integer minute) {
            if (minute == null) {
              throw new MissingRequiredPropertyException("TimeResponse", "minute");
            }
            this.minute = minute;
            return this;
        }
        public TimeResponse build() {
            final var _resultValue = new TimeResponse();
            _resultValue.hour = hour;
            _resultValue.minute = minute;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy