@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; useful for testing and debugging.
|
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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.