public class VolumeDetail extends Object implements Serializable, Cloneable
Describes an EBS volume.
| Constructor and Description |
|---|
VolumeDetail() |
| Modifier and Type | Method and Description |
|---|---|
VolumeDetail |
clone() |
boolean |
equals(Object obj) |
Long |
getSize()
The size of the volume, in GiB.
|
int |
hashCode() |
void |
setSize(Long size)
The size of the volume, in GiB.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
VolumeDetail |
withSize(Long size)
The size of the volume, in GiB.
|
public Long getSize()
public void setSize(Long size)
size - The size of the volume, in GiB.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, in GiB.public String toString()
toString in class ObjectObject.toString()public VolumeDetail clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.