Interface TimeToLiveSpecification.Builder

All Superinterfaces:
Buildable, CopyableBuilder<TimeToLiveSpecification.Builder,TimeToLiveSpecification>, SdkBuilder<TimeToLiveSpecification.Builder,TimeToLiveSpecification>, SdkPojo
Enclosing class:
TimeToLiveSpecification

public static interface TimeToLiveSpecification.Builder extends SdkPojo, CopyableBuilder<TimeToLiveSpecification.Builder,TimeToLiveSpecification>
  • Method Details

    • enabled

      Indicates whether TTL is to be enabled (true) or disabled (false) on the table.

      Parameters:
      enabled - Indicates whether TTL is to be enabled (true) or disabled (false) on the table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attributeName

      TimeToLiveSpecification.Builder attributeName(String attributeName)

      The name of the TTL attribute used to store the expiration time for items in the table.

      Parameters:
      attributeName - The name of the TTL attribute used to store the expiration time for items in the table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.