@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TimeToLive extends Object implements Serializable, Cloneable, StructuredPojo
Enable custom Time to Live (TTL) settings for rows and columns without setting a TTL default for the specified table.
For more information, see Enabling TTL on tables in the Amazon Keyspaces Developer Guide.
| Constructor and Description |
|---|
TimeToLive() |
| Modifier and Type | Method and Description |
|---|---|
TimeToLive |
clone() |
boolean |
equals(Object obj) |
String |
getStatus()
Shows how to enable custom Time to Live (TTL) settings for the specified table.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setStatus(String status)
Shows how to enable custom Time to Live (TTL) settings for the specified table.
|
String |
toString()
Returns a string representation of this object.
|
TimeToLive |
withStatus(String status)
Shows how to enable custom Time to Live (TTL) settings for the specified table.
|
TimeToLive |
withStatus(TimeToLiveStatus status)
Shows how to enable custom Time to Live (TTL) settings for the specified table.
|
public void setStatus(String status)
Shows how to enable custom Time to Live (TTL) settings for the specified table.
status - Shows how to enable custom Time to Live (TTL) settings for the specified table.TimeToLiveStatuspublic String getStatus()
Shows how to enable custom Time to Live (TTL) settings for the specified table.
TimeToLiveStatuspublic TimeToLive withStatus(String status)
Shows how to enable custom Time to Live (TTL) settings for the specified table.
status - Shows how to enable custom Time to Live (TTL) settings for the specified table.TimeToLiveStatuspublic TimeToLive withStatus(TimeToLiveStatus status)
Shows how to enable custom Time to Live (TTL) settings for the specified table.
status - Shows how to enable custom Time to Live (TTL) settings for the specified table.TimeToLiveStatuspublic String toString()
toString in class ObjectObject.toString()public TimeToLive clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.