public class TimeToLiveDescription extends Object implements Serializable
The description of the Time to Live (TTL) status on the specified table.
| Constructor and Description |
|---|
TimeToLiveDescription() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAttributeName()
The name of the Time to Live attribute for items in the table.
|
String |
getTimeToLiveStatus()
The Time to Live status for the table.
|
int |
hashCode() |
void |
setAttributeName(String attributeName)
The name of the Time to Live attribute for items in the table.
|
void |
setTimeToLiveStatus(String timeToLiveStatus)
The Time to Live status for the table.
|
void |
setTimeToLiveStatus(TimeToLiveStatus timeToLiveStatus)
The Time to Live status for the table.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TimeToLiveDescription |
withAttributeName(String attributeName)
The name of the Time to Live attribute for items in the table.
|
TimeToLiveDescription |
withTimeToLiveStatus(String timeToLiveStatus)
The Time to Live status for the table.
|
TimeToLiveDescription |
withTimeToLiveStatus(TimeToLiveStatus timeToLiveStatus)
The Time to Live status for the table.
|
public String getTimeToLiveStatus()
The Time to Live status for the table.
Constraints:
Allowed Values: ENABLING, DISABLING, ENABLED, DISABLED
The Time to Live status for the table.
TimeToLiveStatuspublic void setTimeToLiveStatus(String timeToLiveStatus)
The Time to Live status for the table.
Constraints:
Allowed Values: ENABLING, DISABLING, ENABLED, DISABLED
timeToLiveStatus - The Time to Live status for the table.
TimeToLiveStatuspublic TimeToLiveDescription withTimeToLiveStatus(String timeToLiveStatus)
The Time to Live status for the table.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ENABLING, DISABLING, ENABLED, DISABLED
timeToLiveStatus - The Time to Live status for the table.
TimeToLiveStatuspublic void setTimeToLiveStatus(TimeToLiveStatus timeToLiveStatus)
The Time to Live status for the table.
Constraints:
Allowed Values: ENABLING, DISABLING, ENABLED, DISABLED
timeToLiveStatus - The Time to Live status for the table.
TimeToLiveStatuspublic TimeToLiveDescription withTimeToLiveStatus(TimeToLiveStatus timeToLiveStatus)
The Time to Live status for the table.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ENABLING, DISABLING, ENABLED, DISABLED
timeToLiveStatus - The Time to Live status for the table.
TimeToLiveStatuspublic String getAttributeName()
The name of the Time to Live attribute for items in the table.
Constraints:
Length: 1 - 255
The name of the Time to Live attribute for items in the table.
public void setAttributeName(String attributeName)
The name of the Time to Live attribute for items in the table.
Constraints:
Length: 1 - 255
attributeName - The name of the Time to Live attribute for items in the table.
public TimeToLiveDescription withAttributeName(String attributeName)
The name of the Time to Live attribute 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 for items in the table.
public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.