@Generated(value="software.amazon.awssdk:codegen") public final class GetSnapshotBlockRequest extends EbsRequest implements ToCopyableBuilder<GetSnapshotBlockRequest.Builder,GetSnapshotBlockRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetSnapshotBlockRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
Integer |
blockIndex()
The block index of the block in which to read the data.
|
String |
blockToken()
The block token of the block from which to get data.
|
static GetSnapshotBlockRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetSnapshotBlockRequest.Builder> |
serializableBuilderClass() |
String |
snapshotId()
The ID of the snapshot containing the block from which to get data.
|
GetSnapshotBlockRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
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 final 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.
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 final 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 by
running the ListChangedBlocks or ListSnapshotBlocks operations.public GetSnapshotBlockRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetSnapshotBlockRequest.Builder,GetSnapshotBlockRequest>toBuilder in class EbsRequestpublic static GetSnapshotBlockRequest.Builder builder()
public static Class<? extends GetSnapshotBlockRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.