Class CfnRefreshSchedule.ScheduleFrequencyProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnRefreshSchedule.ScheduleFrequencyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRefreshSchedule.ScheduleFrequencyProperty>
- Enclosing interface:
CfnRefreshSchedule.ScheduleFrequencyProperty
@Stability(Stable)
public static final class CfnRefreshSchedule.ScheduleFrequencyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRefreshSchedule.ScheduleFrequencyProperty>
A builder for
CfnRefreshSchedule.ScheduleFrequencyProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnRefreshSchedule.ScheduleFrequencyProperty.getInterval()refreshOnDay(IResolvable refreshOnDay) Sets the value ofCfnRefreshSchedule.ScheduleFrequencyProperty.getRefreshOnDay()refreshOnDay(CfnRefreshSchedule.RefreshOnDayProperty refreshOnDay) Sets the value ofCfnRefreshSchedule.ScheduleFrequencyProperty.getRefreshOnDay()timeOfTheDay(String timeOfTheDay) Sets the value ofCfnRefreshSchedule.ScheduleFrequencyProperty.getTimeOfTheDay()Sets the value ofCfnRefreshSchedule.ScheduleFrequencyProperty.getTimeZone()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
interval
@Stability(Stable) public CfnRefreshSchedule.ScheduleFrequencyProperty.Builder interval(String interval) Sets the value ofCfnRefreshSchedule.ScheduleFrequencyProperty.getInterval()- Parameters:
interval- The interval between scheduled refreshes. Valid values are as follows:.MINUTE15: The dataset refreshes every 15 minutes. This value is only supported for incremental refreshes. This interval can only be used for one schedule per dataset.MINUTE30: The dataset refreshes every 30 minutes. This value is only supported for incremental refreshes. This interval can only be used for one schedule per dataset.HOURLY: The dataset refreshes every hour. This interval can only be used for one schedule per dataset.DAILY: The dataset refreshes every day.WEEKLY: The dataset refreshes every week.MONTHLY: The dataset refreshes every month.
- Returns:
this
-
refreshOnDay
@Stability(Stable) public CfnRefreshSchedule.ScheduleFrequencyProperty.Builder refreshOnDay(IResolvable refreshOnDay) Sets the value ofCfnRefreshSchedule.ScheduleFrequencyProperty.getRefreshOnDay()- Parameters:
refreshOnDay- The day of the week that you want to schedule the refresh on. This value is required for weekly and monthly refresh intervals.- Returns:
this
-
refreshOnDay
@Stability(Stable) public CfnRefreshSchedule.ScheduleFrequencyProperty.Builder refreshOnDay(CfnRefreshSchedule.RefreshOnDayProperty refreshOnDay) Sets the value ofCfnRefreshSchedule.ScheduleFrequencyProperty.getRefreshOnDay()- Parameters:
refreshOnDay- The day of the week that you want to schedule the refresh on. This value is required for weekly and monthly refresh intervals.- Returns:
this
-
timeOfTheDay
@Stability(Stable) public CfnRefreshSchedule.ScheduleFrequencyProperty.Builder timeOfTheDay(String timeOfTheDay) Sets the value ofCfnRefreshSchedule.ScheduleFrequencyProperty.getTimeOfTheDay()- Parameters:
timeOfTheDay- 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.- Returns:
this
-
timeZone
@Stability(Stable) public CfnRefreshSchedule.ScheduleFrequencyProperty.Builder timeZone(String timeZone) Sets the value ofCfnRefreshSchedule.ScheduleFrequencyProperty.getTimeZone()- Parameters:
timeZone- The timezone that you want the refresh schedule to use. The timezone ID must match a corresponding ID found onjava.util.time.getAvailableIDs().- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRefreshSchedule.ScheduleFrequencyProperty>- Returns:
- a new instance of
CfnRefreshSchedule.ScheduleFrequencyProperty - Throws:
NullPointerException- if any required attribute was not provided
-