Interface GetDigestResponse.Builder

  • Method Details

    • digest

      The 256-bit hash value representing the digest returned by a GetDigest request.

      Parameters:
      digest - The 256-bit hash value representing the digest returned by a GetDigest request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • digestTipAddress

      GetDigestResponse.Builder digestTipAddress(ValueHolder digestTipAddress)

      The latest block location covered by the digest that you requested. An address is an Amazon Ion structure that has two fields: strandId and sequenceNo.

      Parameters:
      digestTipAddress - The latest block location covered by the digest that you requested. An address is an Amazon Ion structure that has two fields: strandId and sequenceNo.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • digestTipAddress

      default GetDigestResponse.Builder digestTipAddress(Consumer<ValueHolder.Builder> digestTipAddress)

      The latest block location covered by the digest that you requested. An address is an Amazon Ion structure that has two fields: strandId and sequenceNo.

      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: