Class AttachmentDetails
- java.lang.Object
-
- com.amazonaws.services.support.model.AttachmentDetails
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class AttachmentDetails extends Object implements Serializable, 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.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AttachmentDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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
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; useful for testing and debugging.AttachmentDetails
withAttachmentId(String attachmentId)
The ID of the attachment.AttachmentDetails
withFileName(String fileName)
The file name of the attachment.
-
-
-
Method Detail
-
setAttachmentId
public void setAttachmentId(String attachmentId)
The ID of the attachment.
- Parameters:
attachmentId
- The ID of the attachment.
-
getAttachmentId
public String getAttachmentId()
The ID of the attachment.
- Returns:
- The ID of the attachment.
-
withAttachmentId
public AttachmentDetails withAttachmentId(String attachmentId)
The ID of the attachment.
- Parameters:
attachmentId
- The ID of the attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setFileName
public void setFileName(String fileName)
The file name of the attachment.
- Parameters:
fileName
- The file name of the attachment.
-
getFileName
public String getFileName()
The file name of the attachment.
- Returns:
- The file name of the attachment.
-
withFileName
public AttachmentDetails withFileName(String fileName)
The file name of the attachment.
- Parameters:
fileName
- The file name of the attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AttachmentDetails clone()
-
-