Interface GetRevisionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetRevisionResponse.Builder,,GetRevisionResponse> QldbResponse.Builder,SdkBuilder<GetRevisionResponse.Builder,,GetRevisionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetRevisionResponse
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetRevisionResponse.Builderproof(Consumer<ValueHolder.Builder> proof) The proof object in Amazon Ion format returned by aGetRevisionrequest.proof(ValueHolder proof) The proof object in Amazon Ion format returned by aGetRevisionrequest.default GetRevisionResponse.Builderrevision(Consumer<ValueHolder.Builder> revision) The document revision data object in Amazon Ion format.revision(ValueHolder revision) The document revision data object in Amazon Ion format.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
proof
The proof object in Amazon Ion format returned by a
GetRevisionrequest. A proof contains the list of hash values that are required to recalculate the specified digest using a Merkle tree, starting with the specified document revision.- Parameters:
proof- The proof object in Amazon Ion format returned by aGetRevisionrequest. A proof contains the list of hash values that are required to recalculate the specified digest using a Merkle tree, starting with the specified document revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
proof
The proof object in Amazon Ion format returned by a
This is a convenience method that creates an instance of theGetRevisionrequest. A proof contains the list of hash values that are required to recalculate the specified digest using a Merkle tree, starting with the specified document revision.ValueHolder.Builderavoiding the need to create one manually viaValueHolder.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toproof(ValueHolder).- Parameters:
proof- 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:
-
revision
The document revision data object in Amazon Ion format.
- Parameters:
revision- The document revision data object in Amazon Ion format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revision
The document revision data object in Amazon Ion format.
This is a convenience method that creates an instance of theValueHolder.Builderavoiding the need to create one manually viaValueHolder.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torevision(ValueHolder).- Parameters:
revision- 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:
-