public class AttachVolumeResult
extends java.lang.Object
implements java.io.Serializable
Contains the output of AttachVolume.
| Constructor and Description |
|---|
AttachVolumeResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
VolumeAttachment |
getAttachment()
Information about the volume attachment.
|
int |
hashCode() |
void |
setAttachment(VolumeAttachment attachment)
Information about the volume attachment.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AttachVolumeResult |
withAttachment(VolumeAttachment attachment)
Information about the volume attachment.
|
public VolumeAttachment getAttachment()
public void setAttachment(VolumeAttachment attachment)
attachment - Information about the volume attachment.public AttachVolumeResult withAttachment(VolumeAttachment attachment)
Returns a reference to this object so that method calls can be chained together.
attachment - Information about the volume attachment.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.