public class DiskImageDetail extends Object implements Serializable
Constructor and Description |
---|
DiskImageDetail() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Long |
getBytes() |
String |
getFormat()
The disk image format.
|
String |
getImportManifestUrl()
A presigned URL for the import manifest stored in Amazon S3.
|
int |
hashCode() |
void |
setBytes(Long bytes) |
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DiskImageDetail |
withBytes(Long bytes)
Returns a reference to this object so that method calls can be chained together.
|
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.
|
public String getFormat()
Constraints:
Allowed Values: VMDK, RAW, VHD
DiskImageFormat
public void setFormat(String format)
Constraints:
Allowed Values: VMDK, RAW, VHD
format
- The disk image format.DiskImageFormat
public DiskImageDetail withFormat(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.DiskImageFormat
public void setFormat(DiskImageFormat format)
Constraints:
Allowed Values: VMDK, RAW, VHD
format
- The disk image format.DiskImageFormat
public 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.DiskImageFormat
public Long getBytes()
public void setBytes(Long bytes)
bytes
- public DiskImageDetail withBytes(Long bytes)
Returns a reference to this object so that method calls can be chained together.
bytes
- public String getImportManifestUrl()
public void setImportManifestUrl(String importManifestUrl)
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.public DiskImageDetail withImportManifestUrl(String importManifestUrl)
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. 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.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.