public class TimeToLiveSpecification
extends java.lang.Object
implements java.io.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(java.lang.Object obj) |
java.lang.String |
getAttributeName()
The name of the Time to Live attribute used to store the expiration time
for items in the table.
|
java.lang.Boolean |
getEnabled()
Indicates whether Time To Live is to be enabled (true) or disabled
(false) on the table.
|
int |
hashCode() |
java.lang.Boolean |
isEnabled()
Indicates whether Time To Live is to be enabled (true) or disabled
(false) on the table.
|
void |
setAttributeName(java.lang.String attributeName)
The name of the Time to Live attribute used to store the expiration time
for items in the table.
|
void |
setEnabled(java.lang.Boolean enabled)
Indicates whether Time To Live is to be enabled (true) or disabled
(false) on the table.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TimeToLiveSpecification |
withAttributeName(java.lang.String attributeName)
The name of the Time to Live attribute used to store the expiration time
for items in the table.
|
TimeToLiveSpecification |
withEnabled(java.lang.Boolean enabled)
Indicates whether Time To Live is to be enabled (true) or disabled
(false) on the table.
|
public java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.