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 interface
TimeToLiveSpecification.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
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:
toBuilder
in 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:
equalsBySdkFields
in 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.
-
-