Interface ResourceContent.Builder

  • Method Details

    • type

      The type of resource content.

      Parameters:
      type - The type of resource content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The type of resource content.

      Parameters:
      type - The type of resource content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • uri

      The URI of the resource content.

      Parameters:
      uri - The URI of the resource content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mimeType

      ResourceContent.Builder mimeType(String mimeType)

      The MIME type of the resource content.

      Parameters:
      mimeType - The MIME type of the resource content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • text

      The text resource content.

      Parameters:
      text - The text resource content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • blob

      The binary resource content.

      Parameters:
      blob - The binary resource content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.