Interface GetRevisionRequest.Builder

    • Method Detail

      • name

        GetRevisionRequest.Builder name​(String name)

        The name of the ledger.

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

        GetRevisionRequest.Builder blockAddress​(ValueHolder blockAddress)

        The block location of the document revision to be verified. An address is an Amazon Ion structure that has two fields: strandId and sequenceNo.

        For example: {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:14}.

        Parameters:
        blockAddress - The block location of the document revision to be verified. An address is an Amazon Ion structure that has two fields: strandId and sequenceNo.

        For example: {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:14}.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • documentId

        GetRevisionRequest.Builder documentId​(String documentId)

        The UUID (represented in Base62-encoded text) of the document to be verified.

        Parameters:
        documentId - The UUID (represented in Base62-encoded text) of the document to be verified.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • digestTipAddress

        GetRevisionRequest.Builder digestTipAddress​(ValueHolder digestTipAddress)

        The latest block location covered by the digest for which to request a proof. An address is an Amazon Ion structure that has two fields: strandId and sequenceNo.

        For example: {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:49}.

        Parameters:
        digestTipAddress - The latest block location covered by the digest for which to request a proof. An address is an Amazon Ion structure that has two fields: strandId and sequenceNo.

        For example: {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:49}.

        Returns:
        Returns a reference to this object so that method calls can be chained together.