public class DiskImageVolumeDescription
extends java.lang.Object
implements java.io.Serializable
Describes a disk image volume.
| Constructor and Description |
|---|
DiskImageVolumeDescription() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getId()
The volume identifier.
|
java.lang.Long |
getSize()
The size of the volume, in GiB.
|
int |
hashCode() |
void |
setId(java.lang.String id)
The volume identifier.
|
void |
setSize(java.lang.Long size)
The size of the volume, in GiB.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DiskImageVolumeDescription |
withId(java.lang.String id)
The volume identifier.
|
DiskImageVolumeDescription |
withSize(java.lang.Long size)
The size of the volume, in GiB.
|
public java.lang.Long getSize()
public void setSize(java.lang.Long size)
size - The size of the volume, in GiB.public DiskImageVolumeDescription withSize(java.lang.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 java.lang.String getId()
public void setId(java.lang.String id)
id - The volume identifier.public DiskImageVolumeDescription withId(java.lang.String id)
Returns a reference to this object so that method calls can be chained together.
id - The volume identifier.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.