Class RefreshScheduleReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.quicksight.RefreshScheduleReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<RefreshScheduleReference>
- Enclosing interface:
RefreshScheduleReference
@Stability(Stable)
public static final class RefreshScheduleReference.Builder
extends Object
implements software.amazon.jsii.Builder<RefreshScheduleReference>
A builder for
RefreshScheduleReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionawsAccountId(String awsAccountId) Sets the value ofRefreshScheduleReference.getAwsAccountId()build()Builds the configured instance.Sets the value ofRefreshScheduleReference.getDataSetId()refreshScheduleArn(String refreshScheduleArn) Sets the value ofRefreshScheduleReference.getRefreshScheduleArn()scheduleId(String scheduleId) Sets the value ofRefreshScheduleReference.getScheduleId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsAccountId
Sets the value ofRefreshScheduleReference.getAwsAccountId()- Parameters:
awsAccountId- The AwsAccountId of the RefreshSchedule resource. This parameter is required.- Returns:
this
-
dataSetId
Sets the value ofRefreshScheduleReference.getDataSetId()- Parameters:
dataSetId- The DataSetId of the RefreshSchedule resource. This parameter is required.- Returns:
this
-
refreshScheduleArn
@Stability(Stable) public RefreshScheduleReference.Builder refreshScheduleArn(String refreshScheduleArn) Sets the value ofRefreshScheduleReference.getRefreshScheduleArn()- Parameters:
refreshScheduleArn- The ARN of the RefreshSchedule resource. This parameter is required.- Returns:
this
-
scheduleId
Sets the value ofRefreshScheduleReference.getScheduleId()- Parameters:
scheduleId- The Schedule/ScheduleId of the RefreshSchedule resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<RefreshScheduleReference>- Returns:
- a new instance of
RefreshScheduleReference - Throws:
NullPointerException- if any required attribute was not provided
-