com.amazonaws.services.ec2.model
Class AttachVolumeResult

java.lang.Object
  extended by com.amazonaws.services.ec2.model.AttachVolumeResult

public class AttachVolumeResult
extends Object

Result of attaching an Amazon EBS volume to a running instance.


Constructor Summary
AttachVolumeResult()
           
 
Method Summary
 VolumeAttachment getAttachment()
          Returns the value of the Attachment property for this object.
 void setAttachment(VolumeAttachment attachment)
          Sets the value of the Attachment property for this object.
 AttachVolumeResult withAttachment(VolumeAttachment attachment)
          Sets the value of the Attachment property for this object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachVolumeResult

public AttachVolumeResult()
Method Detail

getAttachment

public VolumeAttachment getAttachment()
Returns the value of the Attachment property for this object.

Returns:
The value of the Attachment property for this object.

setAttachment

public void setAttachment(VolumeAttachment attachment)
Sets the value of the Attachment property for this object.

Parameters:
attachment - The new value for the Attachment property for this object.

withAttachment

public AttachVolumeResult withAttachment(VolumeAttachment attachment)
Sets the value of the Attachment property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
attachment - The new value for the Attachment property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.