public class VolumeDetail extends Object implements Serializable
Describes an Amazon EBS volume.
| Constructor and Description |
|---|
VolumeDetail() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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 ObjectObject.toString()Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.