Interface GetDigestResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetDigestResponse.Builder,GetDigestResponse>,QldbResponse.Builder,SdkBuilder<GetDigestResponse.Builder,GetDigestResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetDigestResponse
public static interface GetDigestResponse.Builder extends QldbResponse.Builder, SdkPojo, CopyableBuilder<GetDigestResponse.Builder,GetDigestResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetDigestResponse.Builderdigest(SdkBytes digest)The 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.GetDigestResponse.BuilderdigestTipAddress(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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
digest
GetDigestResponse.Builder digest(SdkBytes 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
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:
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
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:
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:
digestTipAddress(ValueHolder)
-
-