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

com.pulumi.azurenative.solutions.outputs.JitSchedulingPolicyResponse Maven / Gradle / Ivy

There is a newer version: 2.72.0
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.azurenative.solutions.outputs;

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

@CustomType
public final class JitSchedulingPolicyResponse {
    private String duration;
    /**
     * @return The start time of the request.
     * 
     */
    private String startTime;
    /**
     * @return The type of JIT schedule.
     * 
     */
    private String type;

    private JitSchedulingPolicyResponse() {}
    public String duration() {
        return this.duration;
    }
    /**
     * @return The start time of the request.
     * 
     */
    public String startTime() {
        return this.startTime;
    }
    /**
     * @return The type of JIT schedule.
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(JitSchedulingPolicyResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String duration;
        private String startTime;
        private String type;
        public Builder() {}
        public Builder(JitSchedulingPolicyResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.duration = defaults.duration;
    	      this.startTime = defaults.startTime;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder duration(String duration) {
            if (duration == null) {
              throw new MissingRequiredPropertyException("JitSchedulingPolicyResponse", "duration");
            }
            this.duration = duration;
            return this;
        }
        @CustomType.Setter
        public Builder startTime(String startTime) {
            if (startTime == null) {
              throw new MissingRequiredPropertyException("JitSchedulingPolicyResponse", "startTime");
            }
            this.startTime = startTime;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("JitSchedulingPolicyResponse", "type");
            }
            this.type = type;
            return this;
        }
        public JitSchedulingPolicyResponse build() {
            final var _resultValue = new JitSchedulingPolicyResponse();
            _resultValue.duration = duration;
            _resultValue.startTime = startTime;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy