public class TimeToLiveSpecification extends Object implements Serializable
Represents the settings used to enable or disable Time to Live for the specified table.
| Constructor and Description |
|---|
TimeToLiveSpecification() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAttributeName()
The name of the Time to Live attribute used to store the expiration time
for items in the table.
|
Boolean |
getEnabled()
Indicates whether Time To Live is to be enabled (true) or disabled
(false) on the table.
|
int |
hashCode() |
Boolean |
isEnabled()
Indicates whether Time To Live is to be enabled (true) or disabled
(false) on the table.
|
void |
setAttributeName(String attributeName)
The name of the Time to Live attribute used to store the expiration time
for items in the table.
|
void |
setEnabled(Boolean enabled)
Indicates whether Time To Live is to be enabled (true) or disabled
(false) on the table.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TimeToLiveSpecification |
withAttributeName(String attributeName)
The name of the Time to Live attribute used to store the expiration time
for items in the table.
|
TimeToLiveSpecification |
withEnabled(Boolean enabled)
Indicates whether Time To Live is to be enabled (true) or disabled
(false) on the table.
|
public Boolean isEnabled()
Indicates whether Time To Live is to be enabled (true) or disabled (false) on the table.
Indicates whether Time To Live is to be enabled (true) or disabled (false) on the table.
public Boolean getEnabled()
Indicates whether Time To Live is to be enabled (true) or disabled (false) on the table.
Indicates whether Time To Live is to be enabled (true) or disabled (false) on the table.
public void setEnabled(Boolean enabled)
Indicates whether Time To Live is to be enabled (true) or disabled (false) on the table.
enabled - Indicates whether Time To Live is to be enabled (true) or disabled (false) on the table.
public TimeToLiveSpecification withEnabled(Boolean enabled)
Indicates whether Time To Live is to be enabled (true) or disabled (false) on the table.
Returns a reference to this object so that method calls can be chained together.
enabled - Indicates whether Time To Live is to be enabled (true) or disabled (false) on the table.
public String getAttributeName()
The name of the Time to Live attribute used to store the expiration time for items in the table.
Constraints:
Length: 1 - 255
The name of the Time to Live attribute used to store the expiration time for items in the table.
public void setAttributeName(String attributeName)
The name of the Time to Live attribute used to store the expiration time for items in the table.
Constraints:
Length: 1 - 255
attributeName - The name of the Time to Live attribute used to store the expiration time for items in the table.
public TimeToLiveSpecification withAttributeName(String attributeName)
The name of the Time to Live attribute used to store the expiration time for items in the table.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
attributeName - The name of the Time to Live attribute used to store the expiration time for items in the table.
public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.