Interface TaskDocument.Builder

  • Method Details

    • name

      The name of the document, as given in the StartTask request.

      Parameters:
      name - The name of the document, as given in the StartTask request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sizeBytes

      TaskDocument.Builder sizeBytes(Long sizeBytes)

      The size of the document's content, in bytes.

      Parameters:
      sizeBytes - The size of the document's content, in bytes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contentType

      TaskDocument.Builder contentType(String contentType)

      The content type of the document, as declared in the StartTask request.

      Parameters:
      contentType - The content type of the document, as declared in the StartTask request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • contentType

      TaskDocument.Builder contentType(DocumentContentType contentType)

      The content type of the document, as declared in the StartTask request.

      Parameters:
      contentType - The content type of the document, as declared in the StartTask request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: