@Generated(value="software.amazon.awssdk:codegen") public final class GetBlockRequest extends QldbRequest implements ToCopyableBuilder<GetBlockRequest.Builder,GetBlockRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetBlockRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
ValueHolder |
blockAddress()
The location of the block that you want to request.
|
static GetBlockRequest.Builder |
builder() |
ValueHolder |
digestTipAddress()
The latest block location covered by the digest for which to request a proof.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the ledger.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetBlockRequest.Builder> |
serializableBuilderClass() |
GetBlockRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the ledger.
public final ValueHolder blockAddress()
The location of the block that you want to request. An address is an Amazon Ion structure that has two fields:
strandId and sequenceNo.
For example: {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:14}.
strandId and sequenceNo.
For example: {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:14}.
public final ValueHolder digestTipAddress()
The latest block location covered by the digest for which to request a proof. An address is an Amazon Ion
structure that has two fields: strandId and sequenceNo.
For example: {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:49}.
strandId and sequenceNo.
For example: {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:49}.
public GetBlockRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetBlockRequest.Builder,GetBlockRequest>toBuilder in class QldbRequestpublic static GetBlockRequest.Builder builder()
public static Class<? extends GetBlockRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.