public static interface GetRevisionRequest.Builder extends QldbRequest.Builder, SdkPojo, CopyableBuilder<GetRevisionRequest.Builder,GetRevisionRequest>
Modifier and Type | Method and Description |
---|---|
default GetRevisionRequest.Builder |
blockAddress(Consumer<ValueHolder.Builder> blockAddress)
The block location of the document revision to be verified.
|
GetRevisionRequest.Builder |
blockAddress(ValueHolder blockAddress)
The block location of the document revision to be verified.
|
default GetRevisionRequest.Builder |
digestTipAddress(Consumer<ValueHolder.Builder> digestTipAddress)
The latest block location covered by the digest for which to request a proof.
|
GetRevisionRequest.Builder |
digestTipAddress(ValueHolder digestTipAddress)
The latest block location covered by the digest for which to request a proof.
|
GetRevisionRequest.Builder |
documentId(String documentId)
The unique ID of the document to be verified.
|
GetRevisionRequest.Builder |
name(String name)
The name of the ledger.
|
GetRevisionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
GetRevisionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
GetRevisionRequest.Builder name(String name)
The name of the ledger.
name
- The name of the ledger.GetRevisionRequest.Builder blockAddress(ValueHolder blockAddress)
The block location of the document revision to be verified. An address is an Amazon Ion structure that has
two fields: strandId
and sequenceNo
.
For example: {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:14}
blockAddress
- The block location of the document revision to be verified. An address is an Amazon Ion structure that
has two fields: strandId
and sequenceNo
.
For example: {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:14}
default GetRevisionRequest.Builder blockAddress(Consumer<ValueHolder.Builder> blockAddress)
The block location of the document revision to be verified. 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.Builder
blockAddress(ValueHolder)
GetRevisionRequest.Builder documentId(String documentId)
The unique ID of the document to be verified.
documentId
- The unique ID of the document to be verified.GetRevisionRequest.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 GetRevisionRequest.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.Builder
digestTipAddress(ValueHolder)
GetRevisionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.GetRevisionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.