Interface DocumentVersionMetadata.Builder

    • Method Detail

      • id

        DocumentVersionMetadata.Builder id​(String id)

        The ID of the version.

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

        DocumentVersionMetadata.Builder name​(String name)

        The name of the version.

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

        DocumentVersionMetadata.Builder contentType​(String contentType)

        The content type of the document.

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

        DocumentVersionMetadata.Builder size​(Long size)

        The size of the document, in bytes.

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

        DocumentVersionMetadata.Builder signature​(String signature)

        The signature of the document.

        Parameters:
        signature - The signature of the document.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdTimestamp

        DocumentVersionMetadata.Builder createdTimestamp​(Instant createdTimestamp)

        The timestamp when the document was first uploaded.

        Parameters:
        createdTimestamp - The timestamp when the document was first uploaded.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • modifiedTimestamp

        DocumentVersionMetadata.Builder modifiedTimestamp​(Instant modifiedTimestamp)

        The timestamp when the document was last uploaded.

        Parameters:
        modifiedTimestamp - The timestamp when the document was last uploaded.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • contentCreatedTimestamp

        DocumentVersionMetadata.Builder contentCreatedTimestamp​(Instant contentCreatedTimestamp)

        The timestamp when the content of the document was originally created.

        Parameters:
        contentCreatedTimestamp - The timestamp when the content of the document was originally created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • contentModifiedTimestamp

        DocumentVersionMetadata.Builder contentModifiedTimestamp​(Instant contentModifiedTimestamp)

        The timestamp when the content of the document was modified.

        Parameters:
        contentModifiedTimestamp - The timestamp when the content of the document was modified.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creatorId

        DocumentVersionMetadata.Builder creatorId​(String creatorId)

        The ID of the creator.

        Parameters:
        creatorId - The ID of the creator.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • thumbnailWithStrings

        DocumentVersionMetadata.Builder thumbnailWithStrings​(Map<String,​String> thumbnail)

        The thumbnail of the document.

        Parameters:
        thumbnail - The thumbnail of the document.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourceWithStrings

        DocumentVersionMetadata.Builder sourceWithStrings​(Map<String,​String> source)

        The source of the document.

        Parameters:
        source - The source of the document.
        Returns:
        Returns a reference to this object so that method calls can be chained together.