public class VolumeDetail
extends java.lang.Object
implements java.io.Serializable
Describes an EBS volume.
Constructor and Description |
---|
VolumeDetail() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Long |
getSize()
The size of the volume, in GiB.
|
int |
hashCode() |
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.
|
VolumeDetail |
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 VolumeDetail 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 toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.