public static interface GetBlockRequest.Builder extends QldbRequest.Builder, SdkPojo, CopyableBuilder<GetBlockRequest.Builder,GetBlockRequest>
| Modifier and Type | Method and Description |
|---|---|
default GetBlockRequest.Builder |
blockAddress(Consumer<ValueHolder.Builder> blockAddress)
The location of the block that you want to request.
|
GetBlockRequest.Builder |
blockAddress(ValueHolder blockAddress)
The location of the block that you want to request.
|
default GetBlockRequest.Builder |
digestTipAddress(Consumer<ValueHolder.Builder> digestTipAddress)
The latest block location covered by the digest for which to request a proof.
|
GetBlockRequest.Builder |
digestTipAddress(ValueHolder digestTipAddress)
The latest block location covered by the digest for which to request a proof.
|
GetBlockRequest.Builder |
name(String name)
The name of the ledger.
|
GetBlockRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
GetBlockRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetBlockRequest.Builder name(String name)
The name of the ledger.
name - The name of the ledger.GetBlockRequest.Builder blockAddress(ValueHolder blockAddress)
The location of the block that you want to request. An address is an Amazon Ion structure that has two
fields: strandId and sequenceNo.
For example: {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:14}.
blockAddress - The location of the block that you want to request. An address is an Amazon Ion structure that has two
fields: strandId and sequenceNo.
For example: {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:14}.
default GetBlockRequest.Builder blockAddress(Consumer<ValueHolder.Builder> blockAddress)
The location of the block that you want to request. An address is an Amazon Ion structure that has two
fields: strandId and sequenceNo.
For example: {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:14}.
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 blockAddress(ValueHolder).blockAddress - a consumer that will call methods on ValueHolder.BuilderblockAddress(ValueHolder)GetBlockRequest.Builder digestTipAddress(ValueHolder digestTipAddress)
The latest block location covered by the digest for which to request a proof. An address is an Amazon Ion
structure that has two fields: strandId and sequenceNo.
For example: {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:49}.
digestTipAddress - The latest block location covered by the digest for which to request a proof. An address is an Amazon
Ion structure that has two fields: strandId and sequenceNo.
For example: {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:49}.
default GetBlockRequest.Builder digestTipAddress(Consumer<ValueHolder.Builder> digestTipAddress)
The latest block location covered by the digest for which to request a proof. An address is an Amazon Ion
structure that has two fields: strandId and sequenceNo.
For example: {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:49}.
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 digestTipAddress(ValueHolder).digestTipAddress - a consumer that will call methods on ValueHolder.BuilderdigestTipAddress(ValueHolder)GetBlockRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderGetBlockRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.