public class DiskImageVolumeDescription extends Object implements Serializable
Constructor and Description |
---|
DiskImageVolumeDescription() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getId()
The volume identifier.
|
Long |
getSize()
The size of the volume.
|
int |
hashCode() |
void |
setId(String id)
The volume identifier.
|
void |
setSize(Long size)
The size of the volume.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DiskImageVolumeDescription |
withId(String id)
The volume identifier.
|
DiskImageVolumeDescription |
withSize(Long size)
The size of the volume.
|
public Long getSize()
public void setSize(Long size)
size
- The size of the volume.public DiskImageVolumeDescription withSize(Long size)
Returns a reference to this object so that method calls can be chained together.
size
- The size of the volume.public String getId()
public void setId(String id)
id
- The volume identifier.public DiskImageVolumeDescription withId(String id)
Returns a reference to this object so that method calls can be chained together.
id
- The volume identifier.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.