com.pulumi.azurenative.logic.outputs.WorkflowTriggerRecurrenceResponse 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.logic.outputs;
import com.pulumi.azurenative.logic.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 WorkflowTriggerRecurrenceResponse {
/**
* @return The end time.
*
*/
private @Nullable String endTime;
/**
* @return The frequency.
*
*/
private @Nullable String frequency;
/**
* @return The interval.
*
*/
private @Nullable Integer interval;
/**
* @return The recurrence schedule.
*
*/
private @Nullable RecurrenceScheduleResponse schedule;
/**
* @return The start time.
*
*/
private @Nullable String startTime;
/**
* @return The time zone.
*
*/
private @Nullable String timeZone;
private WorkflowTriggerRecurrenceResponse() {}
/**
* @return The end time.
*
*/
public Optional endTime() {
return Optional.ofNullable(this.endTime);
}
/**
* @return The frequency.
*
*/
public Optional frequency() {
return Optional.ofNullable(this.frequency);
}
/**
* @return The interval.
*
*/
public Optional interval() {
return Optional.ofNullable(this.interval);
}
/**
* @return The recurrence schedule.
*
*/
public Optional schedule() {
return Optional.ofNullable(this.schedule);
}
/**
* @return The start time.
*
*/
public Optional startTime() {
return Optional.ofNullable(this.startTime);
}
/**
* @return The time zone.
*
*/
public Optional timeZone() {
return Optional.ofNullable(this.timeZone);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(WorkflowTriggerRecurrenceResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String endTime;
private @Nullable String frequency;
private @Nullable Integer interval;
private @Nullable RecurrenceScheduleResponse schedule;
private @Nullable String startTime;
private @Nullable String timeZone;
public Builder() {}
public Builder(WorkflowTriggerRecurrenceResponse defaults) {
Objects.requireNonNull(defaults);
this.endTime = defaults.endTime;
this.frequency = defaults.frequency;
this.interval = defaults.interval;
this.schedule = defaults.schedule;
this.startTime = defaults.startTime;
this.timeZone = defaults.timeZone;
}
@CustomType.Setter
public Builder endTime(@Nullable String endTime) {
this.endTime = endTime;
return this;
}
@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 WorkflowTriggerRecurrenceResponse build() {
final var _resultValue = new WorkflowTriggerRecurrenceResponse();
_resultValue.endTime = endTime;
_resultValue.frequency = frequency;
_resultValue.interval = interval;
_resultValue.schedule = schedule;
_resultValue.startTime = startTime;
_resultValue.timeZone = timeZone;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy