@Generated(value="software.amazon.awssdk:codegen") public final class TimeToLiveSpecification extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TimeToLiveSpecification.Builder,TimeToLiveSpecification>
Represents the settings used to enable or disable Time to Live (TTL) for the specified table.
Modifier and Type | Class and Description |
---|---|
static interface |
TimeToLiveSpecification.Builder |
Modifier and Type | Method and Description |
---|---|
String |
attributeName()
The name of the TTL attribute used to store the expiration time for items in the table.
|
static TimeToLiveSpecification.Builder |
builder() |
Boolean |
enabled()
Indicates whether TTL is to be enabled (true) or disabled (false) on the table.
|
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 TimeToLiveSpecification.Builder> |
serializableBuilderClass() |
TimeToLiveSpecification.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final Boolean enabled()
Indicates whether TTL is to be enabled (true) or disabled (false) on the table.
public final String attributeName()
The name of the TTL attribute used to store the expiration time for items in the table.
public TimeToLiveSpecification.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<TimeToLiveSpecification.Builder,TimeToLiveSpecification>
public static TimeToLiveSpecification.Builder builder()
public static Class<? extends TimeToLiveSpecification.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2021. All rights reserved.