@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetRevisionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetRevisionResult() |
Modifier and Type | Method and Description |
---|---|
GetRevisionResult |
clone() |
boolean |
equals(Object obj) |
ValueHolder |
getProof()
The proof object in Amazon Ion format returned by a
GetRevision request. |
ValueHolder |
getRevision()
The document revision data object in Amazon Ion format.
|
int |
hashCode() |
void |
setProof(ValueHolder proof)
The proof object in Amazon Ion format returned by a
GetRevision request. |
void |
setRevision(ValueHolder revision)
The document revision data object in Amazon Ion format.
|
String |
toString()
Returns a string representation of this object.
|
GetRevisionResult |
withProof(ValueHolder proof)
The proof object in Amazon Ion format returned by a
GetRevision request. |
GetRevisionResult |
withRevision(ValueHolder revision)
The document revision data object in Amazon Ion format.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setProof(ValueHolder proof)
The proof object in Amazon Ion format returned by a GetRevision
request. A proof contains the list
of hash values that are required to recalculate the specified digest using a Merkle tree, starting with the
specified document revision.
proof
- The proof object in Amazon Ion format returned by a GetRevision
request. A proof contains the
list of hash values that are required to recalculate the specified digest using a Merkle tree, starting
with the specified document revision.public ValueHolder getProof()
The proof object in Amazon Ion format returned by a GetRevision
request. A proof contains the list
of hash values that are required to recalculate the specified digest using a Merkle tree, starting with the
specified document revision.
GetRevision
request. A proof contains
the list of hash values that are required to recalculate the specified digest using a Merkle tree,
starting with the specified document revision.public GetRevisionResult withProof(ValueHolder proof)
The proof object in Amazon Ion format returned by a GetRevision
request. A proof contains the list
of hash values that are required to recalculate the specified digest using a Merkle tree, starting with the
specified document revision.
proof
- The proof object in Amazon Ion format returned by a GetRevision
request. A proof contains the
list of hash values that are required to recalculate the specified digest using a Merkle tree, starting
with the specified document revision.public void setRevision(ValueHolder revision)
The document revision data object in Amazon Ion format.
revision
- The document revision data object in Amazon Ion format.public ValueHolder getRevision()
The document revision data object in Amazon Ion format.
public GetRevisionResult withRevision(ValueHolder revision)
The document revision data object in Amazon Ion format.
revision
- The document revision data object in Amazon Ion format.public String toString()
toString
in class Object
Object.toString()
public GetRevisionResult clone()