Package com.amazonaws.services.ec2.model
Class CreateVolumeResult
- java.lang.Object
-
- com.amazonaws.services.ec2.model.CreateVolumeResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class CreateVolumeResult extends Object implements Serializable, Cloneable
A simple result wrapper around the Volume object that was sent over the wire.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CreateVolumeResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateVolumeResult
clone()
boolean
equals(Object obj)
Volume
getVolume()
Describes a volume.int
hashCode()
void
setVolume(Volume volume)
Describes a volume.String
toString()
Returns a string representation of this object; useful for testing and debugging.CreateVolumeResult
withVolume(Volume volume)
Describes a volume.
-
-
-
Method Detail
-
setVolume
public void setVolume(Volume volume)
Describes a volume.
- Parameters:
volume
- Describes a volume.
-
getVolume
public Volume getVolume()
Describes a volume.
- Returns:
- Describes a volume.
-
withVolume
public CreateVolumeResult withVolume(Volume volume)
Describes a volume.
- Parameters:
volume
- Describes a volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateVolumeResult clone()
-
-