Interface GetBlockResponse.Builder

    • Method Detail

      • block

        GetBlockResponse.Builder block​(ValueHolder block)

        The block data object in Amazon Ion format.

        Parameters:
        block - The block data object in Amazon Ion format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • proof

        GetBlockResponse.Builder proof​(ValueHolder proof)

        The proof object in Amazon Ion format returned by a GetBlock request. A proof contains the list of hash values required to recalculate the specified digest using a Merkle tree, starting with the specified block.

        Parameters:
        proof - The proof object in Amazon Ion format returned by a GetBlock request. A proof contains the list of hash values required to recalculate the specified digest using a Merkle tree, starting with the specified block.
        Returns:
        Returns a reference to this object so that method calls can be chained together.