|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.VolumeDetail
public class VolumeDetail
Describes an Amazon EBS volume.
Constructor Summary | |
---|---|
VolumeDetail()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Long |
getSize()
The size of the volume. |
int |
hashCode()
|
void |
setSize(Long size)
The size of the volume. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
VolumeDetail |
withSize(Long size)
The size of the volume. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VolumeDetail()
Method Detail |
---|
public Long getSize()
public void setSize(Long size)
size
- The size of the volume.public VolumeDetail 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 toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |