public class DiskImageDescription extends Object implements Serializable
Constructor and Description |
---|
DiskImageDescription() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getChecksum()
The checksum computed for the disk image.
|
String |
getFormat()
The disk image format.
|
String |
getImportManifestUrl()
A presigned URL for the import manifest stored in Amazon S3.
|
Long |
getSize()
The size of the disk image.
|
int |
hashCode() |
void |
setChecksum(String checksum)
The checksum computed for the disk image.
|
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.
|
void |
setSize(Long size)
The size of the disk image.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DiskImageDescription |
withChecksum(String checksum)
The checksum computed for the disk image.
|
DiskImageDescription |
withFormat(DiskImageFormat format)
The disk image format.
|
DiskImageDescription |
withFormat(String format)
The disk image format.
|
DiskImageDescription |
withImportManifestUrl(String importManifestUrl)
A presigned URL for the import manifest stored in Amazon S3.
|
DiskImageDescription |
withSize(Long size)
The size of the disk image.
|
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 DiskImageDescription 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 DiskImageDescription 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 getSize()
public void setSize(Long size)
size
- The size of the disk image.public DiskImageDescription withSize(Long size)
Returns a reference to this object so that method calls can be chained together.
size
- The size of the disk image.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 DiskImageDescription 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 getChecksum()
public void setChecksum(String checksum)
checksum
- The checksum computed for the disk image.public DiskImageDescription withChecksum(String checksum)
Returns a reference to this object so that method calls can be chained together.
checksum
- The checksum computed for the disk image.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.