Class SnapshotTaskDetail
java.lang.Object
software.amazon.awssdk.services.ec2.model.SnapshotTaskDetail
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SnapshotTaskDetail.Builder,SnapshotTaskDetail>
@Generated("software.amazon.awssdk:codegen")
public final class SnapshotTaskDetail
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<SnapshotTaskDetail.Builder,SnapshotTaskDetail>
Details about the import snapshot task.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic SnapshotTaskDetail.Builderbuilder()final StringThe description of the disk image being imported.final DoubleThe size of the disk in the snapshot, in GiB.final BooleanIndicates whether the snapshot is encrypted.final booleanfinal booleanequalsBySdkFields(Object obj) final Stringformat()The format of the disk image from which the snapshot is created.final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringkmsKeyId()The identifier for the KMS key that was used to create the encrypted snapshot.final Stringprogress()The percentage of completion for the import snapshot task.static Class<? extends SnapshotTaskDetail.Builder>final StringThe snapshot ID of the disk being imported.final Stringstatus()A brief status for the import snapshot task.final StringA detailed status message for the import snapshot task.final StringtoString()Returns a string representation of this object.final Stringurl()The URL of the disk image from which the snapshot is created.final UserBucketDetailsThe Amazon S3 bucket for the disk image.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
description
The description of the disk image being imported.
- Returns:
- The description of the disk image being imported.
-
diskImageSize
The size of the disk in the snapshot, in GiB.
- Returns:
- The size of the disk in the snapshot, in GiB.
-
encrypted
Indicates whether the snapshot is encrypted.
- Returns:
- Indicates whether the snapshot is encrypted.
-
format
The format of the disk image from which the snapshot is created.
- Returns:
- The format of the disk image from which the snapshot is created.
-
kmsKeyId
The identifier for the KMS key that was used to create the encrypted snapshot.
- Returns:
- The identifier for the KMS key that was used to create the encrypted snapshot.
-
progress
The percentage of completion for the import snapshot task.
- Returns:
- The percentage of completion for the import snapshot task.
-
snapshotId
The snapshot ID of the disk being imported.
- Returns:
- The snapshot ID of the disk being imported.
-
status
A brief status for the import snapshot task.
- Returns:
- A brief status for the import snapshot task.
-
statusMessage
A detailed status message for the import snapshot task.
- Returns:
- A detailed status message for the import snapshot task.
-
url
The URL of the disk image from which the snapshot is created.
- Returns:
- The URL of the disk image from which the snapshot is created.
-
userBucket
The Amazon S3 bucket for the disk image.
- Returns:
- The Amazon S3 bucket for the disk image.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<SnapshotTaskDetail.Builder,SnapshotTaskDetail>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-