Interface GetDigestResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetDigestResponse.Builder,
,GetDigestResponse> QldbResponse.Builder
,SdkBuilder<GetDigestResponse.Builder,
,GetDigestResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetDigestResponse
@Mutable
@NotThreadSafe
public static interface GetDigestResponse.Builder
extends QldbResponse.Builder, SdkPojo, CopyableBuilder<GetDigestResponse.Builder,GetDigestResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe 256-bit hash value representing the digest returned by aGetDigest
request.default GetDigestResponse.Builder
digestTipAddress
(Consumer<ValueHolder.Builder> digestTipAddress) The latest block location covered by the digest that you requested.digestTipAddress
(ValueHolder digestTipAddress) The latest block location covered by the digest that you requested.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.qldb.model.QldbResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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 aGetDigest
request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
digestTipAddress
The latest block location covered by the digest that you requested. An address is an Amazon Ion structure that has two fields:
strandId
andsequenceNo
.- 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
andsequenceNo
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
digestTipAddress
The latest block location covered by the digest that you requested. An address is an Amazon Ion structure that has two fields:
This is a convenience method that creates an instance of thestrandId
andsequenceNo
.ValueHolder.Builder
avoiding the need to create one manually viaValueHolder.builder()
.When the
Consumer
completes,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:
-