@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetCommentResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
| GetCommentResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| GetCommentResult | clone() | 
| boolean | equals(Object obj) | 
| Comment | getComment()
 The contents of the comment. | 
| int | hashCode() | 
| void | setComment(Comment comment)
 The contents of the comment. | 
| String | toString()Returns a string representation of this object. | 
| GetCommentResult | withComment(Comment comment)
 The contents of the comment. | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setComment(Comment comment)
The contents of the comment.
comment - The contents of the comment.public Comment getComment()
The contents of the comment.
public GetCommentResult withComment(Comment comment)
The contents of the comment.
comment - The contents of the comment.public String toString()
toString in class ObjectObject.toString()public GetCommentResult clone()