public static interface GetRevisionResponse.Builder extends QldbResponse.Builder, SdkPojo, CopyableBuilder<GetRevisionResponse.Builder,GetRevisionResponse>
| Modifier and Type | Method and Description |
|---|---|
default GetRevisionResponse.Builder |
proof(Consumer<ValueHolder.Builder> proof)
The proof object in Amazon Ion format returned by a
GetRevision request. |
GetRevisionResponse.Builder |
proof(ValueHolder proof)
The proof object in Amazon Ion format returned by a
GetRevision request. |
default GetRevisionResponse.Builder |
revision(Consumer<ValueHolder.Builder> revision)
The document revision data object in Amazon Ion format.
|
GetRevisionResponse.Builder |
revision(ValueHolder revision)
The document revision data object in Amazon Ion format.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetRevisionResponse.Builder proof(ValueHolder 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.
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.default GetRevisionResponse.Builder proof(Consumer<ValueHolder.Builder> 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.
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).
proof - a consumer that will call methods on ValueHolder.Builderproof(ValueHolder)GetRevisionResponse.Builder revision(ValueHolder revision)
The document revision data object in Amazon Ion format.
revision - The document revision data object in Amazon Ion format.default GetRevisionResponse.Builder revision(Consumer<ValueHolder.Builder> revision)
The document revision data object in Amazon Ion format.
This is a convenience method that creates an instance of theValueHolder.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).
revision - a consumer that will call methods on ValueHolder.Builderrevision(ValueHolder)Copyright © 2023. All rights reserved.