@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Message extends Object implements Serializable, Cloneable, StructuredPojo
Container for text that is returned to the customer..
| Constructor and Description |
|---|
Message() |
| Modifier and Type | Method and Description |
|---|---|
Message |
clone() |
boolean |
equals(Object obj) |
String |
getContent()
The text of the message.
|
String |
getContentType()
Indicates the type of response.
|
ImageResponseCard |
getImageResponseCard() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setContent(String content)
The text of the message.
|
void |
setContentType(String contentType)
Indicates the type of response.
|
void |
setImageResponseCard(ImageResponseCard imageResponseCard) |
String |
toString()
Returns a string representation of this object.
|
Message |
withContent(String content)
The text of the message.
|
Message |
withContentType(MessageContentType contentType)
Indicates the type of response.
|
Message |
withContentType(String contentType)
Indicates the type of response.
|
Message |
withImageResponseCard(ImageResponseCard imageResponseCard) |
public void setContent(String content)
The text of the message.
content - The text of the message.public String getContent()
The text of the message.
public Message withContent(String content)
The text of the message.
content - The text of the message.public void setContentType(String contentType)
Indicates the type of response.
contentType - Indicates the type of response.MessageContentTypepublic String getContentType()
Indicates the type of response.
MessageContentTypepublic Message withContentType(String contentType)
Indicates the type of response.
contentType - Indicates the type of response.MessageContentTypepublic Message withContentType(MessageContentType contentType)
Indicates the type of response.
contentType - Indicates the type of response.MessageContentTypepublic void setImageResponseCard(ImageResponseCard imageResponseCard)
imageResponseCard - public ImageResponseCard getImageResponseCard()
public Message withImageResponseCard(ImageResponseCard imageResponseCard)
imageResponseCard - public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.