Interface CfnDataSet.PhysicalTableProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataSet.PhysicalTableProperty.Jsii$Proxy
- Enclosing class:
CfnDataSet
@Stability(Stable)
public static interface CfnDataSet.PhysicalTableProperty
extends software.amazon.jsii.JsiiSerializable
A view of a data source that contains information about the shape of the data in the underlying source.
This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.quicksight.*;
PhysicalTableProperty physicalTableProperty = PhysicalTableProperty.builder()
.customSql(CustomSqlProperty.builder()
.columns(List.of(InputColumnProperty.builder()
.name("name")
.type("type")
// the properties below are optional
.id("id")
.subType("subType")
.build()))
.dataSourceArn("dataSourceArn")
.name("name")
.sqlQuery("sqlQuery")
.build())
.relationalTable(RelationalTableProperty.builder()
.dataSourceArn("dataSourceArn")
.inputColumns(List.of(InputColumnProperty.builder()
.name("name")
.type("type")
// the properties below are optional
.id("id")
.subType("subType")
.build()))
.name("name")
// the properties below are optional
.catalog("catalog")
.schema("schema")
.build())
.s3Source(S3SourceProperty.builder()
.dataSourceArn("dataSourceArn")
.inputColumns(List.of(InputColumnProperty.builder()
.name("name")
.type("type")
// the properties below are optional
.id("id")
.subType("subType")
.build()))
// the properties below are optional
.uploadSettings(UploadSettingsProperty.builder()
.containsHeader(false)
.delimiter("delimiter")
.format("format")
.startFromRow(123)
.textQualifier("textQualifier")
.build())
.build())
.saaSTable(SaaSTableProperty.builder()
.dataSourceArn("dataSourceArn")
.inputColumns(List.of(InputColumnProperty.builder()
.name("name")
.type("type")
// the properties below are optional
.id("id")
.subType("subType")
.build()))
.tablePath(List.of(TablePathElementProperty.builder()
.id("id")
.name("name")
.build()))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDataSet.PhysicalTablePropertystatic final classAn implementation forCfnDataSet.PhysicalTableProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectA physical table type built from the results of the custom SQL query.default ObjectA physical table type for relational data sources.default ObjectA physical table type for as S3 data source.default ObjectA physical table type for Software-as-a-Service (SaaS) sources.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCustomSql
A physical table type built from the results of the custom SQL query.Returns union: either
IResolvableorCfnDataSet.CustomSqlProperty- See Also:
-
getRelationalTable
A physical table type for relational data sources.Returns union: either
IResolvableorCfnDataSet.RelationalTableProperty- See Also:
-
getS3Source
A physical table type for as S3 data source.Returns union: either
IResolvableorCfnDataSet.S3SourceProperty- See Also:
-
getSaaSTable
A physical table type for Software-as-a-Service (SaaS) sources.Returns union: either
IResolvableorCfnDataSet.SaaSTableProperty- See Also:
-
builder
-