Interface GetRevisionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetRevisionRequest.Builder,,GetRevisionRequest> QldbRequest.Builder,SdkBuilder<GetRevisionRequest.Builder,,GetRevisionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GetRevisionRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetRevisionRequest.BuilderblockAddress(Consumer<ValueHolder.Builder> blockAddress) The block location of the document revision to be verified.blockAddress(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.digestTipAddress(ValueHolder digestTipAddress) The latest block location covered by the digest for which to request a proof.documentId(String documentId) The UUID (represented in Base62-encoded text) of the document to be verified.The name of the ledger.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.qldb.model.QldbRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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:
-
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
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
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:
-
overrideConfiguration
GetRevisionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetRevisionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-