Class CfnRefreshSchedule.RefreshScheduleMapProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnRefreshSchedule.RefreshScheduleMapProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRefreshSchedule.RefreshScheduleMapProperty>
- Enclosing interface:
- CfnRefreshSchedule.RefreshScheduleMapProperty
@Stability(Stable)
public static final class CfnRefreshSchedule.RefreshScheduleMapProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRefreshSchedule.RefreshScheduleMapProperty>
A builder for
CfnRefreshSchedule.RefreshScheduleMapProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.refreshType(String refreshType) Sets the value ofCfnRefreshSchedule.RefreshScheduleMapProperty.getRefreshType()scheduleFrequency(IResolvable scheduleFrequency) Sets the value ofCfnRefreshSchedule.RefreshScheduleMapProperty.getScheduleFrequency()scheduleFrequency(CfnRefreshSchedule.ScheduleFrequencyProperty scheduleFrequency) Sets the value ofCfnRefreshSchedule.RefreshScheduleMapProperty.getScheduleFrequency()scheduleId(String scheduleId) Sets the value ofCfnRefreshSchedule.RefreshScheduleMapProperty.getScheduleId()startAfterDateTime(String startAfterDateTime) Sets the value ofCfnRefreshSchedule.RefreshScheduleMapProperty.getStartAfterDateTime()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
refreshType
@Stability(Stable) public CfnRefreshSchedule.RefreshScheduleMapProperty.Builder refreshType(String refreshType) Sets the value ofCfnRefreshSchedule.RefreshScheduleMapProperty.getRefreshType()- Parameters:
refreshType- The type of refresh that a dataset undergoes. Valid values are as follows:.FULL_REFRESH: A complete refresh of a dataset.INCREMENTAL_REFRESH: A partial refresh of some rows of a dataset, based on the time window specified.
For more information on full and incremental refreshes, see Refreshing SPICE data in the Amazon QuickSight User Guide .
- Returns:
this
-
scheduleFrequency
@Stability(Stable) public CfnRefreshSchedule.RefreshScheduleMapProperty.Builder scheduleFrequency(IResolvable scheduleFrequency) Sets the value ofCfnRefreshSchedule.RefreshScheduleMapProperty.getScheduleFrequency()- Parameters:
scheduleFrequency- The frequency for the refresh schedule.- Returns:
this
-
scheduleFrequency
@Stability(Stable) public CfnRefreshSchedule.RefreshScheduleMapProperty.Builder scheduleFrequency(CfnRefreshSchedule.ScheduleFrequencyProperty scheduleFrequency) Sets the value ofCfnRefreshSchedule.RefreshScheduleMapProperty.getScheduleFrequency()- Parameters:
scheduleFrequency- The frequency for the refresh schedule.- Returns:
this
-
scheduleId
@Stability(Stable) public CfnRefreshSchedule.RefreshScheduleMapProperty.Builder scheduleId(String scheduleId) Sets the value ofCfnRefreshSchedule.RefreshScheduleMapProperty.getScheduleId()- Parameters:
scheduleId- An identifier for the refresh schedule.- Returns:
this
-
startAfterDateTime
@Stability(Stable) public CfnRefreshSchedule.RefreshScheduleMapProperty.Builder startAfterDateTime(String startAfterDateTime) Sets the value ofCfnRefreshSchedule.RefreshScheduleMapProperty.getStartAfterDateTime()- Parameters:
startAfterDateTime- Time after which the refresh schedule can be started, expressed inYYYY-MM-DDTHH:MM:SSformat.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRefreshSchedule.RefreshScheduleMapProperty>- Returns:
- a new instance of
CfnRefreshSchedule.RefreshScheduleMapProperty - Throws:
NullPointerException- if any required attribute was not provided
-