Interface GetBlockResponse.Builder

  • Method Details

    • 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.
    • block

      The block data object in Amazon Ion format.

      This is a convenience method that creates an instance of the ValueHolder.Builder avoiding the need to create one manually via ValueHolder.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to block(ValueHolder).

      Parameters:
      block - a consumer that will call methods on ValueHolder.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • 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.

      This is a convenience method that creates an instance of the ValueHolder.Builder avoiding the need to create one manually via ValueHolder.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to proof(ValueHolder).

      Parameters:
      proof - a consumer that will call methods on ValueHolder.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: