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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeAttachmentResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeAttachmentResultclone()booleanequals(Object obj)AttachmentgetAttachment()The attachment content and file name.inthashCode()voidsetAttachment(Attachment attachment)The attachment content and file name.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeAttachmentResultwithAttachment(Attachment attachment)The attachment content and file name.
-
-
-
Method Detail
-
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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeAttachmentResult clone()
-
-