Package com.amazonaws.services.ec2.model
Class DiskImage
- java.lang.Object
-
- com.amazonaws.services.ec2.model.DiskImage
-
- All Implemented Interfaces:
Serializable,Cloneable
public class DiskImage extends Object implements Serializable, Cloneable
Describes a disk image.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DiskImage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DiskImageclone()booleanequals(Object obj)StringgetDescription()A description of the disk image.DiskImageDetailgetImage()Information about the disk image.VolumeDetailgetVolume()Information about the volume.inthashCode()voidsetDescription(String description)A description of the disk image.voidsetImage(DiskImageDetail image)Information about the disk image.voidsetVolume(VolumeDetail volume)Information about the volume.StringtoString()Returns a string representation of this object; useful for testing and debugging.DiskImagewithDescription(String description)A description of the disk image.DiskImagewithImage(DiskImageDetail image)Information about the disk image.DiskImagewithVolume(VolumeDetail volume)Information about the volume.
-
-
-
Method Detail
-
setImage
public void setImage(DiskImageDetail image)
Information about the disk image.
- Parameters:
image- Information about the disk image.
-
getImage
public DiskImageDetail getImage()
Information about the disk image.
- Returns:
- Information about the disk image.
-
withImage
public DiskImage withImage(DiskImageDetail image)
Information about the disk image.
- Parameters:
image- Information about the disk image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
public void setDescription(String description)
A description of the disk image.
- Parameters:
description- A description of the disk image.
-
getDescription
public String getDescription()
A description of the disk image.
- Returns:
- A description of the disk image.
-
withDescription
public DiskImage withDescription(String description)
A description of the disk image.
- Parameters:
description- A description of the disk image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVolume
public void setVolume(VolumeDetail volume)
Information about the volume.
- Parameters:
volume- Information about the volume.
-
getVolume
public VolumeDetail getVolume()
Information about the volume.
- Returns:
- Information about the volume.
-
withVolume
public DiskImage withVolume(VolumeDetail volume)
Information about the volume.
- Parameters:
volume- Information about the volume.- 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()
-
-