public class DiskImageDetail
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes a disk image.
Modifier and Type | Field and Description |
---|---|
private java.lang.Long |
bytes
The size of the disk image, in GiB.
|
private java.lang.String |
format
The disk image format.
|
private java.lang.String |
importManifestUrl
A presigned URL for the import manifest stored in Amazon S3 and presented
here as an Amazon S3 presigned URL.
|
Constructor and Description |
---|
DiskImageDetail() |
Modifier and Type | Method and Description |
---|---|
DiskImageDetail |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Long |
getBytes()
The size of the disk image, in GiB.
|
java.lang.String |
getFormat()
The disk image format.
|
java.lang.String |
getImportManifestUrl()
A presigned URL for the import manifest stored in Amazon S3 and presented
here as an Amazon S3 presigned URL.
|
int |
hashCode() |
void |
setBytes(java.lang.Long bytes)
The size of the disk image, in GiB.
|
void |
setFormat(DiskImageFormat format)
The disk image format.
|
void |
setFormat(java.lang.String format)
The disk image format.
|
void |
setImportManifestUrl(java.lang.String importManifestUrl)
A presigned URL for the import manifest stored in Amazon S3 and presented
here as an Amazon S3 presigned URL.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DiskImageDetail |
withBytes(java.lang.Long bytes)
The size of the disk image, in GiB.
|
DiskImageDetail |
withFormat(DiskImageFormat format)
The disk image format.
|
DiskImageDetail |
withFormat(java.lang.String format)
The disk image format.
|
DiskImageDetail |
withImportManifestUrl(java.lang.String importManifestUrl)
A presigned URL for the import manifest stored in Amazon S3 and presented
here as an Amazon S3 presigned URL.
|
private java.lang.String format
The disk image format.
private java.lang.Long bytes
The size of the disk image, in GiB.
private java.lang.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.
public void setFormat(java.lang.String format)
The disk image format.
format
- The disk image format.DiskImageFormat
public java.lang.String getFormat()
The disk image format.
DiskImageFormat
public DiskImageDetail withFormat(java.lang.String format)
The disk image format.
format
- The disk image format.DiskImageFormat
public void setFormat(DiskImageFormat format)
The disk image format.
format
- The disk image format.DiskImageFormat
public DiskImageDetail withFormat(DiskImageFormat format)
The disk image format.
format
- The disk image format.DiskImageFormat
public void setBytes(java.lang.Long bytes)
The size of the disk image, in GiB.
bytes
- The size of the disk image, in GiB.public java.lang.Long getBytes()
The size of the disk image, in GiB.
public DiskImageDetail withBytes(java.lang.Long bytes)
The size of the disk image, in GiB.
bytes
- The size of the disk image, in GiB.public void setImportManifestUrl(java.lang.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.
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.
public java.lang.String getImportManifestUrl()
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 withImportManifestUrl(java.lang.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.
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.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DiskImageDetail clone()
clone
in class java.lang.Object