@Generated(value="software.amazon.awssdk:codegen") public final class TimeToLive extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TimeToLive.Builder,TimeToLive>
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TimeToLive.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TimeToLive.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends TimeToLive.Builder> |
serializableBuilderClass() |
TimeToLiveStatus |
status()
Shows how to enable custom Time to Live (TTL) settings for the specified table.
|
String |
statusAsString()
Shows how to enable custom Time to Live (TTL) settings for the specified table.
|
TimeToLive.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final TimeToLiveStatus status()
Shows how to enable custom Time to Live (TTL) settings for the specified table.
If the service returns an enum value that is not available in the current SDK version, status will
return TimeToLiveStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
TimeToLiveStatuspublic final String statusAsString()
Shows how to enable custom Time to Live (TTL) settings for the specified table.
If the service returns an enum value that is not available in the current SDK version, status will
return TimeToLiveStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
TimeToLiveStatuspublic TimeToLive.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TimeToLive.Builder,TimeToLive>public static TimeToLive.Builder builder()
public static Class<? extends TimeToLive.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.