Interface ChatEvent.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ChatEvent.Builder,,ChatEvent> SdkBuilder<ChatEvent.Builder,,ChatEvent> SdkPojo
- Enclosing class:
ChatEvent
-
Method Summary
Modifier and TypeMethodDescriptionContent of the message or event.contentType(String contentType) Type of content.Type of chat integration event.type(ChatEventType type) Type of chat integration event.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, sdkFields
-
Method Details
-
type
Type of chat integration event.
- Parameters:
type- Type of chat integration event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
Type of chat integration event.
- Parameters:
type- Type of chat integration event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
contentType
Type of content. This is required when
TypeisMESSAGEorEVENT.-
For allowed message content types, see the
ContentTypeparameter in the SendMessage topic in the Amazon Connect Participant Service API Reference. -
For allowed event content types, see the
ContentTypeparameter in the SendEvent topic in the Amazon Connect Participant Service API Reference.
- Parameters:
contentType- Type of content. This is required whenTypeisMESSAGEorEVENT.-
For allowed message content types, see the
ContentTypeparameter in the SendMessage topic in the Amazon Connect Participant Service API Reference. -
For allowed event content types, see the
ContentTypeparameter in the SendEvent topic in the Amazon Connect Participant Service API Reference.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
content
Content of the message or event. This is required when
TypeisMESSAGEand for certainContentTypeswhenTypeisEVENT.-
For allowed message content, see the
Contentparameter in the SendMessage topic in the Amazon Connect Participant Service API Reference. -
For allowed event content, see the
Contentparameter in the SendEvent topic in the Amazon Connect Participant Service API Reference.
- Parameters:
content- Content of the message or event. This is required whenTypeisMESSAGEand for certainContentTypeswhenTypeisEVENT.-
For allowed message content, see the
Contentparameter in the SendMessage topic in the Amazon Connect Participant Service API Reference. -
For allowed event content, see the
Contentparameter in the SendEvent topic in the Amazon Connect Participant Service API Reference.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-