Interface ChatEvent.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ChatEvent.Builder,ChatEvent>,SdkBuilder<ChatEvent.Builder,ChatEvent>,SdkPojo
- Enclosing class:
- ChatEvent
public static interface ChatEvent.Builder extends SdkPojo, CopyableBuilder<ChatEvent.Builder,ChatEvent>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ChatEvent.Buildercontent(String content)Content of the message or event.ChatEvent.BuildercontentType(String contentType)Type of content.ChatEvent.Buildertype(String type)Type of chat integration event.ChatEvent.Buildertype(ChatEventType type)Type of chat integration event.-
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
-
type
ChatEvent.Builder type(String 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:
ChatEventType,ChatEventType
-
type
ChatEvent.Builder type(ChatEventType 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:
ChatEventType,ChatEventType
-
contentType
ChatEvent.Builder contentType(String 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
ChatEvent.Builder content(String 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.
-
-
-