Class DescribeAttachmentResult

java.lang.Object
com.amazonaws.services.support.model.DescribeAttachmentResult
All Implemented Interfaces:
Serializable, Cloneable

public class DescribeAttachmentResult extends Object implements Serializable, Cloneable

The content and file name of the attachment returned by the DescribeAttachment operation.

See Also:
  • Constructor Details

    • DescribeAttachmentResult

      public DescribeAttachmentResult()
  • Method Details

    • setAttachment

      public void setAttachment(Attachment attachment)

      The attachment content and file name.

      Parameters:
      attachment - The attachment content and file name.
    • getAttachment

      public Attachment getAttachment()

      The attachment content and file name.

      Returns:
      The attachment content and file name.
    • withAttachment

      public DescribeAttachmentResult withAttachment(Attachment attachment)

      The attachment content and file name.

      Parameters:
      attachment - The attachment content and file name.
      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 DescribeAttachmentResult clone()
      Overrides:
      clone in class Object