@Generated(value="software.amazon.awssdk:codegen") public final class GetSnapshotBlockResponse extends EbsResponse implements ToCopyableBuilder<GetSnapshotBlockResponse.Builder,GetSnapshotBlockResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetSnapshotBlockResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetSnapshotBlockResponse.Builder |
builder() |
String |
checksum()
The checksum generated for the block, which is Base64 encoded.
|
ChecksumAlgorithm |
checksumAlgorithm()
The algorithm used to generate the checksum for the block, such as SHA256.
|
String |
checksumAlgorithmAsString()
The algorithm used to generate the checksum for the block, such as SHA256.
|
Integer |
dataLength()
The size of the data in the block.
|
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 GetSnapshotBlockResponse.Builder> |
serializableBuilderClass() |
GetSnapshotBlockResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer dataLength()
The size of the data in the block.
public final String checksum()
The checksum generated for the block, which is Base64 encoded.
public final ChecksumAlgorithm checksumAlgorithm()
The algorithm used to generate the checksum for the block, such as 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().
ChecksumAlgorithmpublic final String checksumAlgorithmAsString()
The algorithm used to generate the checksum for the block, such as 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().
ChecksumAlgorithmpublic GetSnapshotBlockResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetSnapshotBlockResponse.Builder,GetSnapshotBlockResponse>toBuilder in class AwsResponsepublic static GetSnapshotBlockResponse.Builder builder()
public static Class<? extends GetSnapshotBlockResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic 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 SdkResponseCopyright © 2022. All rights reserved.