public class AttachmentDetails
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
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.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
attachmentId
The ID of the attachment.
|
private java.lang.String |
fileName
The file name of the attachment.
|
Constructor and Description |
---|
AttachmentDetails() |
Modifier and Type | Method and Description |
---|---|
AttachmentDetails |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAttachmentId()
The ID of the attachment.
|
java.lang.String |
getFileName()
The file name of the attachment.
|
int |
hashCode() |
void |
setAttachmentId(java.lang.String attachmentId)
The ID of the attachment.
|
void |
setFileName(java.lang.String fileName)
The file name of the attachment.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AttachmentDetails |
withAttachmentId(java.lang.String attachmentId)
The ID of the attachment.
|
AttachmentDetails |
withFileName(java.lang.String fileName)
The file name of the attachment.
|
private java.lang.String attachmentId
The ID of the attachment.
private java.lang.String fileName
The file name of the attachment.
public void setAttachmentId(java.lang.String attachmentId)
The ID of the attachment.
attachmentId
- The ID of the attachment.public java.lang.String getAttachmentId()
The ID of the attachment.
public AttachmentDetails withAttachmentId(java.lang.String attachmentId)
The ID of the attachment.
attachmentId
- The ID of the attachment.public void setFileName(java.lang.String fileName)
The file name of the attachment.
fileName
- The file name of the attachment.public java.lang.String getFileName()
The file name of the attachment.
public AttachmentDetails withFileName(java.lang.String fileName)
The file name of the attachment.
fileName
- The file name of the attachment.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public AttachmentDetails clone()
clone
in class java.lang.Object