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