@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RejectAttachmentResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
RejectAttachmentResult() |
Modifier and Type | Method and Description |
---|---|
RejectAttachmentResult |
clone() |
boolean |
equals(Object obj) |
Attachment |
getAttachment()
Describes the rejected attachment request.
|
int |
hashCode() |
void |
setAttachment(Attachment attachment)
Describes the rejected attachment request.
|
String |
toString()
Returns a string representation of this object.
|
RejectAttachmentResult |
withAttachment(Attachment attachment)
Describes the rejected attachment request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setAttachment(Attachment attachment)
Describes the rejected attachment request.
attachment
- Describes the rejected attachment request.public Attachment getAttachment()
Describes the rejected attachment request.
public RejectAttachmentResult withAttachment(Attachment attachment)
Describes the rejected attachment request.
attachment
- Describes the rejected attachment request.public String toString()
toString
in class Object
Object.toString()
public RejectAttachmentResult clone()