public static interface GetSnapshotBlockRequest.Builder extends EbsRequest.Builder, SdkPojo, CopyableBuilder<GetSnapshotBlockRequest.Builder,GetSnapshotBlockRequest>
| Modifier and Type | Method and Description |
|---|---|
GetSnapshotBlockRequest.Builder |
blockIndex(Integer blockIndex)
The block index of the block in which to read the data.
|
GetSnapshotBlockRequest.Builder |
blockToken(String blockToken)
The block token of the block from which to get data.
|
GetSnapshotBlockRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
GetSnapshotBlockRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
GetSnapshotBlockRequest.Builder |
snapshotId(String snapshotId)
The ID of the snapshot containing the block from which to get data.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetSnapshotBlockRequest.Builder snapshotId(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.
GetSnapshotBlockRequest.Builder blockIndex(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.GetSnapshotBlockRequest.Builder blockToken(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.GetSnapshotBlockRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderGetSnapshotBlockRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.