@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetSnapshotBlockResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetSnapshotBlockResult() |
Modifier and Type | Method and Description |
---|---|
GetSnapshotBlockResult |
clone() |
boolean |
equals(Object obj) |
InputStream |
getBlockData()
The data content of the block.
|
String |
getChecksum()
The checksum generated for the block, which is Base64 encoded.
|
String |
getChecksumAlgorithm()
The algorithm used to generate the checksum for the block, such as SHA256.
|
Integer |
getDataLength()
The size of the data in the block.
|
int |
hashCode() |
void |
setBlockData(InputStream blockData)
The data content of the block.
|
void |
setChecksum(String checksum)
The checksum generated for the block, which is Base64 encoded.
|
void |
setChecksumAlgorithm(String checksumAlgorithm)
The algorithm used to generate the checksum for the block, such as SHA256.
|
void |
setDataLength(Integer dataLength)
The size of the data in the block.
|
String |
toString()
Returns a string representation of this object.
|
GetSnapshotBlockResult |
withBlockData(InputStream blockData)
The data content of the block.
|
GetSnapshotBlockResult |
withChecksum(String checksum)
The checksum generated for the block, which is Base64 encoded.
|
GetSnapshotBlockResult |
withChecksumAlgorithm(ChecksumAlgorithm checksumAlgorithm)
The algorithm used to generate the checksum for the block, such as SHA256.
|
GetSnapshotBlockResult |
withChecksumAlgorithm(String checksumAlgorithm)
The algorithm used to generate the checksum for the block, such as SHA256.
|
GetSnapshotBlockResult |
withDataLength(Integer dataLength)
The size of the data in the block.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setDataLength(Integer dataLength)
The size of the data in the block.
dataLength
- The size of the data in the block.public Integer getDataLength()
The size of the data in the block.
public GetSnapshotBlockResult withDataLength(Integer dataLength)
The size of the data in the block.
dataLength
- The size of the data in the block.public void setBlockData(InputStream blockData)
The data content of the block.
blockData
- The data content of the block.public InputStream getBlockData()
The data content of the block.
public GetSnapshotBlockResult withBlockData(InputStream blockData)
The data content of the block.
blockData
- The data content of the block.public void setChecksum(String checksum)
The checksum generated for the block, which is Base64 encoded.
checksum
- The checksum generated for the block, which is Base64 encoded.public String getChecksum()
The checksum generated for the block, which is Base64 encoded.
public GetSnapshotBlockResult withChecksum(String checksum)
The checksum generated for the block, which is Base64 encoded.
checksum
- The checksum generated for the block, which is Base64 encoded.public void setChecksumAlgorithm(String checksumAlgorithm)
The algorithm used to generate the checksum for the block, such as SHA256.
checksumAlgorithm
- The algorithm used to generate the checksum for the block, such as SHA256.ChecksumAlgorithm
public String getChecksumAlgorithm()
The algorithm used to generate the checksum for the block, such as SHA256.
ChecksumAlgorithm
public GetSnapshotBlockResult withChecksumAlgorithm(String checksumAlgorithm)
The algorithm used to generate the checksum for the block, such as SHA256.
checksumAlgorithm
- The algorithm used to generate the checksum for the block, such as SHA256.ChecksumAlgorithm
public GetSnapshotBlockResult withChecksumAlgorithm(ChecksumAlgorithm checksumAlgorithm)
The algorithm used to generate the checksum for the block, such as SHA256.
checksumAlgorithm
- The algorithm used to generate the checksum for the block, such as SHA256.ChecksumAlgorithm
public String toString()
toString
in class Object
Object.toString()
public GetSnapshotBlockResult clone()