public class DescribeAttachmentResult extends Object implements Serializable, Cloneable
The content and file name of the attachment returned by the DescribeAttachment operation.
| Constructor and Description |
|---|
DescribeAttachmentResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribeAttachmentResult |
clone() |
boolean |
equals(Object obj) |
Attachment |
getAttachment()
The attachment content and file name.
|
int |
hashCode() |
void |
setAttachment(Attachment attachment)
The attachment content and file name.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeAttachmentResult |
withAttachment(Attachment attachment)
The attachment content and file name.
|
public void setAttachment(Attachment attachment)
The attachment content and file name.
attachment - The attachment content and file name.public Attachment getAttachment()
The attachment content and file name.
public DescribeAttachmentResult withAttachment(Attachment attachment)
The attachment content and file name.
attachment - The attachment content and file name.public String toString()
toString in class ObjectObject.toString()public DescribeAttachmentResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.