@Stability(value=Stable) public static final class CfnTableProps.Builder extends Object implements software.amazon.jsii.Builder<CfnTableProps>
CfnTableProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnTableProps |
build()
Builds the configured instance.
|
CfnTableProps.Builder |
databaseName(String databaseName)
Sets the value of
CfnTableProps.getDatabaseName() |
CfnTableProps.Builder |
retentionProperties(Object retentionProperties)
Sets the value of
CfnTableProps.getRetentionProperties() |
CfnTableProps.Builder |
tableName(String tableName)
Sets the value of
CfnTableProps.getTableName() |
CfnTableProps.Builder |
tags(List<? extends CfnTag> tags)
Sets the value of
CfnTableProps.getTags() |
@Stability(value=Stable) public CfnTableProps.Builder databaseName(String databaseName)
CfnTableProps.getDatabaseName()databaseName - The name of the Timestream database that contains this table. This parameter is required.
Length Constraints : Minimum length of 3 bytes. Maximum length of 256 bytes.this@Stability(value=Stable) public CfnTableProps.Builder retentionProperties(Object retentionProperties)
CfnTableProps.getRetentionProperties()retentionProperties - The retention duration for the memory store and magnetic store. This object has the following attributes:.
Both attributes are of type string . Both attributes are required when RetentionProperties is specified.
See the following examples:
JSON
{ "Type" : AWS::Timestream::Table", "Properties" : { "DatabaseName" : "TestDatabase", "TableName" : "TestTable", "RetentionProperties" : { "MemoryStoreRetentionPeriodInHours": "24", "MagneticStoreRetentionPeriodInDays": "7" } } }
YAML
Type: AWS::Timestream::Table
DependsOn: TestDatabase
Properties: TableName: "TestTable" DatabaseName: "TestDatabase" RetentionProperties: MemoryStoreRetentionPeriodInHours: "24" MagneticStoreRetentionPeriodInDays: "7"
this@Stability(value=Stable) public CfnTableProps.Builder tableName(String tableName)
CfnTableProps.getTableName()tableName - The name of the Timestream table.
Length Constraints : Minimum length of 3 bytes. Maximum length of 256 bytes.this@Stability(value=Stable) public CfnTableProps.Builder tags(List<? extends CfnTag> tags)
CfnTableProps.getTags()tags - The tags to add to the table.this@Stability(value=Stable) public CfnTableProps build()
build in interface software.amazon.jsii.Builder<CfnTableProps>CfnTablePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.