@Stability(value=Stable) public static final class CfnGlobalTable.TimeToLiveSpecificationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnGlobalTable.TimeToLiveSpecificationProperty>
CfnGlobalTable.TimeToLiveSpecificationProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnGlobalTable.TimeToLiveSpecificationProperty.Builder |
attributeName(String attributeName)
Sets the value of
CfnGlobalTable.TimeToLiveSpecificationProperty.getAttributeName() |
CfnGlobalTable.TimeToLiveSpecificationProperty |
build()
Builds the configured instance.
|
CfnGlobalTable.TimeToLiveSpecificationProperty.Builder |
enabled(Boolean enabled)
Sets the value of
CfnGlobalTable.TimeToLiveSpecificationProperty.getEnabled() |
CfnGlobalTable.TimeToLiveSpecificationProperty.Builder |
enabled(IResolvable enabled)
Sets the value of
CfnGlobalTable.TimeToLiveSpecificationProperty.getEnabled() |
@Stability(value=Stable) public CfnGlobalTable.TimeToLiveSpecificationProperty.Builder enabled(Boolean enabled)
CfnGlobalTable.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 CfnGlobalTable.TimeToLiveSpecificationProperty.Builder enabled(IResolvable enabled)
CfnGlobalTable.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 CfnGlobalTable.TimeToLiveSpecificationProperty.Builder attributeName(String attributeName)
CfnGlobalTable.TimeToLiveSpecificationProperty.getAttributeName()attributeName - The name of the attribute used to store the expiration time for items in the table.
Currently, you cannot directly change the attribute name used to evaluate time to live. In order to do so, you must first disable time to live, and then re-enable it with the new attribute name. It can take up to one hour for changes to time to live to take effect. If you attempt to modify time to live within that time window, your stack operation might be delayed.this@Stability(value=Stable) public CfnGlobalTable.TimeToLiveSpecificationProperty build()
build in interface software.amazon.jsii.Builder<CfnGlobalTable.TimeToLiveSpecificationProperty>CfnGlobalTable.TimeToLiveSpecificationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.