com.amazonaws.services.ec2.model
Class AttachVolumeResult
java.lang.Object
com.amazonaws.services.ec2.model.AttachVolumeResult
public class AttachVolumeResult
- extends Object
Result of attaching an Amazon EBS volume to a running instance.
AttachVolumeResult
public AttachVolumeResult()
getAttachment
public VolumeAttachment getAttachment()
- Returns:
setAttachment
public void setAttachment(VolumeAttachment attachment)
- Parameters:
attachment
-
withAttachment
public AttachVolumeResult withAttachment(VolumeAttachment attachment)
Returns a reference to this object so that method calls can be chained together.
- Parameters:
attachment
-
- Returns:
- A reference to this updated object so that method calls can be chained
together.
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.