public class CreateVolumeResult extends Object implements Serializable
The result of creating a new EBS volume.
Constructor and Description |
---|
CreateVolumeResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Volume |
getVolume()
The newly created EBS volume.
|
int |
hashCode() |
void |
setVolume(Volume volume)
The newly created EBS volume.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateVolumeResult |
withVolume(Volume volume)
The newly created EBS volume.
|
public Volume getVolume()
public void setVolume(Volume volume)
volume
- The newly created EBS volume.public CreateVolumeResult withVolume(Volume volume)
Returns a reference to this object so that method calls can be chained together.
volume
- The newly created EBS volume.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.