public static interface GetBlockResponse.Builder extends QldbResponse.Builder, SdkPojo, CopyableBuilder<GetBlockResponse.Builder,GetBlockResponse>
| Modifier and Type | Method and Description |
|---|---|
default GetBlockResponse.Builder |
block(Consumer<ValueHolder.Builder> block)
The block data object in Amazon Ion format.
|
GetBlockResponse.Builder |
block(ValueHolder block)
The block data object in Amazon Ion format.
|
default GetBlockResponse.Builder |
proof(Consumer<ValueHolder.Builder> proof)
The proof object in Amazon Ion format returned by a
GetBlock request. |
GetBlockResponse.Builder |
proof(ValueHolder proof)
The proof object in Amazon Ion format returned by a
GetBlock request. |
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetBlockResponse.Builder block(ValueHolder block)
The block data object in Amazon Ion format.
block - The block data object in Amazon Ion format.default GetBlockResponse.Builder block(Consumer<ValueHolder.Builder> block)
The block 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 block(ValueHolder).block - a consumer that will call methods on ValueHolder.Builderblock(ValueHolder)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.
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.default GetBlockResponse.Builder proof(Consumer<ValueHolder.Builder> 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.
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)Copyright © 2022. All rights reserved.