Class DashboardReference.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.DashboardReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DashboardReference>
- Enclosing interface:
DashboardReference
@Stability(Stable)
public static final class DashboardReference.Builder
extends Object
implements software.amazon.jsii.Builder<DashboardReference>
A builder for
DashboardReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionawsAccountId(String awsAccountId) Sets the value ofDashboardReference.getAwsAccountId()build()Builds the configured instance.dashboardArn(String dashboardArn) Sets the value ofDashboardReference.getDashboardArn()dashboardId(String dashboardId) Sets the value ofDashboardReference.getDashboardId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsAccountId
Sets the value ofDashboardReference.getAwsAccountId()- Parameters:
awsAccountId- The AwsAccountId of the Dashboard resource. This parameter is required.- Returns:
this
-
dashboardArn
Sets the value ofDashboardReference.getDashboardArn()- Parameters:
dashboardArn- The ARN of the Dashboard resource. This parameter is required.- Returns:
this
-
dashboardId
Sets the value ofDashboardReference.getDashboardId()- Parameters:
dashboardId- The DashboardId of the Dashboard resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DashboardReference>- Returns:
- a new instance of
DashboardReference - Throws:
NullPointerException- if any required attribute was not provided
-