
com.pulumi.azurenative.automation.outputs.SUCSchedulePropertiesResponse 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.automation.outputs;
import com.pulumi.azurenative.automation.outputs.AdvancedScheduleResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.Double;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class SUCSchedulePropertiesResponse {
/**
* @return Gets or sets the advanced schedule.
*
*/
private @Nullable AdvancedScheduleResponse advancedSchedule;
/**
* @return Gets or sets the creation time.
*
*/
private @Nullable String creationTime;
/**
* @return Gets or sets the description.
*
*/
private @Nullable String description;
/**
* @return Gets or sets the end time of the schedule.
*
*/
private @Nullable String expiryTime;
/**
* @return Gets or sets the expiry time's offset in minutes.
*
*/
private @Nullable Double expiryTimeOffsetMinutes;
/**
* @return Gets or sets the frequency of the schedule.
*
*/
private @Nullable String frequency;
/**
* @return Gets or sets the interval of the schedule.
*
*/
private @Nullable Double interval;
/**
* @return Gets or sets a value indicating whether this schedule is enabled.
*
*/
private @Nullable Boolean isEnabled;
/**
* @return Gets or sets the last modified time.
*
*/
private @Nullable String lastModifiedTime;
/**
* @return Gets or sets the next run time of the schedule.
*
*/
private @Nullable String nextRun;
/**
* @return Gets or sets the next run time's offset in minutes.
*
*/
private @Nullable Double nextRunOffsetMinutes;
/**
* @return Gets or sets the start time of the schedule.
*
*/
private @Nullable String startTime;
/**
* @return Gets the start time's offset in minutes.
*
*/
private Double startTimeOffsetMinutes;
/**
* @return Gets or sets the time zone of the schedule.
*
*/
private @Nullable String timeZone;
private SUCSchedulePropertiesResponse() {}
/**
* @return Gets or sets the advanced schedule.
*
*/
public Optional advancedSchedule() {
return Optional.ofNullable(this.advancedSchedule);
}
/**
* @return Gets or sets the creation time.
*
*/
public Optional creationTime() {
return Optional.ofNullable(this.creationTime);
}
/**
* @return Gets or sets the description.
*
*/
public Optional description() {
return Optional.ofNullable(this.description);
}
/**
* @return Gets or sets the end time of the schedule.
*
*/
public Optional expiryTime() {
return Optional.ofNullable(this.expiryTime);
}
/**
* @return Gets or sets the expiry time's offset in minutes.
*
*/
public Optional expiryTimeOffsetMinutes() {
return Optional.ofNullable(this.expiryTimeOffsetMinutes);
}
/**
* @return Gets or sets the frequency of the schedule.
*
*/
public Optional frequency() {
return Optional.ofNullable(this.frequency);
}
/**
* @return Gets or sets the interval of the schedule.
*
*/
public Optional interval() {
return Optional.ofNullable(this.interval);
}
/**
* @return Gets or sets a value indicating whether this schedule is enabled.
*
*/
public Optional isEnabled() {
return Optional.ofNullable(this.isEnabled);
}
/**
* @return Gets or sets the last modified time.
*
*/
public Optional lastModifiedTime() {
return Optional.ofNullable(this.lastModifiedTime);
}
/**
* @return Gets or sets the next run time of the schedule.
*
*/
public Optional nextRun() {
return Optional.ofNullable(this.nextRun);
}
/**
* @return Gets or sets the next run time's offset in minutes.
*
*/
public Optional nextRunOffsetMinutes() {
return Optional.ofNullable(this.nextRunOffsetMinutes);
}
/**
* @return Gets or sets the start time of the schedule.
*
*/
public Optional startTime() {
return Optional.ofNullable(this.startTime);
}
/**
* @return Gets the start time's offset in minutes.
*
*/
public Double startTimeOffsetMinutes() {
return this.startTimeOffsetMinutes;
}
/**
* @return Gets or sets the time zone of the schedule.
*
*/
public Optional timeZone() {
return Optional.ofNullable(this.timeZone);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SUCSchedulePropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable AdvancedScheduleResponse advancedSchedule;
private @Nullable String creationTime;
private @Nullable String description;
private @Nullable String expiryTime;
private @Nullable Double expiryTimeOffsetMinutes;
private @Nullable String frequency;
private @Nullable Double interval;
private @Nullable Boolean isEnabled;
private @Nullable String lastModifiedTime;
private @Nullable String nextRun;
private @Nullable Double nextRunOffsetMinutes;
private @Nullable String startTime;
private Double startTimeOffsetMinutes;
private @Nullable String timeZone;
public Builder() {}
public Builder(SUCSchedulePropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.advancedSchedule = defaults.advancedSchedule;
this.creationTime = defaults.creationTime;
this.description = defaults.description;
this.expiryTime = defaults.expiryTime;
this.expiryTimeOffsetMinutes = defaults.expiryTimeOffsetMinutes;
this.frequency = defaults.frequency;
this.interval = defaults.interval;
this.isEnabled = defaults.isEnabled;
this.lastModifiedTime = defaults.lastModifiedTime;
this.nextRun = defaults.nextRun;
this.nextRunOffsetMinutes = defaults.nextRunOffsetMinutes;
this.startTime = defaults.startTime;
this.startTimeOffsetMinutes = defaults.startTimeOffsetMinutes;
this.timeZone = defaults.timeZone;
}
@CustomType.Setter
public Builder advancedSchedule(@Nullable AdvancedScheduleResponse advancedSchedule) {
this.advancedSchedule = advancedSchedule;
return this;
}
@CustomType.Setter
public Builder creationTime(@Nullable String creationTime) {
this.creationTime = creationTime;
return this;
}
@CustomType.Setter
public Builder description(@Nullable String description) {
this.description = description;
return this;
}
@CustomType.Setter
public Builder expiryTime(@Nullable String expiryTime) {
this.expiryTime = expiryTime;
return this;
}
@CustomType.Setter
public Builder expiryTimeOffsetMinutes(@Nullable Double expiryTimeOffsetMinutes) {
this.expiryTimeOffsetMinutes = expiryTimeOffsetMinutes;
return this;
}
@CustomType.Setter
public Builder frequency(@Nullable String frequency) {
this.frequency = frequency;
return this;
}
@CustomType.Setter
public Builder interval(@Nullable Double interval) {
this.interval = interval;
return this;
}
@CustomType.Setter
public Builder isEnabled(@Nullable Boolean isEnabled) {
this.isEnabled = isEnabled;
return this;
}
@CustomType.Setter
public Builder lastModifiedTime(@Nullable String lastModifiedTime) {
this.lastModifiedTime = lastModifiedTime;
return this;
}
@CustomType.Setter
public Builder nextRun(@Nullable String nextRun) {
this.nextRun = nextRun;
return this;
}
@CustomType.Setter
public Builder nextRunOffsetMinutes(@Nullable Double nextRunOffsetMinutes) {
this.nextRunOffsetMinutes = nextRunOffsetMinutes;
return this;
}
@CustomType.Setter
public Builder startTime(@Nullable String startTime) {
this.startTime = startTime;
return this;
}
@CustomType.Setter
public Builder startTimeOffsetMinutes(Double startTimeOffsetMinutes) {
if (startTimeOffsetMinutes == null) {
throw new MissingRequiredPropertyException("SUCSchedulePropertiesResponse", "startTimeOffsetMinutes");
}
this.startTimeOffsetMinutes = startTimeOffsetMinutes;
return this;
}
@CustomType.Setter
public Builder timeZone(@Nullable String timeZone) {
this.timeZone = timeZone;
return this;
}
public SUCSchedulePropertiesResponse build() {
final var _resultValue = new SUCSchedulePropertiesResponse();
_resultValue.advancedSchedule = advancedSchedule;
_resultValue.creationTime = creationTime;
_resultValue.description = description;
_resultValue.expiryTime = expiryTime;
_resultValue.expiryTimeOffsetMinutes = expiryTimeOffsetMinutes;
_resultValue.frequency = frequency;
_resultValue.interval = interval;
_resultValue.isEnabled = isEnabled;
_resultValue.lastModifiedTime = lastModifiedTime;
_resultValue.nextRun = nextRun;
_resultValue.nextRunOffsetMinutes = nextRunOffsetMinutes;
_resultValue.startTime = startTime;
_resultValue.startTimeOffsetMinutes = startTimeOffsetMinutes;
_resultValue.timeZone = timeZone;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy