@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ChatMessage extends Object implements Serializable, Cloneable, StructuredPojo
A chat message.
| Constructor and Description |
|---|
ChatMessage() |
| Modifier and Type | Method and Description |
|---|---|
ChatMessage |
clone() |
boolean |
equals(Object obj) |
String |
getContent()
The content of the chat message.
|
String |
getContentType()
The type of the content.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setContent(String content)
The content of the chat message.
|
void |
setContentType(String contentType)
The type of the content.
|
String |
toString()
Returns a string representation of this object.
|
ChatMessage |
withContent(String content)
The content of the chat message.
|
ChatMessage |
withContentType(String contentType)
The type of the content.
|
public void setContentType(String contentType)
The type of the content. Supported types are text/plain.
contentType - The type of the content. Supported types are text/plain.public String getContentType()
The type of the content. Supported types are text/plain.
public ChatMessage withContentType(String contentType)
The type of the content. Supported types are text/plain.
contentType - The type of the content. Supported types are text/plain.public void setContent(String content)
The content of the chat message.
content - The content of the chat message.public String getContent()
The content of the chat message.
public ChatMessage withContent(String content)
The content of the chat message.
content - The content of the chat message.public String toString()
toString in class ObjectObject.toString()public ChatMessage clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.