@Stability(value=Experimental) public static final class TableProps.Builder extends Object implements software.amazon.jsii.Builder<TableProps>
TableProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public TableProps.Builder columns(List<? extends Column> columns)
TableProps.getColumns()columns - Columns of the table. This parameter is required.this@Stability(value=Experimental) public TableProps.Builder database(IDatabase database)
TableProps.getDatabase()database - Database in which to store the table. This parameter is required.this@Stability(value=Experimental) public TableProps.Builder dataFormat(DataFormat dataFormat)
TableProps.getDataFormat()dataFormat - Storage type of the table's data. This parameter is required.this@Stability(value=Experimental) public TableProps.Builder tableName(String tableName)
TableProps.getTableName()tableName - Name of the table. This parameter is required.this@Stability(value=Experimental) public TableProps.Builder bucket(IBucket bucket)
TableProps.getBucket()bucket - S3 bucket in which to store data.this@Stability(value=Experimental) public TableProps.Builder compressed(Boolean compressed)
TableProps.getCompressed()compressed - Indicates whether the table's data is compressed or not.this@Stability(value=Experimental) public TableProps.Builder description(String description)
TableProps.getDescription()description - Description of the table.this@Stability(value=Experimental) public TableProps.Builder encryption(TableEncryption encryption)
TableProps.getEncryption()encryption - The kind of encryption to secure the data with.
You can only provide this option if you are not explicitly passing in a bucket.
If you choose SSE-KMS, you can provide an un-managed KMS key with encryptionKey.
If you choose CSE-KMS, you must provide an un-managed KMS key with encryptionKey.
this@Stability(value=Experimental) public TableProps.Builder encryptionKey(IKey encryptionKey)
TableProps.getEncryptionKey()encryptionKey - External KMS key to use for bucket encryption.
The encryption property must be SSE-KMS or CSE-KMS.this@Stability(value=Experimental) public TableProps.Builder partitionKeys(List<? extends Column> partitionKeys)
TableProps.getPartitionKeys()partitionKeys - Partition columns of the table.this@Stability(value=Experimental) public TableProps.Builder s3Prefix(String s3Prefix)
TableProps.getS3Prefix()s3Prefix - S3 prefix under which table objects are stored.this@Stability(value=Experimental) public TableProps.Builder storedAsSubDirectories(Boolean storedAsSubDirectories)
TableProps.getStoredAsSubDirectories()storedAsSubDirectories - Indicates whether the table data is stored in subdirectories.this@Stability(value=Experimental) public TableProps build()
build in interface software.amazon.jsii.Builder<TableProps>TablePropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.