com.pulumi.azurenative.workloads.outputs.HourlyScheduleResponse 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.workloads.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class HourlyScheduleResponse {
/**
* @return Interval at which backup needs to be triggered. For hourly the value
* can be 4/6/8/12
*
*/
private @Nullable Integer interval;
/**
* @return To specify duration of the backup window
*
*/
private @Nullable Integer scheduleWindowDuration;
/**
* @return To specify start time of the backup window
*
*/
private @Nullable String scheduleWindowStartTime;
private HourlyScheduleResponse() {}
/**
* @return Interval at which backup needs to be triggered. For hourly the value
* can be 4/6/8/12
*
*/
public Optional interval() {
return Optional.ofNullable(this.interval);
}
/**
* @return To specify duration of the backup window
*
*/
public Optional scheduleWindowDuration() {
return Optional.ofNullable(this.scheduleWindowDuration);
}
/**
* @return To specify start time of the backup window
*
*/
public Optional scheduleWindowStartTime() {
return Optional.ofNullable(this.scheduleWindowStartTime);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(HourlyScheduleResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Integer interval;
private @Nullable Integer scheduleWindowDuration;
private @Nullable String scheduleWindowStartTime;
public Builder() {}
public Builder(HourlyScheduleResponse defaults) {
Objects.requireNonNull(defaults);
this.interval = defaults.interval;
this.scheduleWindowDuration = defaults.scheduleWindowDuration;
this.scheduleWindowStartTime = defaults.scheduleWindowStartTime;
}
@CustomType.Setter
public Builder interval(@Nullable Integer interval) {
this.interval = interval;
return this;
}
@CustomType.Setter
public Builder scheduleWindowDuration(@Nullable Integer scheduleWindowDuration) {
this.scheduleWindowDuration = scheduleWindowDuration;
return this;
}
@CustomType.Setter
public Builder scheduleWindowStartTime(@Nullable String scheduleWindowStartTime) {
this.scheduleWindowStartTime = scheduleWindowStartTime;
return this;
}
public HourlyScheduleResponse build() {
final var _resultValue = new HourlyScheduleResponse();
_resultValue.interval = interval;
_resultValue.scheduleWindowDuration = scheduleWindowDuration;
_resultValue.scheduleWindowStartTime = scheduleWindowStartTime;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy