Class CfnRefreshSchedule.RefreshOnDayProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnRefreshSchedule.RefreshOnDayProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRefreshSchedule.RefreshOnDayProperty>
- Enclosing interface:
CfnRefreshSchedule.RefreshOnDayProperty
@Stability(Stable)
public static final class CfnRefreshSchedule.RefreshOnDayProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRefreshSchedule.RefreshOnDayProperty>
A builder for
CfnRefreshSchedule.RefreshOnDayProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.dayOfMonth
(String dayOfMonth) Sets the value ofCfnRefreshSchedule.RefreshOnDayProperty.getDayOfMonth()
Sets the value ofCfnRefreshSchedule.RefreshOnDayProperty.getDayOfWeek()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dayOfMonth
@Stability(Stable) public CfnRefreshSchedule.RefreshOnDayProperty.Builder dayOfMonth(String dayOfMonth) Sets the value ofCfnRefreshSchedule.RefreshOnDayProperty.getDayOfMonth()
- Parameters:
dayOfMonth
- The day of the month that you want your dataset to refresh. This value is required for monthly refresh intervals.- Returns:
this
-
dayOfWeek
@Stability(Stable) public CfnRefreshSchedule.RefreshOnDayProperty.Builder dayOfWeek(String dayOfWeek) Sets the value ofCfnRefreshSchedule.RefreshOnDayProperty.getDayOfWeek()
- Parameters:
dayOfWeek
- 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
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnRefreshSchedule.RefreshOnDayProperty>
- Returns:
- a new instance of
CfnRefreshSchedule.RefreshOnDayProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-