Class CfnDataSet.PhysicalTableProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDataSet.PhysicalTableProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSet.PhysicalTableProperty>
- Enclosing interface:
CfnDataSet.PhysicalTableProperty
@Stability(Stable)
public static final class CfnDataSet.PhysicalTableProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSet.PhysicalTableProperty>
A builder for
CfnDataSet.PhysicalTableProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.customSql(IResolvable customSql) Sets the value ofCfnDataSet.PhysicalTableProperty.getCustomSql()customSql(CfnDataSet.CustomSqlProperty customSql) Sets the value ofCfnDataSet.PhysicalTableProperty.getCustomSql()relationalTable(IResolvable relationalTable) Sets the value ofCfnDataSet.PhysicalTableProperty.getRelationalTable()relationalTable(CfnDataSet.RelationalTableProperty relationalTable) Sets the value ofCfnDataSet.PhysicalTableProperty.getRelationalTable()s3Source(IResolvable s3Source) Sets the value ofCfnDataSet.PhysicalTableProperty.getS3Source()s3Source(CfnDataSet.S3SourceProperty s3Source) Sets the value ofCfnDataSet.PhysicalTableProperty.getS3Source()saaSTable(IResolvable saaSTable) Sets the value ofCfnDataSet.PhysicalTableProperty.getSaaSTable()saaSTable(CfnDataSet.SaaSTableProperty saaSTable) Sets the value ofCfnDataSet.PhysicalTableProperty.getSaaSTable()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
customSql
Sets the value ofCfnDataSet.PhysicalTableProperty.getCustomSql()- Parameters:
customSql- A physical table type built from the results of the custom SQL query.- Returns:
this
-
customSql
@Stability(Stable) public CfnDataSet.PhysicalTableProperty.Builder customSql(CfnDataSet.CustomSqlProperty customSql) Sets the value ofCfnDataSet.PhysicalTableProperty.getCustomSql()- Parameters:
customSql- A physical table type built from the results of the custom SQL query.- Returns:
this
-
relationalTable
@Stability(Stable) public CfnDataSet.PhysicalTableProperty.Builder relationalTable(IResolvable relationalTable) Sets the value ofCfnDataSet.PhysicalTableProperty.getRelationalTable()- Parameters:
relationalTable- A physical table type for relational data sources.- Returns:
this
-
relationalTable
@Stability(Stable) public CfnDataSet.PhysicalTableProperty.Builder relationalTable(CfnDataSet.RelationalTableProperty relationalTable) Sets the value ofCfnDataSet.PhysicalTableProperty.getRelationalTable()- Parameters:
relationalTable- A physical table type for relational data sources.- Returns:
this
-
s3Source
Sets the value ofCfnDataSet.PhysicalTableProperty.getS3Source()- Parameters:
s3Source- A physical table type for as S3 data source.- Returns:
this
-
s3Source
@Stability(Stable) public CfnDataSet.PhysicalTableProperty.Builder s3Source(CfnDataSet.S3SourceProperty s3Source) Sets the value ofCfnDataSet.PhysicalTableProperty.getS3Source()- Parameters:
s3Source- A physical table type for as S3 data source.- Returns:
this
-
saaSTable
Sets the value ofCfnDataSet.PhysicalTableProperty.getSaaSTable()- Parameters:
saaSTable- A physical table type for Software-as-a-Service (SaaS) sources.- Returns:
this
-
saaSTable
@Stability(Stable) public CfnDataSet.PhysicalTableProperty.Builder saaSTable(CfnDataSet.SaaSTableProperty saaSTable) Sets the value ofCfnDataSet.PhysicalTableProperty.getSaaSTable()- Parameters:
saaSTable- A physical table type for Software-as-a-Service (SaaS) sources.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSet.PhysicalTableProperty>- Returns:
- a new instance of
CfnDataSet.PhysicalTableProperty - Throws:
NullPointerException- if any required attribute was not provided
-