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 AttachVolumeResultclone()booleanequals(Object obj)VolumeAttachmentgetAttachment()Describes volume attachment details.inthashCode()voidsetAttachment(VolumeAttachment attachment)Describes volume attachment details.StringtoString()Returns a string representation of this object; useful for testing and debugging.AttachVolumeResultwithAttachment(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AttachVolumeResult clone()
-
-