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 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

      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}.

      Parameters:
      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}.

      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: strandId and sequenceNo.

      For example: {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:14}.

      This is a convenience method that creates an instance of the 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).

      Parameters:
      blockAddress - a consumer that will call methods on ValueHolder.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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: strandId and sequenceNo.

      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: strandId and sequenceNo.

      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: strandId and sequenceNo.

      For example: {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:49}.

      This is a convenience method that creates an instance of the 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).

      Parameters:
      digestTipAddress - a consumer that will call methods on ValueHolder.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.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.