Class DetachVolumeResult

java.lang.Object
com.amazonaws.services.ec2.model.DetachVolumeResult
All Implemented Interfaces:
Serializable, Cloneable

public class DetachVolumeResult extends Object implements Serializable, Cloneable
A simple result wrapper around the VolumeAttachment object that was sent over the wire.
See Also:
  • Constructor Details

    • DetachVolumeResult

      public DetachVolumeResult()
  • Method Details

    • 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 DetachVolumeResult 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:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public DetachVolumeResult clone()
      Overrides:
      clone in class Object