Interface AttachmentContent.Builder

    • Method Detail

      • name

        AttachmentContent.Builder name​(String name)

        The name of an attachment.

        Parameters:
        name - The name of an attachment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • size

        AttachmentContent.Builder size​(Long size)

        The size of an attachment in bytes.

        Parameters:
        size - The size of an attachment in bytes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • hash

        AttachmentContent.Builder hash​(String hash)

        The cryptographic hash value of the document content.

        Parameters:
        hash - The cryptographic hash value of the document content.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • hashType

        AttachmentContent.Builder hashType​(String hashType)

        The hash algorithm used to calculate the hash value.

        Parameters:
        hashType - The hash algorithm used to calculate the hash value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AttachmentHashType, AttachmentHashType
      • url

        AttachmentContent.Builder url​(String url)

        The URL location of the attachment content.

        Parameters:
        url - The URL location of the attachment content.
        Returns:
        Returns a reference to this object so that method calls can be chained together.