@Generated(value="software.amazon.awssdk:codegen") public final class DiskImageDescription extends Object implements ToCopyableBuilder<DiskImageDescription.Builder,DiskImageDescription>
Describes a disk image.
Modifier and Type | Class and Description |
---|---|
static interface |
DiskImageDescription.Builder |
Modifier and Type | Method and Description |
---|---|
static DiskImageDescription.Builder |
builder() |
String |
checksum()
The checksum computed for the disk image.
|
boolean |
equals(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.
|
static Class<? extends DiskImageDescription.Builder> |
serializableBuilderClass() |
Long |
size()
The size of the disk image, in GiB.
|
DiskImageDescription.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String checksum()
The checksum computed for the disk image.
public 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 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 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.
For information about the import manifest referenced by this API action, see VM Import Manifest.
public Long size()
The size of the disk image, in GiB.
public DiskImageDescription.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DiskImageDescription.Builder,DiskImageDescription>
public static DiskImageDescription.Builder builder()
public static Class<? extends DiskImageDescription.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.