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 AttachmentDetailsclone()booleanequals(Object obj)StringgetAttachmentId()The ID of the attachment.StringgetFileName()The file name of the attachment.inthashCode()voidsetAttachmentId(String attachmentId)The ID of the attachment.voidsetFileName(String fileName)The file name of the attachment.StringtoString()Returns a string representation of this object; useful for testing and debugging.AttachmentDetailswithAttachmentId(String attachmentId)The ID of the attachment.AttachmentDetailswithFileName(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AttachmentDetails clone()
-
-