|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.DiskImageVolumeDescription
public class DiskImageVolumeDescription
Constructor Summary | |
---|---|
DiskImageVolumeDescription()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DiskImageVolumeDescription()
Method Detail |
---|
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()
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 |