
com.pulumi.azurenative.sql.outputs.JobScheduleResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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 java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class JobScheduleResponse {
/**
* @return Whether or not the schedule is enabled.
*
*/
private @Nullable Boolean enabled;
/**
* @return Schedule end time.
*
*/
private @Nullable String endTime;
/**
* @return Value of the schedule's recurring interval, if the ScheduleType is recurring. ISO8601 duration format.
*
*/
private @Nullable String interval;
/**
* @return Schedule start time.
*
*/
private @Nullable String startTime;
/**
* @return Schedule interval type
*
*/
private @Nullable String type;
private JobScheduleResponse() {}
/**
* @return Whether or not the schedule is enabled.
*
*/
public Optional enabled() {
return Optional.ofNullable(this.enabled);
}
/**
* @return Schedule end time.
*
*/
public Optional endTime() {
return Optional.ofNullable(this.endTime);
}
/**
* @return Value of the schedule's recurring interval, if the ScheduleType is recurring. ISO8601 duration format.
*
*/
public Optional interval() {
return Optional.ofNullable(this.interval);
}
/**
* @return Schedule start time.
*
*/
public Optional startTime() {
return Optional.ofNullable(this.startTime);
}
/**
* @return Schedule interval type
*
*/
public Optional type() {
return Optional.ofNullable(this.type);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(JobScheduleResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Boolean enabled;
private @Nullable String endTime;
private @Nullable String interval;
private @Nullable String startTime;
private @Nullable String type;
public Builder() {}
public Builder(JobScheduleResponse defaults) {
Objects.requireNonNull(defaults);
this.enabled = defaults.enabled;
this.endTime = defaults.endTime;
this.interval = defaults.interval;
this.startTime = defaults.startTime;
this.type = defaults.type;
}
@CustomType.Setter
public Builder enabled(@Nullable Boolean enabled) {
this.enabled = enabled;
return this;
}
@CustomType.Setter
public Builder endTime(@Nullable String endTime) {
this.endTime = endTime;
return this;
}
@CustomType.Setter
public Builder interval(@Nullable String interval) {
this.interval = interval;
return this;
}
@CustomType.Setter
public Builder startTime(@Nullable String startTime) {
this.startTime = startTime;
return this;
}
@CustomType.Setter
public Builder type(@Nullable String type) {
this.type = type;
return this;
}
public JobScheduleResponse build() {
final var _resultValue = new JobScheduleResponse();
_resultValue.enabled = enabled;
_resultValue.endTime = endTime;
_resultValue.interval = interval;
_resultValue.startTime = startTime;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy