Class CfnDataSet.CustomSqlProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDataSet.CustomSqlProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSet.CustomSqlProperty>
- Enclosing interface:
CfnDataSet.CustomSqlProperty
@Stability(Stable)
public static final class CfnDataSet.CustomSqlProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSet.CustomSqlProperty>
A builder for
CfnDataSet.CustomSqlProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDataSet.CustomSqlProperty.getColumns()columns(IResolvable columns) Sets the value ofCfnDataSet.CustomSqlProperty.getColumns()dataSourceArn(String dataSourceArn) Sets the value ofCfnDataSet.CustomSqlProperty.getDataSourceArn()Sets the value ofCfnDataSet.CustomSqlProperty.getName()Sets the value ofCfnDataSet.CustomSqlProperty.getSqlQuery()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
columns
Sets the value ofCfnDataSet.CustomSqlProperty.getColumns()- Parameters:
columns- The column schema from the SQL query result set. This parameter is required.- Returns:
this
-
columns
@Stability(Stable) public CfnDataSet.CustomSqlProperty.Builder columns(List<? extends Object> columns) Sets the value ofCfnDataSet.CustomSqlProperty.getColumns()- Parameters:
columns- The column schema from the SQL query result set. This parameter is required.- Returns:
this
-
dataSourceArn
Sets the value ofCfnDataSet.CustomSqlProperty.getDataSourceArn()- Parameters:
dataSourceArn- The Amazon Resource Name (ARN) of the data source. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnDataSet.CustomSqlProperty.getName()- Parameters:
name- A display name for the SQL query result. This parameter is required.- Returns:
this
-
sqlQuery
Sets the value ofCfnDataSet.CustomSqlProperty.getSqlQuery()- Parameters:
sqlQuery- The SQL query. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSet.CustomSqlProperty>- Returns:
- a new instance of
CfnDataSet.CustomSqlProperty - Throws:
NullPointerException- if any required attribute was not provided
-