public class DiskImageDescription
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes a disk image.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
checksum
The checksum computed for the disk image.
|
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.
|
private java.lang.Long |
size
The size of the disk image, in GiB.
|
Constructor and Description |
---|
DiskImageDescription() |
Modifier and Type | Method and Description |
---|---|
DiskImageDescription |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getChecksum()
The checksum computed for the disk image.
|
java.lang.String |
getFormat()
The disk image format.
|
java.lang.String |
getImportManifestUrl()
A presigned URL for the import manifest stored in Amazon S3.
|
java.lang.Long |
getSize()
The size of the disk image, in GiB.
|
int |
hashCode() |
void |
setChecksum(java.lang.String checksum)
The checksum computed for the disk image.
|
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.
|
void |
setSize(java.lang.Long size)
The size of the disk image, in GiB.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DiskImageDescription |
withChecksum(java.lang.String checksum)
The checksum computed for the disk image.
|
DiskImageDescription |
withFormat(DiskImageFormat format)
The disk image format.
|
DiskImageDescription |
withFormat(java.lang.String format)
The disk image format.
|
DiskImageDescription |
withImportManifestUrl(java.lang.String importManifestUrl)
A presigned URL for the import manifest stored in Amazon S3.
|
DiskImageDescription |
withSize(java.lang.Long size)
The size of the disk image, in GiB.
|
private java.lang.String format
The disk image format.
private java.lang.Long size
The size of the disk image, in GiB.
private java.lang.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.
private java.lang.String checksum
The checksum computed for the disk image.
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 DiskImageDescription 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 DiskImageDescription withFormat(DiskImageFormat format)
The disk image format.
format
- The disk image format.DiskImageFormat
public void setSize(java.lang.Long size)
The size of the disk image, in GiB.
size
- The size of the disk image, in GiB.public java.lang.Long getSize()
The size of the disk image, in GiB.
public DiskImageDescription withSize(java.lang.Long size)
The size of the disk image, in GiB.
size
- 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. 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. 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. 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 DiskImageDescription withImportManifestUrl(java.lang.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.
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.
public void setChecksum(java.lang.String checksum)
The checksum computed for the disk image.
checksum
- The checksum computed for the disk image.public java.lang.String getChecksum()
The checksum computed for the disk image.
public DiskImageDescription withChecksum(java.lang.String checksum)
The checksum computed for the disk image.
checksum
- The checksum computed for the disk image.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 DiskImageDescription clone()
clone
in class java.lang.Object