
com.pulumi.azurenative.sql.outputs.ScheduleItemResponse 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.sql.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class ScheduleItemResponse {
/**
* @return Start day.
*
*/
private String startDay;
/**
* @return Start time.
*
*/
private String startTime;
/**
* @return Stop day.
*
*/
private String stopDay;
/**
* @return Stop time.
*
*/
private String stopTime;
private ScheduleItemResponse() {}
/**
* @return Start day.
*
*/
public String startDay() {
return this.startDay;
}
/**
* @return Start time.
*
*/
public String startTime() {
return this.startTime;
}
/**
* @return Stop day.
*
*/
public String stopDay() {
return this.stopDay;
}
/**
* @return Stop time.
*
*/
public String stopTime() {
return this.stopTime;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ScheduleItemResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String startDay;
private String startTime;
private String stopDay;
private String stopTime;
public Builder() {}
public Builder(ScheduleItemResponse defaults) {
Objects.requireNonNull(defaults);
this.startDay = defaults.startDay;
this.startTime = defaults.startTime;
this.stopDay = defaults.stopDay;
this.stopTime = defaults.stopTime;
}
@CustomType.Setter
public Builder startDay(String startDay) {
if (startDay == null) {
throw new MissingRequiredPropertyException("ScheduleItemResponse", "startDay");
}
this.startDay = startDay;
return this;
}
@CustomType.Setter
public Builder startTime(String startTime) {
if (startTime == null) {
throw new MissingRequiredPropertyException("ScheduleItemResponse", "startTime");
}
this.startTime = startTime;
return this;
}
@CustomType.Setter
public Builder stopDay(String stopDay) {
if (stopDay == null) {
throw new MissingRequiredPropertyException("ScheduleItemResponse", "stopDay");
}
this.stopDay = stopDay;
return this;
}
@CustomType.Setter
public Builder stopTime(String stopTime) {
if (stopTime == null) {
throw new MissingRequiredPropertyException("ScheduleItemResponse", "stopTime");
}
this.stopTime = stopTime;
return this;
}
public ScheduleItemResponse build() {
final var _resultValue = new ScheduleItemResponse();
_resultValue.startDay = startDay;
_resultValue.startTime = startTime;
_resultValue.stopDay = stopDay;
_resultValue.stopTime = stopTime;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy