Class CfnRefreshScheduleProps.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnRefreshScheduleProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRefreshScheduleProps>
- Enclosing interface:
- CfnRefreshScheduleProps
@Stability(Stable)
public static final class CfnRefreshScheduleProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRefreshScheduleProps>
A builder for
CfnRefreshScheduleProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionawsAccountId(String awsAccountId) Sets the value ofCfnRefreshScheduleProps.getAwsAccountId()build()Builds the configured instance.Sets the value ofCfnRefreshScheduleProps.getDataSetId()schedule(IResolvable schedule) Sets the value ofCfnRefreshScheduleProps.getSchedule()Sets the value ofCfnRefreshScheduleProps.getSchedule()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsAccountId
Sets the value ofCfnRefreshScheduleProps.getAwsAccountId()- Parameters:
awsAccountId- The AWS account ID of the account that you are creating a schedule in.- Returns:
this
-
dataSetId
Sets the value ofCfnRefreshScheduleProps.getDataSetId()- Parameters:
dataSetId- The ID of the dataset that you are creating a refresh schedule for.- Returns:
this
-
schedule
Sets the value ofCfnRefreshScheduleProps.getSchedule()- Parameters:
schedule- The refresh schedule of a dataset.- Returns:
this
-
schedule
@Stability(Stable) public CfnRefreshScheduleProps.Builder schedule(CfnRefreshSchedule.RefreshScheduleMapProperty schedule) Sets the value ofCfnRefreshScheduleProps.getSchedule()- Parameters:
schedule- The refresh schedule of a dataset.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRefreshScheduleProps>- Returns:
- a new instance of
CfnRefreshScheduleProps - Throws:
NullPointerException- if any required attribute was not provided
-