StructuredPojo
, ToCopyableBuilder<TimeToLiveSpecification.Builder,TimeToLiveSpecification>
@Generated("software.amazon.awssdk:codegen") public 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 | Description |
---|---|---|
static interface |
TimeToLiveSpecification.Builder |
Modifier and Type | Method | 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) |
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends TimeToLiveSpecification.Builder> |
serializableBuilderClass() |
|
TimeToLiveSpecification.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<TimeToLiveSpecification.Builder,TimeToLiveSpecification>
public static TimeToLiveSpecification.Builder builder()
public static Class<? extends TimeToLiveSpecification.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.