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 interface
SnapshotTaskDetail.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SnapshotTaskDetail.Builder
builder()
String
description()
The description of the snapshot.Double
diskImageSize()
The size of the disk in the snapshot, in GiB.Boolean
encrypted()
Indicates whether the snapshot is encrypted.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
String
format()
The format of the disk image from which the snapshot is created.<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
kmsKeyId()
The identifier for the KMS key that was used to create the encrypted snapshot.String
progress()
The percentage of completion for the import snapshot task.List<SdkField<?>>
sdkFields()
static Class<? extends SnapshotTaskDetail.Builder>
serializableBuilderClass()
String
snapshotId()
The snapshot ID of the disk being imported.String
status()
A brief status for the import snapshot task.String
statusMessage()
A detailed status message for the import snapshot task.SnapshotTaskDetail.Builder
toBuilder()
String
toString()
Returns a string representation of this object.String
url()
The URL of the disk image from which the snapshot is created.UserBucketDetails
userBucket()
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 snapshot.
- Returns:
- The description of the snapshot.
-
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:
toBuilder
in 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:
equalsBySdkFields
in 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.
-
-