Interface ChatMessage.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ChatMessage.Builder,,ChatMessage> SdkBuilder<ChatMessage.Builder,,ChatMessage> SdkPojo
- Enclosing class:
ChatMessage
@Mutable
@NotThreadSafe
public static interface ChatMessage.Builder
extends SdkPojo, CopyableBuilder<ChatMessage.Builder,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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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. Maximum of 16,384 bytes for all content types (
text/plain,text/markdown,application/json, andapplication/vnd.amazonaws.connect.message.interactive.response).Some messaging channels enforce lower limits. For channel-specific message size limits, see Chat message size limits by channel in the Amazon Connect Customer Administrator Guide.
- Parameters:
content- The content of the chat message. Maximum of 16,384 bytes for all content types (text/plain,text/markdown,application/json, andapplication/vnd.amazonaws.connect.message.interactive.response).Some messaging channels enforce lower limits. For channel-specific message size limits, see Chat message size limits by channel in the Amazon Connect Customer Administrator Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-