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()
           
 void setAttachment(VolumeAttachment attachment)
           
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 AttachVolumeResult withAttachment(VolumeAttachment attachment)
           Returns a reference to this object so that method calls can be chained together.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttachVolumeResult

public AttachVolumeResult()
Method Detail

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()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()


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