public class DiskImage extends Object implements Serializable
Describes a disk image.
Constructor and Description |
---|
DiskImage() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDescription() |
DiskImageDetail |
getImage() |
VolumeDetail |
getVolume() |
int |
hashCode() |
void |
setDescription(String description) |
void |
setImage(DiskImageDetail image) |
void |
setVolume(VolumeDetail volume) |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DiskImage |
withDescription(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 String getDescription()
public void setDescription(String description)
description
- public DiskImage withDescription(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 String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.