public class DiskImageVolumeDescription extends Object implements Serializable, Cloneable
Describes a disk image volume.
| Constructor and Description |
|---|
DiskImageVolumeDescription() |
| Modifier and Type | Method and Description |
|---|---|
DiskImageVolumeDescription |
clone() |
boolean |
equals(Object obj) |
String |
getId()
The volume identifier.
|
Long |
getSize()
The size of the volume, in GiB.
|
int |
hashCode() |
void |
setId(String id)
The volume identifier.
|
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.
|
DiskImageVolumeDescription |
withId(String id)
The volume identifier.
|
DiskImageVolumeDescription |
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 DiskImageVolumeDescription 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 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 ObjectObject.toString()public DiskImageVolumeDescription clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.