@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AttachmentDetails extends Object implements Serializable, Cloneable, StructuredPojo
The file name and ID of an attachment to a case communication. You can use the ID to retrieve the attachment with the DescribeAttachment operation.
| Constructor and Description |
|---|
AttachmentDetails() |
| Modifier and Type | Method and Description |
|---|---|
AttachmentDetails |
clone() |
boolean |
equals(Object obj) |
String |
getAttachmentId()
The ID of the attachment.
|
String |
getFileName()
The file name of the attachment.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAttachmentId(String attachmentId)
The ID of the attachment.
|
void |
setFileName(String fileName)
The file name of the attachment.
|
String |
toString()
Returns a string representation of this object.
|
AttachmentDetails |
withAttachmentId(String attachmentId)
The ID of the attachment.
|
AttachmentDetails |
withFileName(String fileName)
The file name of the attachment.
|
public void setAttachmentId(String attachmentId)
The ID of the attachment.
attachmentId - The ID of the attachment.public String getAttachmentId()
The ID of the attachment.
public AttachmentDetails withAttachmentId(String attachmentId)
The ID of the attachment.
attachmentId - The ID of the attachment.public void setFileName(String fileName)
The file name of the attachment.
fileName - The file name of the attachment.public String getFileName()
The file name of the attachment.
public AttachmentDetails withFileName(String fileName)
The file name of the attachment.
fileName - The file name of the attachment.public String toString()
toString in class ObjectObject.toString()public AttachmentDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.