@Generated(value="software.amazon.awssdk:codegen") public final class CompleteSnapshotRequest extends EbsRequest implements ToCopyableBuilder<CompleteSnapshotRequest.Builder,CompleteSnapshotRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CompleteSnapshotRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CompleteSnapshotRequest.Builder |
builder() |
Integer |
changedBlocksCount()
The number of blocks that were written to the snapshot.
|
String |
checksum()
An aggregated Base-64 SHA256 checksum based on the checksums of each written block.
|
ChecksumAggregationMethod |
checksumAggregationMethod()
The aggregation method used to generate the checksum.
|
String |
checksumAggregationMethodAsString()
The aggregation method used to generate the checksum.
|
ChecksumAlgorithm |
checksumAlgorithm()
The algorithm used to generate the checksum.
|
String |
checksumAlgorithmAsString()
The algorithm used to generate the checksum.
|
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 CompleteSnapshotRequest.Builder> |
serializableBuilderClass() |
String |
snapshotId()
The ID of the snapshot.
|
CompleteSnapshotRequest.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.
public final Integer changedBlocksCount()
The number of blocks that were written to the snapshot.
public final String checksum()
An aggregated Base-64 SHA256 checksum based on the checksums of each written block.
To generate the aggregated checksum using the linear aggregation method, arrange the checksums for each written block in ascending order of their block index, concatenate them to form a single string, and then generate the checksum on the entire string using the SHA256 algorithm.
To generate the aggregated checksum using the linear aggregation method, arrange the checksums for each written block in ascending order of their block index, concatenate them to form a single string, and then generate the checksum on the entire string using the SHA256 algorithm.
public final ChecksumAlgorithm checksumAlgorithm()
The algorithm used to generate the checksum. Currently, the only supported algorithm is SHA256.
If the service returns an enum value that is not available in the current SDK version, checksumAlgorithm
will return ChecksumAlgorithm.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from checksumAlgorithmAsString().
SHA256.ChecksumAlgorithmpublic final String checksumAlgorithmAsString()
The algorithm used to generate the checksum. Currently, the only supported algorithm is SHA256.
If the service returns an enum value that is not available in the current SDK version, checksumAlgorithm
will return ChecksumAlgorithm.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from checksumAlgorithmAsString().
SHA256.ChecksumAlgorithmpublic final ChecksumAggregationMethod checksumAggregationMethod()
The aggregation method used to generate the checksum. Currently, the only supported aggregation method is
LINEAR.
If the service returns an enum value that is not available in the current SDK version,
checksumAggregationMethod will return ChecksumAggregationMethod.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from checksumAggregationMethodAsString().
LINEAR.ChecksumAggregationMethodpublic final String checksumAggregationMethodAsString()
The aggregation method used to generate the checksum. Currently, the only supported aggregation method is
LINEAR.
If the service returns an enum value that is not available in the current SDK version,
checksumAggregationMethod will return ChecksumAggregationMethod.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from checksumAggregationMethodAsString().
LINEAR.ChecksumAggregationMethodpublic CompleteSnapshotRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CompleteSnapshotRequest.Builder,CompleteSnapshotRequest>toBuilder in class EbsRequestpublic static CompleteSnapshotRequest.Builder builder()
public static Class<? extends CompleteSnapshotRequest.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 © 2022. All rights reserved.