Interface TimeToLiveSpecification.Builder

    • Method Detail

      • enabled

        TimeToLiveSpecification.Builder enabled​(Boolean 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.