@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeAttachmentResult extends AmazonWebServiceResult<ResponseMetadata> 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()
This object includes the attachment content and file name.
|
int |
hashCode() |
void |
setAttachment(Attachment attachment)
This object includes the attachment content and file name.
|
String |
toString()
Returns a string representation of this object.
|
DescribeAttachmentResult |
withAttachment(Attachment attachment)
This object includes the attachment content and file name.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setAttachment(Attachment attachment)
This object includes the attachment content and file name.
In the previous response syntax, the value for the data parameter appears as blob,
which is represented as a base64-encoded string. The value for fileName is the name of the
attachment, such as troubleshoot-screenshot.png.
attachment - This object includes the attachment content and file name.
In the previous response syntax, the value for the data parameter appears as
blob, which is represented as a base64-encoded string. The value for fileName is
the name of the attachment, such as troubleshoot-screenshot.png.
public Attachment getAttachment()
This object includes the attachment content and file name.
In the previous response syntax, the value for the data parameter appears as blob,
which is represented as a base64-encoded string. The value for fileName is the name of the
attachment, such as troubleshoot-screenshot.png.
In the previous response syntax, the value for the data parameter appears as
blob, which is represented as a base64-encoded string. The value for fileName
is the name of the attachment, such as troubleshoot-screenshot.png.
public DescribeAttachmentResult withAttachment(Attachment attachment)
This object includes the attachment content and file name.
In the previous response syntax, the value for the data parameter appears as blob,
which is represented as a base64-encoded string. The value for fileName is the name of the
attachment, such as troubleshoot-screenshot.png.
attachment - This object includes the attachment content and file name.
In the previous response syntax, the value for the data parameter appears as
blob, which is represented as a base64-encoded string. The value for fileName is
the name of the attachment, such as troubleshoot-screenshot.png.
public String toString()
toString in class ObjectObject.toString()public DescribeAttachmentResult clone()