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 DescribeAttachmentResult
clone()
boolean
equals(Object obj)
Attachment
getAttachment()
The attachment content and file name.int
hashCode()
void
setAttachment(Attachment attachment)
The attachment content and file name.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeAttachmentResult
withAttachment(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeAttachmentResult clone()
-
-