@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AcceptAttachmentResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
AcceptAttachmentResult() |
| Modifier and Type | Method and Description |
|---|---|
AcceptAttachmentResult |
clone() |
boolean |
equals(Object obj) |
Attachment |
getAttachment()
The response to the attachment request.
|
int |
hashCode() |
void |
setAttachment(Attachment attachment)
The response to the attachment request.
|
String |
toString()
Returns a string representation of this object.
|
AcceptAttachmentResult |
withAttachment(Attachment attachment)
The response to the attachment request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setAttachment(Attachment attachment)
The response to the attachment request.
attachment - The response to the attachment request.public Attachment getAttachment()
The response to the attachment request.
public AcceptAttachmentResult withAttachment(Attachment attachment)
The response to the attachment request.
attachment - The response to the attachment request.public String toString()
toString in class ObjectObject.toString()public AcceptAttachmentResult clone()