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 aGetDigestrequest.default GetDigestResponse.BuilderdigestTipAddress(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
copyMethods inherited from interface software.amazon.awssdk.services.qldb.model.QldbResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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
GetDigestrequest.- Parameters:
digest- The 256-bit hash value representing the digest returned by aGetDigestrequest.- 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:
strandIdandsequenceNo.- Parameters:
digestTipAddress- The latest block location covered by the digest that you requested. An address is an Amazon Ion structure that has two fields:strandIdandsequenceNo.- 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 thestrandIdandsequenceNo.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:
-