@Generated(value="software.amazon.awssdk:codegen") public final class TimeToLiveSpecification extends Object implements StructuredPojo, ToCopyableBuilder<TimeToLiveSpecification.Builder,TimeToLiveSpecification>
Represents the settings used to enable or disable Time to Live 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 Time to Live attribute used to store the expiration time for items in the table.
|
static TimeToLiveSpecification.Builder |
builder() |
Boolean |
enabled()
Indicates whether Time To Live is to be enabled (true) or disabled (false) on the table.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
static Class<? extends TimeToLiveSpecification.Builder> |
serializableBuilderClass() |
TimeToLiveSpecification.Builder |
toBuilder() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public Boolean enabled()
Indicates whether Time To Live is to be enabled (true) or disabled (false) on the table.
public String attributeName()
The name of the Time to Live 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 void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2018. All rights reserved.