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