@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CommentContent extends Object implements Serializable, Cloneable, StructuredPojo
Represents the content of a Comment to be returned to agents.
| Constructor and Description |
|---|
CommentContent() |
| Modifier and Type | Method and Description |
|---|---|
CommentContent |
clone() |
boolean |
equals(Object obj) |
String |
getBody()
Text in the body of a
Comment on a case. |
String |
getContentType()
Type of the text in the box of a
Comment on a case. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setBody(String body)
Text in the body of a
Comment on a case. |
void |
setContentType(String contentType)
Type of the text in the box of a
Comment on a case. |
String |
toString()
Returns a string representation of this object.
|
CommentContent |
withBody(String body)
Text in the body of a
Comment on a case. |
CommentContent |
withContentType(CommentBodyTextType contentType)
Type of the text in the box of a
Comment on a case. |
CommentContent |
withContentType(String contentType)
Type of the text in the box of a
Comment on a case. |
public void setBody(String body)
Text in the body of a Comment on a case.
body - Text in the body of a Comment on a case.public String getBody()
Text in the body of a Comment on a case.
Comment on a case.public CommentContent withBody(String body)
Text in the body of a Comment on a case.
body - Text in the body of a Comment on a case.public void setContentType(String contentType)
Type of the text in the box of a Comment on a case.
contentType - Type of the text in the box of a Comment on a case.CommentBodyTextTypepublic String getContentType()
Type of the text in the box of a Comment on a case.
Comment on a case.CommentBodyTextTypepublic CommentContent withContentType(String contentType)
Type of the text in the box of a Comment on a case.
contentType - Type of the text in the box of a Comment on a case.CommentBodyTextTypepublic CommentContent withContentType(CommentBodyTextType contentType)
Type of the text in the box of a Comment on a case.
contentType - Type of the text in the box of a Comment on a case.CommentBodyTextTypepublic String toString()
toString in class ObjectObject.toString()public CommentContent clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.