@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 void setId(String id)
The volume identifier.
id
- The volume identifier.public String getId()
The volume identifier.
public DiskImageVolumeDescription withId(String id)
The volume identifier.
id
- The volume identifier.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 DiskImageVolumeDescription 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 DiskImageVolumeDescription clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.