@Stability(value=Experimental) public static final class TableProps.Builder extends Object
TableProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
TableProps |
build()
Builds the configured instance.
|
TableProps.Builder |
withBillingMode(BillingMode value)
Sets the value of BillingMode
|
TableProps.Builder |
withPartitionKey(Attribute value)
Sets the value of PartitionKey
|
TableProps.Builder |
withPointInTimeRecovery(Boolean value)
Sets the value of PointInTimeRecovery
|
TableProps.Builder |
withReadCapacity(Number value)
Sets the value of ReadCapacity
|
TableProps.Builder |
withServerSideEncryption(Boolean value)
Sets the value of ServerSideEncryption
|
TableProps.Builder |
withSortKey(Attribute value)
Sets the value of SortKey
|
TableProps.Builder |
withStream(StreamViewType value)
Sets the value of Stream
|
TableProps.Builder |
withTableName(String value)
Sets the value of TableName
|
TableProps.Builder |
withTimeToLiveAttribute(String value)
Sets the value of TimeToLiveAttribute
|
TableProps.Builder |
withWriteCapacity(Number value)
Sets the value of WriteCapacity
|
@Stability(value=Experimental) public TableProps.Builder withTableName(@Nullable String value)
value - Enforces a particular physical table name.this@Stability(value=Experimental) public TableProps.Builder withPartitionKey(Attribute value)
value - Partition key attribute definition.this@Stability(value=Experimental) public TableProps.Builder withBillingMode(@Nullable BillingMode value)
value - Specify how you are charged for read and write throughput and how you manage capacity.this@Stability(value=Experimental) public TableProps.Builder withPointInTimeRecovery(@Nullable Boolean value)
value - Whether point-in-time recovery is enabled.this@Stability(value=Experimental) public TableProps.Builder withReadCapacity(@Nullable Number value)
value - The read capacity for the table.this@Stability(value=Experimental) public TableProps.Builder withServerSideEncryption(@Nullable Boolean value)
value - Whether server-side encryption with an AWS managed customer master key is enabled.this@Stability(value=Experimental) public TableProps.Builder withSortKey(@Nullable Attribute value)
value - Table sort key attribute definition.this@Stability(value=Experimental) public TableProps.Builder withStream(@Nullable StreamViewType value)
value - When an item in the table is modified, StreamViewType determines what information is written to the stream for this table.this@Stability(value=Experimental) public TableProps.Builder withTimeToLiveAttribute(@Nullable String value)
value - The name of TTL attribute.this@Stability(value=Experimental) public TableProps.Builder withWriteCapacity(@Nullable Number value)
value - The write capacity for the table.this@Stability(value=Experimental) public TableProps build()
TablePropsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.