
com.pulumi.azurenative.machinelearningservices.outputs.RecurrenceResponse 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.machinelearningservices.outputs;
import com.pulumi.azurenative.machinelearningservices.outputs.RecurrenceScheduleResponse;
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 RecurrenceResponse {
/**
* @return [Required] The frequency to trigger schedule.
*
*/
private @Nullable String frequency;
/**
* @return [Required] Specifies schedule interval in conjunction with frequency
*
*/
private @Nullable Integer interval;
/**
* @return [Required] The recurrence schedule.
*
*/
private @Nullable RecurrenceScheduleResponse schedule;
/**
* @return The start time in yyyy-MM-ddTHH:mm:ss format.
*
*/
private @Nullable String startTime;
/**
* @return Specifies time zone in which the schedule runs.
* TimeZone should follow Windows time zone format. Refer: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11
*
*/
private @Nullable String timeZone;
private RecurrenceResponse() {}
/**
* @return [Required] The frequency to trigger schedule.
*
*/
public Optional frequency() {
return Optional.ofNullable(this.frequency);
}
/**
* @return [Required] Specifies schedule interval in conjunction with frequency
*
*/
public Optional interval() {
return Optional.ofNullable(this.interval);
}
/**
* @return [Required] The recurrence schedule.
*
*/
public Optional schedule() {
return Optional.ofNullable(this.schedule);
}
/**
* @return The start time in yyyy-MM-ddTHH:mm:ss format.
*
*/
public Optional startTime() {
return Optional.ofNullable(this.startTime);
}
/**
* @return Specifies time zone in which the schedule runs.
* TimeZone should follow Windows time zone format. Refer: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11
*
*/
public Optional timeZone() {
return Optional.ofNullable(this.timeZone);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(RecurrenceResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String frequency;
private @Nullable Integer interval;
private @Nullable RecurrenceScheduleResponse schedule;
private @Nullable String startTime;
private @Nullable String timeZone;
public Builder() {}
public Builder(RecurrenceResponse defaults) {
Objects.requireNonNull(defaults);
this.frequency = defaults.frequency;
this.interval = defaults.interval;
this.schedule = defaults.schedule;
this.startTime = defaults.startTime;
this.timeZone = defaults.timeZone;
}
@CustomType.Setter
public Builder frequency(@Nullable String frequency) {
this.frequency = frequency;
return this;
}
@CustomType.Setter
public Builder interval(@Nullable Integer interval) {
this.interval = interval;
return this;
}
@CustomType.Setter
public Builder schedule(@Nullable RecurrenceScheduleResponse schedule) {
this.schedule = schedule;
return this;
}
@CustomType.Setter
public Builder startTime(@Nullable String startTime) {
this.startTime = startTime;
return this;
}
@CustomType.Setter
public Builder timeZone(@Nullable String timeZone) {
this.timeZone = timeZone;
return this;
}
public RecurrenceResponse build() {
final var _resultValue = new RecurrenceResponse();
_resultValue.frequency = frequency;
_resultValue.interval = interval;
_resultValue.schedule = schedule;
_resultValue.startTime = startTime;
_resultValue.timeZone = timeZone;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy