Class DiskImageDetail
- java.lang.Object
-
- com.amazonaws.services.ec2.model.DiskImageDetail
-
- All Implemented Interfaces:
Serializable,Cloneable
public class DiskImageDetail extends Object implements Serializable, Cloneable
Describes a disk image.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DiskImageDetail()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DiskImageDetailclone()booleanequals(Object obj)LonggetBytes()The size of the disk image, in GiB.StringgetFormat()The disk image format.StringgetImportManifestUrl()A presigned URL for the import manifest stored in Amazon S3 and presented here as an Amazon S3 presigned URL.inthashCode()voidsetBytes(Long bytes)The size of the disk image, in GiB.voidsetFormat(DiskImageFormat format)The disk image format.voidsetFormat(String format)The disk image format.voidsetImportManifestUrl(String importManifestUrl)A presigned URL for the import manifest stored in Amazon S3 and presented here as an Amazon S3 presigned URL.StringtoString()Returns a string representation of this object; useful for testing and debugging.DiskImageDetailwithBytes(Long bytes)The size of the disk image, in GiB.DiskImageDetailwithFormat(DiskImageFormat format)The disk image format.DiskImageDetailwithFormat(String format)The disk image format.DiskImageDetailwithImportManifestUrl(String importManifestUrl)A presigned URL for the import manifest stored in Amazon S3 and presented here as an Amazon S3 presigned URL.
-
-
-
Method Detail
-
setFormat
public void setFormat(String format)
The disk image format.
- Parameters:
format- The disk image format.- See Also:
DiskImageFormat
-
getFormat
public String getFormat()
The disk image format.
- Returns:
- The disk image format.
- See Also:
DiskImageFormat
-
withFormat
public DiskImageDetail withFormat(String format)
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:
DiskImageFormat
-
setFormat
public void setFormat(DiskImageFormat format)
The disk image format.
- Parameters:
format- The disk image format.- See Also:
DiskImageFormat
-
withFormat
public DiskImageDetail withFormat(DiskImageFormat format)
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:
DiskImageFormat
-
setBytes
public void setBytes(Long bytes)
The size of the disk image, in GiB.
- Parameters:
bytes- The size of the disk image, in GiB.
-
getBytes
public Long getBytes()
The size of the disk image, in GiB.
- Returns:
- The size of the disk image, in GiB.
-
withBytes
public DiskImageDetail withBytes(Long bytes)
The size of the disk image, in GiB.
- Parameters:
bytes- The size of the disk image, in GiB.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setImportManifestUrl
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.
- Parameters:
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.
-
getImportManifestUrl
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.
- Returns:
- 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.
-
withImportManifestUrl
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DiskImageDetail clone()
-
-