@Stability(value=Stable) public static final class CfnTable.TimeToLiveSpecificationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnTable.TimeToLiveSpecificationProperty>
CfnTable.TimeToLiveSpecificationProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnTable.TimeToLiveSpecificationProperty.Builder |
attributeName(String attributeName)
Sets the value of
CfnTable.TimeToLiveSpecificationProperty.getAttributeName() |
CfnTable.TimeToLiveSpecificationProperty |
build()
Builds the configured instance.
|
CfnTable.TimeToLiveSpecificationProperty.Builder |
enabled(Boolean enabled)
Sets the value of
CfnTable.TimeToLiveSpecificationProperty.getEnabled() |
CfnTable.TimeToLiveSpecificationProperty.Builder |
enabled(IResolvable enabled)
Sets the value of
CfnTable.TimeToLiveSpecificationProperty.getEnabled() |
@Stability(value=Stable) public CfnTable.TimeToLiveSpecificationProperty.Builder attributeName(String attributeName)
CfnTable.TimeToLiveSpecificationProperty.getAttributeName()attributeName - The name of the TTL attribute used to store the expiration time for items in the table. This parameter is required.
To update this property, you must first disable TTL then enable TTL with the new attribute name.
this@Stability(value=Stable) public CfnTable.TimeToLiveSpecificationProperty.Builder enabled(Boolean enabled)
CfnTable.TimeToLiveSpecificationProperty.getEnabled()enabled - Indicates whether TTL is to be enabled (true) or disabled (false) on the table. This parameter is required.this@Stability(value=Stable) public CfnTable.TimeToLiveSpecificationProperty.Builder enabled(IResolvable enabled)
CfnTable.TimeToLiveSpecificationProperty.getEnabled()enabled - Indicates whether TTL is to be enabled (true) or disabled (false) on the table. This parameter is required.this@Stability(value=Stable) public CfnTable.TimeToLiveSpecificationProperty build()
build in interface software.amazon.jsii.Builder<CfnTable.TimeToLiveSpecificationProperty>CfnTable.TimeToLiveSpecificationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.