@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetSnapshotBlockRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
GetSnapshotBlockRequest() |
| Modifier and Type | Method and Description |
|---|---|
GetSnapshotBlockRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getBlockIndex()
The block index of the block in which to read the data.
|
String |
getBlockToken()
The block token of the block from which to get data.
|
String |
getSnapshotId()
The ID of the snapshot containing the block from which to get data.
|
int |
hashCode() |
void |
setBlockIndex(Integer blockIndex)
The block index of the block in which to read the data.
|
void |
setBlockToken(String blockToken)
The block token of the block from which to get data.
|
void |
setSnapshotId(String snapshotId)
The ID of the snapshot containing the block from which to get data.
|
String |
toString()
Returns a string representation of this object.
|
GetSnapshotBlockRequest |
withBlockIndex(Integer blockIndex)
The block index of the block in which to read the data.
|
GetSnapshotBlockRequest |
withBlockToken(String blockToken)
The block token of the block from which to get data.
|
GetSnapshotBlockRequest |
withSnapshotId(String snapshotId)
The ID of the snapshot containing the block from which to get data.
|
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 setSnapshotId(String snapshotId)
The ID of the snapshot containing the block from which to get data.
If the specified snapshot is encrypted, you must have permission to use the KMS key that was used to encrypt the snapshot. For more information, see Using encryption in the Amazon Elastic Compute Cloud User Guide.
snapshotId - The ID of the snapshot containing the block from which to get data. If the specified snapshot is encrypted, you must have permission to use the KMS key that was used to encrypt the snapshot. For more information, see Using encryption in the Amazon Elastic Compute Cloud User Guide.
public String getSnapshotId()
The ID of the snapshot containing the block from which to get data.
If the specified snapshot is encrypted, you must have permission to use the KMS key that was used to encrypt the snapshot. For more information, see Using encryption in the Amazon Elastic Compute Cloud User Guide.
If the specified snapshot is encrypted, you must have permission to use the KMS key that was used to encrypt the snapshot. For more information, see Using encryption in the Amazon Elastic Compute Cloud User Guide.
public GetSnapshotBlockRequest withSnapshotId(String snapshotId)
The ID of the snapshot containing the block from which to get data.
If the specified snapshot is encrypted, you must have permission to use the KMS key that was used to encrypt the snapshot. For more information, see Using encryption in the Amazon Elastic Compute Cloud User Guide.
snapshotId - The ID of the snapshot containing the block from which to get data. If the specified snapshot is encrypted, you must have permission to use the KMS key that was used to encrypt the snapshot. For more information, see Using encryption in the Amazon Elastic Compute Cloud User Guide.
public void setBlockIndex(Integer blockIndex)
The block index of the block in which to read the data. A block index is a logical index in units of
512 KiB blocks. To identify the block index, divide the logical offset of the data in the logical
volume by the block size (logical offset of data/524288). The logical offset of the data must be
512 KiB aligned.
blockIndex - The block index of the block in which to read the data. A block index is a logical index in units of
512 KiB blocks. To identify the block index, divide the logical offset of the data in the
logical volume by the block size (logical offset of data/524288). The logical offset of the
data must be 512 KiB aligned.public Integer getBlockIndex()
The block index of the block in which to read the data. A block index is a logical index in units of
512 KiB blocks. To identify the block index, divide the logical offset of the data in the logical
volume by the block size (logical offset of data/524288). The logical offset of the data must be
512 KiB aligned.
512 KiB blocks. To identify the block index, divide the logical offset of the data in the
logical volume by the block size (logical offset of data/524288). The logical offset of the
data must be 512 KiB aligned.public GetSnapshotBlockRequest withBlockIndex(Integer blockIndex)
The block index of the block in which to read the data. A block index is a logical index in units of
512 KiB blocks. To identify the block index, divide the logical offset of the data in the logical
volume by the block size (logical offset of data/524288). The logical offset of the data must be
512 KiB aligned.
blockIndex - The block index of the block in which to read the data. A block index is a logical index in units of
512 KiB blocks. To identify the block index, divide the logical offset of the data in the
logical volume by the block size (logical offset of data/524288). The logical offset of the
data must be 512 KiB aligned.public void setBlockToken(String blockToken)
The block token of the block from which to get data. You can obtain the BlockToken by running the
ListChangedBlocks or ListSnapshotBlocks operations.
blockToken - The block token of the block from which to get data. You can obtain the BlockToken by running
the ListChangedBlocks or ListSnapshotBlocks operations.public String getBlockToken()
The block token of the block from which to get data. You can obtain the BlockToken by running the
ListChangedBlocks or ListSnapshotBlocks operations.
BlockToken by
running the ListChangedBlocks or ListSnapshotBlocks operations.public GetSnapshotBlockRequest withBlockToken(String blockToken)
The block token of the block from which to get data. You can obtain the BlockToken by running the
ListChangedBlocks or ListSnapshotBlocks operations.
blockToken - The block token of the block from which to get data. You can obtain the BlockToken by running
the ListChangedBlocks or ListSnapshotBlocks operations.public String toString()
toString in class ObjectObject.toString()public GetSnapshotBlockRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()