Class DiskImageDescription
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a disk image.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The checksum computed for the disk image.The disk image format.A presigned URL for the import manifest stored in Amazon S3.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
The disk image format.void
setImportManifestUrl
(String importManifestUrl) A presigned URL for the import manifest stored in Amazon S3.void
The size of the disk image, in GiB.toString()
Returns a string representation of this object; useful for testing and debugging.withChecksum
(String checksum) The checksum computed for the disk image.withFormat
(DiskImageFormat format) The disk image format.withFormat
(String format) The disk image format.withImportManifestUrl
(String importManifestUrl) A presigned URL for the import manifest stored in Amazon S3.The size of the disk image, in GiB.
-
Constructor Details
-
DiskImageDescription
public DiskImageDescription()
-
-
Method Details
-
setFormat
The disk image format.
- Parameters:
format
- The disk image format.- See Also:
-
getFormat
The disk image format.
- Returns:
- The disk image format.
- See Also:
-
withFormat
The disk image format.
- Parameters:
format
- The disk image format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setFormat
The disk image format.
- Parameters:
format
- The disk image format.- See Also:
-
withFormat
The disk image format.
- Parameters:
format
- The disk image format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setSize
The size of the disk image, in GiB.
- Parameters:
size
- The size of the disk image, in GiB.
-
getSize
The size of the disk image, in GiB.
- Returns:
- The size of the disk image, in GiB.
-
withSize
The size of the disk image, in GiB.
- Parameters:
size
- The size of the disk image, in GiB.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setImportManifestUrl
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withImportManifestUrl
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setChecksum
The checksum computed for the disk image.
- Parameters:
checksum
- The checksum computed for the disk image.
-
getChecksum
The checksum computed for the disk image.
- Returns:
- The checksum computed for the disk image.
-
withChecksum
The checksum computed for the disk image.
- Parameters:
checksum
- The checksum computed for the disk image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-