Class TimeToLiveSpecification
- java.lang.Object
-
- software.amazon.awssdk.services.dynamodb.model.TimeToLiveSpecification
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TimeToLiveSpecification.Builder,TimeToLiveSpecification>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTimeToLiveSpecification.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringattributeName()The name of the TTL attribute used to store the expiration time for items in the table.static TimeToLiveSpecification.Builderbuilder()Booleanenabled()Indicates whether TTL is to be enabled (true) or disabled (false) on the table.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends TimeToLiveSpecification.Builder>serializableBuilderClass()TimeToLiveSpecification.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
enabled
public final Boolean enabled()
Indicates whether TTL is to be enabled (true) or disabled (false) on the table.
- Returns:
- Indicates whether TTL is to be enabled (true) or disabled (false) on the table.
-
attributeName
public final String attributeName()
The name of the TTL attribute used to store the expiration time for items in the table.
- Returns:
- The name of the TTL attribute used to store the expiration time for items in the table.
-
toBuilder
public TimeToLiveSpecification.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TimeToLiveSpecification.Builder,TimeToLiveSpecification>
-
builder
public static TimeToLiveSpecification.Builder builder()
-
serializableBuilderClass
public static Class<? extends TimeToLiveSpecification.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-