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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSnapshotTaskDetail.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SnapshotTaskDetail.Builderbuilder()Stringdescription()The description of the disk image being imported.DoublediskImageSize()The size of the disk in the snapshot, in GiB.Booleanencrypted()Indicates whether the snapshot is encrypted.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Stringformat()The format of the disk image from which the snapshot is created.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringkmsKeyId()The identifier for the KMS key that was used to create the encrypted snapshot.Stringprogress()The percentage of completion for the import snapshot task.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends SnapshotTaskDetail.Builder>serializableBuilderClass()StringsnapshotId()The snapshot ID of the disk being imported.Stringstatus()A brief status for the import snapshot task.StringstatusMessage()A detailed status message for the import snapshot task.SnapshotTaskDetail.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringurl()The URL of the disk image from which the snapshot is created.UserBucketDetailsuserBucket()The Amazon S3 bucket for the disk image.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
description
public final String description()
The description of the disk image being imported.
- Returns:
- The description of the disk image being imported.
-
diskImageSize
public final Double diskImageSize()
The size of the disk in the snapshot, in GiB.
- Returns:
- The size of the disk in the snapshot, in GiB.
-
encrypted
public final Boolean encrypted()
Indicates whether the snapshot is encrypted.
- Returns:
- Indicates whether the snapshot is encrypted.
-
format
public final String 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
public final String 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
public final String progress()
The percentage of completion for the import snapshot task.
- Returns:
- The percentage of completion for the import snapshot task.
-
snapshotId
public final String snapshotId()
The snapshot ID of the disk being imported.
- Returns:
- The snapshot ID of the disk being imported.
-
status
public final String status()
A brief status for the import snapshot task.
- Returns:
- A brief status for the import snapshot task.
-
statusMessage
public final String statusMessage()
A detailed status message for the import snapshot task.
- Returns:
- A detailed status message for the import snapshot task.
-
url
public final String 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
public final UserBucketDetails userBucket()
The Amazon S3 bucket for the disk image.
- Returns:
- The Amazon S3 bucket for the disk image.
-
toBuilder
public SnapshotTaskDetail.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SnapshotTaskDetail.Builder,SnapshotTaskDetail>
-
builder
public static SnapshotTaskDetail.Builder builder()
-
serializableBuilderClass
public static Class<? extends SnapshotTaskDetail.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-