Interface GetRevisionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetRevisionRequest.Builder,GetRevisionRequest>,QldbRequest.Builder,SdkBuilder<GetRevisionRequest.Builder,GetRevisionRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- GetRevisionRequest
public static interface GetRevisionRequest.Builder extends QldbRequest.Builder, SdkPojo, CopyableBuilder<GetRevisionRequest.Builder,GetRevisionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetRevisionRequest.BuilderblockAddress(Consumer<ValueHolder.Builder> blockAddress)The block location of the document revision to be verified.GetRevisionRequest.BuilderblockAddress(ValueHolder blockAddress)The block location of the document revision to be verified.default GetRevisionRequest.BuilderdigestTipAddress(Consumer<ValueHolder.Builder> digestTipAddress)The latest block location covered by the digest for which to request a proof.GetRevisionRequest.BuilderdigestTipAddress(ValueHolder digestTipAddress)The latest block location covered by the digest for which to request a proof.GetRevisionRequest.BuilderdocumentId(String documentId)The UUID (represented in Base62-encoded text) of the document to be verified.GetRevisionRequest.Buildername(String name)The name of the ledger.GetRevisionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)GetRevisionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.qldb.model.QldbRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
name
GetRevisionRequest.Builder name(String name)
The name of the ledger.
- Parameters:
name- The name of the ledger.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blockAddress
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:
strandIdandsequenceNo.For example:
{strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:14}.- Parameters:
blockAddress- The block location of the document revision to be verified. An address is an Amazon Ion structure that has two fields:strandIdandsequenceNo.For example:
{strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:14}.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blockAddress
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:
strandIdandsequenceNo.For example:
This is a convenience method that creates an instance of the{strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:14}.ValueHolder.Builderavoiding the need to create one manually viaValueHolder.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toblockAddress(ValueHolder).- Parameters:
blockAddress- a consumer that will call methods onValueHolder.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
blockAddress(ValueHolder)
-
documentId
GetRevisionRequest.Builder documentId(String documentId)
The UUID (represented in Base62-encoded text) of the document to be verified.
- Parameters:
documentId- The UUID (represented in Base62-encoded text) of the document to be verified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
digestTipAddress
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:
strandIdandsequenceNo.For example:
{strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:49}.- Parameters:
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:strandIdandsequenceNo.For example:
{strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:49}.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
digestTipAddress
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:
strandIdandsequenceNo.For example:
This is a convenience method that creates an instance of the{strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:49}.ValueHolder.Builderavoiding the need to create one manually viaValueHolder.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todigestTipAddress(ValueHolder).- Parameters:
digestTipAddress- a consumer that will call methods onValueHolder.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
digestTipAddress(ValueHolder)
-
overrideConfiguration
GetRevisionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetRevisionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-