public class TimeToLiveDescription
extends java.lang.Object
implements java.io.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(java.lang.Object obj) |
java.lang.String |
getAttributeName()
The name of the Time to Live attribute for items in the table.
|
java.lang.String |
getTimeToLiveStatus()
The Time to Live status for the table.
|
int |
hashCode() |
void |
setAttributeName(java.lang.String attributeName)
The name of the Time to Live attribute for items in the table.
|
void |
setTimeToLiveStatus(java.lang.String timeToLiveStatus)
The Time to Live status for the table.
|
void |
setTimeToLiveStatus(TimeToLiveStatus timeToLiveStatus)
The Time to Live status for the table.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TimeToLiveDescription |
withAttributeName(java.lang.String attributeName)
The name of the Time to Live attribute for items in the table.
|
TimeToLiveDescription |
withTimeToLiveStatus(java.lang.String timeToLiveStatus)
The Time to Live status for the table.
|
TimeToLiveDescription |
withTimeToLiveStatus(TimeToLiveStatus timeToLiveStatus)
The Time to Live status for the table.
|
public java.lang.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.
TimeToLiveStatus
public void setTimeToLiveStatus(java.lang.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.
TimeToLiveStatus
public TimeToLiveDescription withTimeToLiveStatus(java.lang.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.
TimeToLiveStatus
public 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.
TimeToLiveStatus
public 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.
TimeToLiveStatus
public java.lang.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(java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.