Interface TableProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,S3TableProps
,TableBaseProps
- All Known Implementing Classes:
TableProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:11.614Z")
@Stability(Experimental)
public interface TableProps
extends software.amazon.jsii.JsiiSerializable, S3TableProps
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.glue.alpha.*; import software.amazon.awscdk.services.kms.*; import software.amazon.awscdk.services.s3.*; Bucket bucket; Database database; DataFormat dataFormat; Key key; StorageParameter storageParameter; TableProps tableProps = TableProps.builder() .columns(List.of(Column.builder() .name("name") .type(Type.builder() .inputString("inputString") .isPrimitive(false) .build()) // the properties below are optional .comment("comment") .build())) .database(database) .dataFormat(dataFormat) // the properties below are optional .bucket(bucket) .compressed(false) .description("description") .enablePartitionFiltering(false) .encryption(TableEncryption.S3_MANAGED) .encryptionKey(key) .parameters(Map.of( "parametersKey", "parameters")) .partitionIndexes(List.of(PartitionIndex.builder() .keyNames(List.of("keyNames")) // the properties below are optional .indexName("indexName") .build())) .partitionKeys(List.of(Column.builder() .name("name") .type(Type.builder() .inputString("inputString") .isPrimitive(false) .build()) // the properties below are optional .comment("comment") .build())) .s3Prefix("s3Prefix") .storageParameters(List.of(storageParameter)) .storedAsSubDirectories(false) .tableName("tableName") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forTableProps
static final class
An implementation forTableProps
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.glue.alpha.S3TableProps
getBucket, getEncryption, getEncryptionKey, getS3Prefix
Methods inherited from interface software.amazon.awscdk.services.glue.alpha.TableBaseProps
getColumns, getCompressed, getDatabase, getDataFormat, getDescription, getEnablePartitionFiltering, getParameters, getPartitionIndexes, getPartitionKeys, getStorageParameters, getStoredAsSubDirectories, getTableName
-
Method Details
-
builder
- Returns:
- a
TableProps.Builder
ofTableProps
-