public class DiskImageDetail
extends java.lang.Object
implements java.io.Serializable
Describes a disk image.
| Constructor and Description |
|---|
DiskImageDetail() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public java.lang.String getFormat()
Constraints:
Allowed Values: VMDK, RAW, VHD
DiskImageFormatpublic void setFormat(java.lang.String format)
Constraints:
Allowed Values: VMDK, RAW, VHD
format - The disk image format.DiskImageFormatpublic DiskImageDetail withFormat(java.lang.String format)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: VMDK, RAW, VHD
format - The disk image format.DiskImageFormatpublic void setFormat(DiskImageFormat format)
Constraints:
Allowed Values: VMDK, RAW, VHD
format - The disk image format.DiskImageFormatpublic DiskImageDetail withFormat(DiskImageFormat format)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: VMDK, RAW, VHD
format - The disk image format.DiskImageFormatpublic java.lang.Long getBytes()
public void setBytes(java.lang.Long bytes)
bytes - The size of the disk image, in GiB.public DiskImageDetail withBytes(java.lang.Long bytes)
Returns a reference to this object so that method calls can be chained together.
bytes - The size of the disk image, in GiB.public java.lang.String getImportManifestUrl()
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 void setImportManifestUrl(java.lang.String importManifestUrl)
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 DiskImageDetail withImportManifestUrl(java.lang.String importManifestUrl)
For information about the import manifest referenced by this API action, see VM Import Manifest.
Returns a reference to this object so that method calls can be chained together.
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.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.