@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DiskImageDescription extends Object implements Serializable, Cloneable
Describes a disk image.
Constructor and Description |
---|
DiskImageDescription() |
Modifier and Type | Method and Description |
---|---|
DiskImageDescription |
clone() |
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, in GiB.
|
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, in GiB.
|
String |
toString()
Returns a string representation of this object.
|
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, in GiB.
|
public void setChecksum(String checksum)
The checksum computed for the disk image.
checksum
- The checksum computed for the disk image.public String getChecksum()
The checksum computed for the disk image.
public DiskImageDescription withChecksum(String checksum)
The checksum computed for the disk image.
checksum
- The checksum computed for the disk image.public void setFormat(String format)
The disk image format.
format
- The disk image format.DiskImageFormat
public String getFormat()
The disk image format.
DiskImageFormat
public DiskImageDescription 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 DiskImageDescription 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. 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 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(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 setSize(Long size)
The size of the disk image, in GiB.
size
- The size of the disk image, in GiB.public Long getSize()
The size of the disk image, in GiB.
public DiskImageDescription withSize(Long size)
The size of the disk image, in GiB.
size
- The size of the disk image, in GiB.public String toString()
toString
in class Object
Object.toString()
public DiskImageDescription clone()