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

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

    • name

      Item.Builder name(String name)

      The name of the item.

      Parameters:
      name - The name of the item.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      Item.Builder type(String type)

      The item type (folder or object).

      Parameters:
      type - The item type (folder or object).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      Item.Builder type(ItemType type)

      The item type (folder or object).

      Parameters:
      type - The item type (folder or object).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • eTag

      Item.Builder eTag(String eTag)

      The ETag that represents a unique instance of the item.

      Parameters:
      eTag - The ETag that represents a unique instance of the item.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModified

      Item.Builder lastModified(Instant lastModified)

      The date and time that the item was last modified.

      Parameters:
      lastModified - The date and time that the item was last modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contentType

      Item.Builder contentType(String contentType)

      The content type of the item.

      Parameters:
      contentType - The content type of the item.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contentLength

      Item.Builder contentLength(Long contentLength)

      The length of the item in bytes.

      Parameters:
      contentLength - The length of the item in bytes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.