public class CreateVolumeResult
extends java.lang.Object
implements java.io.Serializable
Contains the output of CreateVolume.
| Constructor and Description |
|---|
CreateVolumeResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
Volume |
getVolume()
Information about the volume.
|
int |
hashCode() |
void |
setVolume(Volume volume)
Information about the volume.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateVolumeResult |
withVolume(Volume volume)
Information about the volume.
|
public Volume getVolume()
public void setVolume(Volume volume)
volume - Information about the volume.public CreateVolumeResult withVolume(Volume volume)
Returns a reference to this object so that method calls can be chained together.
volume - Information about the volume.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.