Package com.amazonaws.services.ec2.model
Class DetachVolumeResult
- java.lang.Object
-
- com.amazonaws.services.ec2.model.DetachVolumeResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DetachVolumeResult extends Object implements Serializable, Cloneable
A simple result wrapper around the VolumeAttachment object that was sent over the wire.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DetachVolumeResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DetachVolumeResult
clone()
boolean
equals(Object obj)
VolumeAttachment
getAttachment()
Describes volume attachment details.int
hashCode()
void
setAttachment(VolumeAttachment attachment)
Describes volume attachment details.String
toString()
Returns a string representation of this object; useful for testing and debugging.DetachVolumeResult
withAttachment(VolumeAttachment attachment)
Describes volume attachment details.
-
-
-
Method Detail
-
setAttachment
public void setAttachment(VolumeAttachment attachment)
Describes volume attachment details.
- Parameters:
attachment
- Describes volume attachment details.
-
getAttachment
public VolumeAttachment getAttachment()
Describes volume attachment details.
- Returns:
- Describes volume attachment details.
-
withAttachment
public DetachVolumeResult withAttachment(VolumeAttachment attachment)
Describes volume attachment details.
- Parameters:
attachment
- Describes volume attachment details.- 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 DetachVolumeResult clone()
-
-