Interface Retrievable.Builder<B extends Builder<B>>

All Superinterfaces:
BuilderInterface
All Known Implementing Classes:
Item.Builder
Enclosing interface:
Retrievable

public static interface Retrievable.Builder<B extends Builder<B>> extends BuilderInterface
Since:
0.19.0
  • Method Details

    • setAttributes

      default B setAttributes(HashTable<String,String> attributes)

      The attributes set on this item.

      Attributes are used to locate an item. They are not guaranteed to be stored or transferred securely.

      Parameters:
      attributes - the value for the attributes property
      Returns:
      the Builder instance is returned, to allow method chaining
      Since:
      0.19.0
    • setCreated

      default B setCreated(long created)
      The date and time (in seconds since the UNIX epoch) that this item was created.
      Parameters:
      created - the value for the created property
      Returns:
      the Builder instance is returned, to allow method chaining
      Since:
      0.19.0
    • setLabel

      default B setLabel(String label)
      The human readable label for the item.
      Parameters:
      label - the value for the label property
      Returns:
      the Builder instance is returned, to allow method chaining
      Since:
      0.19.0
    • setModified

      default B setModified(long modified)
      The date and time (in seconds since the UNIX epoch) that this item was last modified.
      Parameters:
      modified - the value for the modified property
      Returns:
      the Builder instance is returned, to allow method chaining
      Since:
      0.19.0