Interface ChatMessage.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ChatMessage.Builder,ChatMessage>,SdkBuilder<ChatMessage.Builder,ChatMessage>,SdkPojo
- Enclosing class:
- ChatMessage
public static interface ChatMessage.Builder extends SdkPojo, CopyableBuilder<ChatMessage.Builder,ChatMessage>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ChatMessage.Buildercontent(String content)The content of the chat message.ChatMessage.BuildercontentType(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, sdkFields
-
-
-
-
Method Detail
-
contentType
ChatMessage.Builder contentType(String 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
ChatMessage.Builder content(String content)
The content of the chat message.
-
For
text/plainandtext/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/plainandtext/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.
-
-
-