@Stability(value=Experimental) public static final class TableProps.Builder extends Object implements software.amazon.jsii.Builder<TableProps>
TableProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
TableProps.Builder |
adminUser(ISecret adminUser)
Sets the value of
DatabaseOptions.getAdminUser() |
TableProps |
build()
Builds the configured instance.
|
TableProps.Builder |
cluster(ICluster cluster)
Sets the value of
DatabaseOptions.getCluster() |
TableProps.Builder |
databaseName(String databaseName)
Sets the value of
DatabaseOptions.getDatabaseName() |
TableProps.Builder |
distStyle(TableDistStyle distStyle)
Sets the value of
TableProps.getDistStyle() |
TableProps.Builder |
removalPolicy(RemovalPolicy removalPolicy)
Sets the value of
TableProps.getRemovalPolicy() |
TableProps.Builder |
sortStyle(TableSortStyle sortStyle)
Sets the value of
TableProps.getSortStyle() |
TableProps.Builder |
tableColumns(List<? extends Column> tableColumns)
Sets the value of
TableProps.getTableColumns() |
TableProps.Builder |
tableName(String tableName)
Sets the value of
TableProps.getTableName() |
@Stability(value=Experimental) public TableProps.Builder tableColumns(List<? extends Column> tableColumns)
TableProps.getTableColumns()tableColumns - The columns of the table. This parameter is required.this@Stability(value=Experimental) public TableProps.Builder distStyle(TableDistStyle distStyle)
TableProps.getDistStyle()distStyle - The distribution style of the table.this@Stability(value=Experimental) public TableProps.Builder removalPolicy(RemovalPolicy removalPolicy)
TableProps.getRemovalPolicy()removalPolicy - The policy to apply when this resource is removed from the application.this@Stability(value=Experimental) public TableProps.Builder sortStyle(TableSortStyle sortStyle)
TableProps.getSortStyle()sortStyle - The sort style of the table.this@Stability(value=Experimental) public TableProps.Builder tableName(String tableName)
TableProps.getTableName()tableName - The name of the table.this@Stability(value=Experimental) public TableProps.Builder cluster(ICluster cluster)
DatabaseOptions.getCluster()cluster - The cluster containing the database. This parameter is required.this@Stability(value=Experimental) public TableProps.Builder databaseName(String databaseName)
DatabaseOptions.getDatabaseName()databaseName - The name of the database. This parameter is required.this@Stability(value=Experimental) public TableProps.Builder adminUser(ISecret adminUser)
DatabaseOptions.getAdminUser()adminUser - The secret containing credentials to a Redshift user with administrator privileges.
Secret JSON schema: { username: string; password: string }.this@Stability(value=Experimental) public TableProps build()
build in interface software.amazon.jsii.Builder<TableProps>TablePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.