Class GetBlockResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.qldb.model.QldbResponse
-
- software.amazon.awssdk.services.qldb.model.GetBlockResponse
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<GetBlockResponse.Builder,GetBlockResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetBlockResponse extends QldbResponse implements ToCopyableBuilder<GetBlockResponse.Builder,GetBlockResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
GetBlockResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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 aGetBlock
request.List<SdkField<?>>
sdkFields()
static Class<? extends GetBlockResponse.Builder>
serializableBuilderClass()
GetBlockResponse.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.qldb.model.QldbResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
block
public final ValueHolder block()
The block data object in Amazon Ion format.
- Returns:
- The block data object in Amazon Ion format.
-
proof
public final 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.- Returns:
- 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.
-
toBuilder
public GetBlockResponse.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<GetBlockResponse.Builder,GetBlockResponse>
- Specified by:
toBuilder
in classAwsResponse
-
builder
public static GetBlockResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetBlockResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForField
in classSdkResponse
-
-