@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetBlockResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetBlockResult() |
Modifier and Type | Method and Description |
---|---|
GetBlockResult |
clone() |
boolean |
equals(Object obj) |
ValueHolder |
getBlock()
The block data object in Amazon Ion format.
|
ValueHolder |
getProof()
The proof object in Amazon Ion format returned by a
GetBlock request. |
int |
hashCode() |
void |
setBlock(ValueHolder block)
The block data object in Amazon Ion format.
|
void |
setProof(ValueHolder proof)
The proof object in Amazon Ion format returned by a
GetBlock request. |
String |
toString()
Returns a string representation of this object.
|
GetBlockResult |
withBlock(ValueHolder block)
The block data object in Amazon Ion format.
|
GetBlockResult |
withProof(ValueHolder proof)
The proof object in Amazon Ion format returned by a
GetBlock request. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setBlock(ValueHolder block)
The block data object in Amazon Ion format.
block
- The block data object in Amazon Ion format.public ValueHolder getBlock()
The block data object in Amazon Ion format.
public GetBlockResult withBlock(ValueHolder block)
The block data object in Amazon Ion format.
block
- The block data object in Amazon Ion format.public void setProof(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.
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.public ValueHolder getProof()
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.
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.public GetBlockResult withProof(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.
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.public String toString()
toString
in class Object
Object.toString()
public GetBlockResult clone()