public class DiskImage
extends java.lang.Object
implements java.io.Serializable
Describes a disk image.
| Constructor and Description |
|---|
DiskImage() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDescription() |
DiskImageDetail |
getImage() |
VolumeDetail |
getVolume() |
int |
hashCode() |
void |
setDescription(java.lang.String description) |
void |
setImage(DiskImageDetail image) |
void |
setVolume(VolumeDetail volume) |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DiskImage |
withDescription(java.lang.String description)
Returns a reference to this object so that method calls can be chained together.
|
DiskImage |
withImage(DiskImageDetail image)
Returns a reference to this object so that method calls can be chained together.
|
DiskImage |
withVolume(VolumeDetail volume)
Returns a reference to this object so that method calls can be chained together.
|
public DiskImageDetail getImage()
public void setImage(DiskImageDetail image)
image - public DiskImage withImage(DiskImageDetail image)
Returns a reference to this object so that method calls can be chained together.
image - public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - public DiskImage withDescription(java.lang.String description)
Returns a reference to this object so that method calls can be chained together.
description - public VolumeDetail getVolume()
public void setVolume(VolumeDetail volume)
volume - public DiskImage withVolume(VolumeDetail volume)
Returns a reference to this object so that method calls can be chained together.
volume - public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object