@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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.
|
VolumeDetail |
withSize(Long size)
The size of the volume, in GiB.
|
public void setSize(Long size)
The size of the volume, in GiB.
size
- The size of the volume, in GiB.public Long getSize()
The size of the volume, in GiB.
public VolumeDetail withSize(Long size)
The size of the volume, in GiB.
size
- The size of the volume, in GiB.public String toString()
toString
in class Object
Object.toString()
public VolumeDetail clone()