@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DiskImage extends Object implements Serializable, Cloneable
Describes a disk image.
Constructor and Description |
---|
DiskImage() |
Modifier and Type | Method and Description |
---|---|
DiskImage |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
A description of the disk image.
|
DiskImageDetail |
getImage()
Information about the disk image.
|
VolumeDetail |
getVolume()
Information about the volume.
|
int |
hashCode() |
void |
setDescription(String description)
A description of the disk image.
|
void |
setImage(DiskImageDetail image)
Information about the disk image.
|
void |
setVolume(VolumeDetail volume)
Information about the volume.
|
String |
toString()
Returns a string representation of this object.
|
DiskImage |
withDescription(String description)
A description of the disk image.
|
DiskImage |
withImage(DiskImageDetail image)
Information about the disk image.
|
DiskImage |
withVolume(VolumeDetail volume)
Information about the volume.
|
public void setDescription(String description)
A description of the disk image.
description
- A description of the disk image.public String getDescription()
A description of the disk image.
public DiskImage withDescription(String description)
A description of the disk image.
description
- A description of the disk image.public void setImage(DiskImageDetail image)
Information about the disk image.
image
- Information about the disk image.public DiskImageDetail getImage()
Information about the disk image.
public DiskImage withImage(DiskImageDetail image)
Information about the disk image.
image
- Information about the disk image.public void setVolume(VolumeDetail volume)
Information about the volume.
volume
- Information about the volume.public VolumeDetail getVolume()
Information about the volume.
public DiskImage withVolume(VolumeDetail volume)
Information about the volume.
volume
- Information about the volume.public String toString()
toString
in class Object
Object.toString()