public class DescribeAttachmentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DescribeAttachment operation.
Returns the attachment that has the specified ID. Attachment IDs are generated by the case management system when you add an attachment to a case or case communication. Attachment IDs are returned in the AttachmentDetails objects that are returned by the DescribeCommunications operation.
NOOP| Constructor and Description |
|---|
DescribeAttachmentRequest() |
| Modifier and Type | Method and Description |
|---|---|
DescribeAttachmentRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getAttachmentId()
The ID of the attachment to return.
|
int |
hashCode() |
void |
setAttachmentId(String attachmentId)
The ID of the attachment to return.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeAttachmentRequest |
withAttachmentId(String attachmentId)
The ID of the attachment to return.
|
copyBaseTo, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getAttachmentId()
public void setAttachmentId(String attachmentId)
attachmentId - The ID of the attachment to return. Attachment IDs are returned by the
DescribeCommunications operation.public DescribeAttachmentRequest withAttachmentId(String attachmentId)
Returns a reference to this object so that method calls can be chained together.
attachmentId - The ID of the attachment to return. Attachment IDs are returned by the
DescribeCommunications operation.public String toString()
toString in class ObjectObject.toString()public DescribeAttachmentRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2015. All rights reserved.