
com.pulumi.aws.quicksight.outputs.RefreshScheduleScheduleScheduleFrequencyRefreshOnDay Maven / Gradle / Ivy
// *** 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.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class RefreshScheduleScheduleScheduleFrequencyRefreshOnDay {
/**
* @return The day of the month that you want to schedule refresh on.
*
*/
private @Nullable String dayOfMonth;
/**
* @return The day of the week that you want to schedule a refresh on. Valid values are `SUNDAY`, `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY` and `SATURDAY`.
*
*/
private @Nullable String dayOfWeek;
private RefreshScheduleScheduleScheduleFrequencyRefreshOnDay() {}
/**
* @return The day of the month that you want to schedule refresh on.
*
*/
public Optional dayOfMonth() {
return Optional.ofNullable(this.dayOfMonth);
}
/**
* @return The day of the week that you want to schedule a refresh on. Valid values are `SUNDAY`, `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY` and `SATURDAY`.
*
*/
public Optional dayOfWeek() {
return Optional.ofNullable(this.dayOfWeek);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(RefreshScheduleScheduleScheduleFrequencyRefreshOnDay defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String dayOfMonth;
private @Nullable String dayOfWeek;
public Builder() {}
public Builder(RefreshScheduleScheduleScheduleFrequencyRefreshOnDay defaults) {
Objects.requireNonNull(defaults);
this.dayOfMonth = defaults.dayOfMonth;
this.dayOfWeek = defaults.dayOfWeek;
}
@CustomType.Setter
public Builder dayOfMonth(@Nullable String dayOfMonth) {
this.dayOfMonth = dayOfMonth;
return this;
}
@CustomType.Setter
public Builder dayOfWeek(@Nullable String dayOfWeek) {
this.dayOfWeek = dayOfWeek;
return this;
}
public RefreshScheduleScheduleScheduleFrequencyRefreshOnDay build() {
final var _resultValue = new RefreshScheduleScheduleScheduleFrequencyRefreshOnDay();
_resultValue.dayOfMonth = dayOfMonth;
_resultValue.dayOfWeek = dayOfWeek;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy