
com.pulumi.azurenative.machinelearningservices.outputs.CronResponse 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.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class CronResponse {
/**
* @return [Required] Specifies cron expression of schedule.
* The expression should follow NCronTab format.
*
*/
private @Nullable String expression;
/**
* @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 CronResponse() {}
/**
* @return [Required] Specifies cron expression of schedule.
* The expression should follow NCronTab format.
*
*/
public Optional expression() {
return Optional.ofNullable(this.expression);
}
/**
* @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(CronResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String expression;
private @Nullable String startTime;
private @Nullable String timeZone;
public Builder() {}
public Builder(CronResponse defaults) {
Objects.requireNonNull(defaults);
this.expression = defaults.expression;
this.startTime = defaults.startTime;
this.timeZone = defaults.timeZone;
}
@CustomType.Setter
public Builder expression(@Nullable String expression) {
this.expression = expression;
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 CronResponse build() {
final var _resultValue = new CronResponse();
_resultValue.expression = expression;
_resultValue.startTime = startTime;
_resultValue.timeZone = timeZone;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy