Interface GetRevisionResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<GetRevisionResponse.Builder,GetRevisionResponse>, QldbResponse.Builder, SdkBuilder<GetRevisionResponse.Builder,GetRevisionResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetRevisionResponse

public static interface GetRevisionResponse.Builder extends QldbResponse.Builder, SdkPojo, CopyableBuilder<GetRevisionResponse.Builder,GetRevisionResponse>
  • Method Details

    • proof

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

      Parameters:
      proof - The proof object in Amazon Ion format returned by a GetRevision request. A proof contains the list of hash values that are required to recalculate the specified digest using a Merkle tree, starting with the specified document revision.
      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 GetRevision request. A proof contains the list of hash values that are required to recalculate the specified digest using a Merkle tree, starting with the specified document revision.

      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:
    • revision

      The document revision data object in Amazon Ion format.

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

      The document revision 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 revision(ValueHolder).

      Parameters:
      revision - 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: