Package com.amazonaws.services.ec2.model
Class AttachVolumeResult
- java.lang.Object
-
- com.amazonaws.services.ec2.model.AttachVolumeResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class AttachVolumeResult 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 AttachVolumeResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttachVolumeResult
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.AttachVolumeResult
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 AttachVolumeResult 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 AttachVolumeResult clone()
-
-