@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetBlockRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
GetBlockRequest() |
| Modifier and Type | Method and Description |
|---|---|
GetBlockRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
ValueHolder |
getBlockAddress()
The location of the block that you want to request.
|
ValueHolder |
getDigestTipAddress()
The latest block location covered by the digest for which to request a proof.
|
String |
getName()
The name of the ledger.
|
int |
hashCode() |
void |
setBlockAddress(ValueHolder blockAddress)
The location of the block that you want to request.
|
void |
setDigestTipAddress(ValueHolder digestTipAddress)
The latest block location covered by the digest for which to request a proof.
|
void |
setName(String name)
The name of the ledger.
|
String |
toString()
Returns a string representation of this object.
|
GetBlockRequest |
withBlockAddress(ValueHolder blockAddress)
The location of the block that you want to request.
|
GetBlockRequest |
withDigestTipAddress(ValueHolder digestTipAddress)
The latest block location covered by the digest for which to request a proof.
|
GetBlockRequest |
withName(String name)
The name of the ledger.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setName(String name)
The name of the ledger.
name - The name of the ledger.public String getName()
The name of the ledger.
public GetBlockRequest withName(String name)
The name of the ledger.
name - The name of the ledger.public void setBlockAddress(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}.
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}.
public ValueHolder getBlockAddress()
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 GetBlockRequest withBlockAddress(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}.
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}.
public void setDigestTipAddress(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}.
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}.
public ValueHolder getDigestTipAddress()
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 withDigestTipAddress(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}.
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}.
public String toString()
toString in class ObjectObject.toString()public GetBlockRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()