@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DiskImageDetail extends Object implements Serializable, Cloneable
Describes a disk image.
Constructor and Description |
---|
DiskImageDetail() |
Modifier and Type | Method and Description |
---|---|
DiskImageDetail |
clone() |
boolean |
equals(Object obj) |
Long |
getBytes()
The size of the disk image, in GiB.
|
String |
getFormat()
The disk image format.
|
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(Long bytes)
The size of the disk image, in GiB.
|
void |
setFormat(DiskImageFormat format)
The disk image format.
|
void |
setFormat(String format)
The disk image format.
|
void |
setImportManifestUrl(String importManifestUrl)
A presigned URL for the import manifest stored in Amazon S3 and presented here as an Amazon S3 presigned URL.
|
String |
toString()
Returns a string representation of this object.
|
DiskImageDetail |
withBytes(Long bytes)
The size of the disk image, in GiB.
|
DiskImageDetail |
withFormat(DiskImageFormat format)
The disk image format.
|
DiskImageDetail |
withFormat(String format)
The disk image format.
|
DiskImageDetail |
withImportManifestUrl(String importManifestUrl)
A presigned URL for the import manifest stored in Amazon S3 and presented here as an Amazon S3 presigned URL.
|
public void setBytes(Long bytes)
The size of the disk image, in GiB.
bytes
- The size of the disk image, in GiB.public Long getBytes()
The size of the disk image, in GiB.
public DiskImageDetail withBytes(Long bytes)
The size of the disk image, in GiB.
bytes
- The size of the disk image, in GiB.public void setFormat(String format)
The disk image format.
format
- The disk image format.DiskImageFormat
public String getFormat()
The disk image format.
DiskImageFormat
public DiskImageDetail withFormat(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 setImportManifestUrl(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 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(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 String toString()
toString
in class Object
Object.toString()
public DiskImageDetail clone()