@Generated(value="software.amazon.awssdk:codegen") public final class DiskImageDetail extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DiskImageDetail.Builder,DiskImageDetail>
Describes a disk image.
Modifier and Type | Class and Description |
---|---|
static interface |
DiskImageDetail.Builder |
Modifier and Type | Method and Description |
---|---|
static DiskImageDetail.Builder |
builder() |
Long |
bytes()
The size of the disk image, in GiB.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
DiskImageFormat |
format()
The disk image format.
|
String |
formatAsString()
The disk image format.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
importManifestUrl()
A presigned URL for the import manifest stored in Amazon S3 and presented here as an Amazon S3 presigned URL.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DiskImageDetail.Builder> |
serializableBuilderClass() |
DiskImageDetail.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final Long bytes()
The size of the disk image, in GiB.
public final DiskImageFormat format()
The disk image format.
If the service returns an enum value that is not available in the current SDK version, format
will
return DiskImageFormat.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
formatAsString()
.
DiskImageFormat
public final String formatAsString()
The disk image format.
If the service returns an enum value that is not available in the current SDK version, format
will
return DiskImageFormat.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
formatAsString()
.
DiskImageFormat
public final String importManifestUrl()
A presigned URL for the import manifest stored in Amazon S3 and presented here as an Amazon S3 presigned URL. 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.
For information about the import manifest referenced by this API action, see VM Import Manifest.
public DiskImageDetail.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<DiskImageDetail.Builder,DiskImageDetail>
public static DiskImageDetail.Builder builder()
public static Class<? extends DiskImageDetail.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2021. All rights reserved.