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