public class DiskImage
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes a disk image.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
description
A description of the disk image.
|
private DiskImageDetail |
image
Information about the disk image.
|
private VolumeDetail |
volume
Information about the volume.
|
Constructor and Description |
---|
DiskImage() |
Modifier and Type | Method and Description |
---|---|
DiskImage |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.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(java.lang.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.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DiskImage |
withDescription(java.lang.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.
|
private DiskImageDetail image
Information about the disk image.
private java.lang.String description
A description of the disk image.
private VolumeDetail volume
Information about the volume.
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 setDescription(java.lang.String description)
A description of the disk image.
description
- A description of the disk image.public java.lang.String getDescription()
A description of the disk image.
public DiskImage withDescription(java.lang.String description)
A description of the disk image.
description
- A description of 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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DiskImage clone()
clone
in class java.lang.Object