Class DiskImageDescription
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.DiskImageDescription
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DiskImageDescription.Builder,DiskImageDescription>
@Generated("software.amazon.awssdk:codegen") public final class DiskImageDescription extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DiskImageDescription.Builder,DiskImageDescription>
Describes a disk image.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDiskImageDescription.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DiskImageDescription.Builderbuilder()Stringchecksum()The checksum computed for the disk image.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)DiskImageFormatformat()The disk image format.StringformatAsString()The disk image format.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringimportManifestUrl()A presigned URL for the import manifest stored in Amazon S3.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DiskImageDescription.Builder>serializableBuilderClass()Longsize()The size of the disk image, in GiB.DiskImageDescription.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
checksum
public final String checksum()
The checksum computed for the disk image.
- Returns:
- The checksum computed for the disk image.
-
format
public final DiskImageFormat format()
The disk image format.
If the service returns an enum value that is not available in the current SDK version,
formatwill returnDiskImageFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromformatAsString().- Returns:
- The disk image format.
- See Also:
DiskImageFormat
-
formatAsString
public final String formatAsString()
The disk image format.
If the service returns an enum value that is not available in the current SDK version,
formatwill returnDiskImageFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromformatAsString().- Returns:
- The disk image format.
- See Also:
DiskImageFormat
-
importManifestUrl
public final String importManifestUrl()
A presigned URL for the import manifest stored in Amazon S3. For information about creating a presigned URL for an Amazon S3 object, read the "Query String Request Authentication Alternative" section of the Authenticating REST Requests topic in the Amazon Simple Storage Service Developer Guide.
For information about the import manifest referenced by this API action, see VM Import Manifest.
- Returns:
- A presigned URL for the import manifest stored in Amazon S3. For information about creating a presigned
URL for an Amazon S3 object, read the "Query String Request Authentication Alternative" section of the Authenticating REST
Requests topic in the Amazon Simple Storage Service Developer Guide.
For information about the import manifest referenced by this API action, see VM Import Manifest.
-
size
public final Long size()
The size of the disk image, in GiB.
- Returns:
- The size of the disk image, in GiB.
-
toBuilder
public DiskImageDescription.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DiskImageDescription.Builder,DiskImageDescription>
-
builder
public static DiskImageDescription.Builder builder()
-
serializableBuilderClass
public static Class<? extends DiskImageDescription.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
-
-