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
 boolean equals(Object obj)
           
 VolumeAttachment getAttachment()
           
 int hashCode()
           
 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
getClass, 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()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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