@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeAttachmentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeAttachmentRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeAttachmentRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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.
|
DescribeAttachmentRequest |
withAttachmentId(String attachmentId)
The ID of the attachment to return.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setAttachmentId(String attachmentId)
The ID of the attachment to return. Attachment IDs are returned by the DescribeCommunications operation.
attachmentId
- The ID of the attachment to return. Attachment IDs are returned by the DescribeCommunications
operation.public String getAttachmentId()
The ID of the attachment to return. Attachment IDs are returned by the DescribeCommunications operation.
public DescribeAttachmentRequest withAttachmentId(String attachmentId)
The ID of the attachment to return. Attachment IDs are returned by the DescribeCommunications operation.
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()
public DescribeAttachmentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()