Interface ChatMessage.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ChatMessage.Builder,
,ChatMessage> SdkBuilder<ChatMessage.Builder,
,ChatMessage> SdkPojo
- Enclosing class:
ChatMessage
-
Method Summary
Modifier and TypeMethodDescriptionThe content of the chat message.contentType
(String contentType) The type of the content.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
contentType
The type of the content. Supported types are
text/plain
,text/markdown
,application/json
, andapplication/vnd.amazonaws.connect.message.interactive.response
.- Parameters:
contentType
- The type of the content. Supported types aretext/plain
,text/markdown
,application/json
, andapplication/vnd.amazonaws.connect.message.interactive.response
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
The content of the chat message.
-
For
text/plain
andtext/markdown
, the Length Constraints are Minimum of 1, Maximum of 1024. -
For
application/json
, the Length Constraints are Minimum of 1, Maximum of 12000. -
For
application/vnd.amazonaws.connect.message.interactive.response
, the Length Constraints are Minimum of 1, Maximum of 12288.
- Parameters:
content
- The content of the chat message.-
For
text/plain
andtext/markdown
, the Length Constraints are Minimum of 1, Maximum of 1024. -
For
application/json
, the Length Constraints are Minimum of 1, Maximum of 12000. -
For
application/vnd.amazonaws.connect.message.interactive.response
, the Length Constraints are Minimum of 1, Maximum of 12288.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-