com.pulumi.aws.quicksight.outputs.RefreshScheduleScheduleScheduleFrequency Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
The newest version!
// *** 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.aws.quicksight.outputs;
import com.pulumi.aws.quicksight.outputs.RefreshScheduleScheduleScheduleFrequencyRefreshOnDay;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class RefreshScheduleScheduleScheduleFrequency {
/**
* @return The interval between scheduled refreshes. Valid values are `MINUTE15`, `MINUTE30`, `HOURLY`, `DAILY`, `WEEKLY` and `MONTHLY`.
*
*/
private String interval;
/**
* @return The [refresh on entity](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_ScheduleRefreshOnEntity.html) configuration for weekly or monthly schedules. See refresh_on_day.
*
*/
private @Nullable RefreshScheduleScheduleScheduleFrequencyRefreshOnDay refreshOnDay;
/**
* @return The time of day that you want the dataset to refresh. This value is expressed in `HH:MM` format. This field is not required for schedules that refresh hourly.
*
*/
private @Nullable String timeOfTheDay;
/**
* @return The timezone that you want the refresh schedule to use.
*
*/
private @Nullable String timezone;
private RefreshScheduleScheduleScheduleFrequency() {}
/**
* @return The interval between scheduled refreshes. Valid values are `MINUTE15`, `MINUTE30`, `HOURLY`, `DAILY`, `WEEKLY` and `MONTHLY`.
*
*/
public String interval() {
return this.interval;
}
/**
* @return The [refresh on entity](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_ScheduleRefreshOnEntity.html) configuration for weekly or monthly schedules. See refresh_on_day.
*
*/
public Optional refreshOnDay() {
return Optional.ofNullable(this.refreshOnDay);
}
/**
* @return The time of day that you want the dataset to refresh. This value is expressed in `HH:MM` format. This field is not required for schedules that refresh hourly.
*
*/
public Optional timeOfTheDay() {
return Optional.ofNullable(this.timeOfTheDay);
}
/**
* @return The timezone that you want the refresh schedule to use.
*
*/
public Optional timezone() {
return Optional.ofNullable(this.timezone);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(RefreshScheduleScheduleScheduleFrequency defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String interval;
private @Nullable RefreshScheduleScheduleScheduleFrequencyRefreshOnDay refreshOnDay;
private @Nullable String timeOfTheDay;
private @Nullable String timezone;
public Builder() {}
public Builder(RefreshScheduleScheduleScheduleFrequency defaults) {
Objects.requireNonNull(defaults);
this.interval = defaults.interval;
this.refreshOnDay = defaults.refreshOnDay;
this.timeOfTheDay = defaults.timeOfTheDay;
this.timezone = defaults.timezone;
}
@CustomType.Setter
public Builder interval(String interval) {
if (interval == null) {
throw new MissingRequiredPropertyException("RefreshScheduleScheduleScheduleFrequency", "interval");
}
this.interval = interval;
return this;
}
@CustomType.Setter
public Builder refreshOnDay(@Nullable RefreshScheduleScheduleScheduleFrequencyRefreshOnDay refreshOnDay) {
this.refreshOnDay = refreshOnDay;
return this;
}
@CustomType.Setter
public Builder timeOfTheDay(@Nullable String timeOfTheDay) {
this.timeOfTheDay = timeOfTheDay;
return this;
}
@CustomType.Setter
public Builder timezone(@Nullable String timezone) {
this.timezone = timezone;
return this;
}
public RefreshScheduleScheduleScheduleFrequency build() {
final var _resultValue = new RefreshScheduleScheduleScheduleFrequency();
_resultValue.interval = interval;
_resultValue.refreshOnDay = refreshOnDay;
_resultValue.timeOfTheDay = timeOfTheDay;
_resultValue.timezone = timezone;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy