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:
  • Constructor Details

    • AttachmentDetails

      public AttachmentDetails()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public AttachmentDetails clone()
      Overrides:
      clone in class Object