@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetRevisionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
GetRevisionRequest() |
| Modifier and Type | Method and Description |
|---|---|
GetRevisionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
ValueHolder |
getBlockAddress()
The block location of the document revision to be verified.
|
ValueHolder |
getDigestTipAddress()
The latest block location covered by the digest for which to request a proof.
|
String |
getDocumentId()
The UUID (represented in Base62-encoded text) of the document to be verified.
|
String |
getName()
The name of the ledger.
|
int |
hashCode() |
void |
setBlockAddress(ValueHolder blockAddress)
The block location of the document revision to be verified.
|
void |
setDigestTipAddress(ValueHolder digestTipAddress)
The latest block location covered by the digest for which to request a proof.
|
void |
setDocumentId(String documentId)
The UUID (represented in Base62-encoded text) of the document to be verified.
|
void |
setName(String name)
The name of the ledger.
|
String |
toString()
Returns a string representation of this object.
|
GetRevisionRequest |
withBlockAddress(ValueHolder blockAddress)
The block location of the document revision to be verified.
|
GetRevisionRequest |
withDigestTipAddress(ValueHolder digestTipAddress)
The latest block location covered by the digest for which to request a proof.
|
GetRevisionRequest |
withDocumentId(String documentId)
The UUID (represented in Base62-encoded text) of the document to be verified.
|
GetRevisionRequest |
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 GetRevisionRequest withName(String name)
The name of the ledger.
name - The name of the ledger.public void setBlockAddress(ValueHolder blockAddress)
The block location of the document revision to be verified. An address is an Amazon Ion structure that has two
fields: strandId and sequenceNo.
For example: {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:14}.
blockAddress - The block location of the document revision to be verified. An address is an Amazon Ion structure that has
two fields: strandId and sequenceNo.
For example: {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:14}.
public ValueHolder getBlockAddress()
The block location of the document revision to be verified. 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 GetRevisionRequest withBlockAddress(ValueHolder blockAddress)
The block location of the document revision to be verified. An address is an Amazon Ion structure that has two
fields: strandId and sequenceNo.
For example: {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:14}.
blockAddress - The block location of the document revision to be verified. An address is an Amazon Ion structure that has
two fields: strandId and sequenceNo.
For example: {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:14}.
public void setDocumentId(String documentId)
The UUID (represented in Base62-encoded text) of the document to be verified.
documentId - The UUID (represented in Base62-encoded text) of the document to be verified.public String getDocumentId()
The UUID (represented in Base62-encoded text) of the document to be verified.
public GetRevisionRequest withDocumentId(String documentId)
The UUID (represented in Base62-encoded text) of the document to be verified.
documentId - The UUID (represented in Base62-encoded text) of the document to be verified.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 GetRevisionRequest 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 GetRevisionRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()