public class DescribeAttachmentRequest extends AmazonWebServiceRequest implements Serializable
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 |
---|---|
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, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public 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 Object
Object.toString()
Copyright © 2014. All rights reserved.