@Generated(value="software.amazon.awssdk:codegen") public final class GetBlockResponse extends QldbResponse implements ToCopyableBuilder<GetBlockResponse.Builder,GetBlockResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetBlockResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
ValueHolder |
block()
The block data object in Amazon Ion format.
|
static GetBlockResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ValueHolder |
proof()
The proof object in Amazon Ion format returned by a
GetBlock request. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetBlockResponse.Builder> |
serializableBuilderClass() |
GetBlockResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic ValueHolder block()
The block data object in Amazon Ion format.
public ValueHolder proof()
The proof object in Amazon Ion format returned by a GetBlock request. A proof contains the list of
hash values required to recalculate the specified digest using a Merkle tree, starting with the specified block.
GetBlock request. A proof contains the
list of hash values required to recalculate the specified digest using a Merkle tree, starting with the
specified block.public GetBlockResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetBlockResponse.Builder,GetBlockResponse>toBuilder in class AwsResponsepublic static GetBlockResponse.Builder builder()
public static Class<? extends GetBlockResponse.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsResponsepublic boolean equals(Object obj)
equals in class AwsResponsepublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2020. All rights reserved.