public class DescribeAttachmentResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The content and file name of the attachment returned by the DescribeAttachment operation.
Modifier and Type | Field and Description |
---|---|
private Attachment |
attachment
The attachment content and file name.
|
Constructor and Description |
---|
DescribeAttachmentResult() |
Modifier and Type | Method and Description |
---|---|
DescribeAttachmentResult |
clone() |
boolean |
equals(java.lang.Object obj) |
Attachment |
getAttachment()
The attachment content and file name.
|
int |
hashCode() |
void |
setAttachment(Attachment attachment)
The attachment content and file name.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeAttachmentResult |
withAttachment(Attachment attachment)
The attachment content and file name.
|
private 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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeAttachmentResult clone()
clone
in class java.lang.Object