Interface NewSessionDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NewSessionDetails.Builder,
,NewSessionDetails> SdkBuilder<NewSessionDetails.Builder,
,NewSessionDetails> SdkPojo
- Enclosing class:
NewSessionDetails
-
Method Summary
Modifier and TypeMethodDescriptionattributes
(Map<String, String> attributes) A custom key-value pair using an attribute map.default NewSessionDetails.Builder
participantDetails
(Consumer<ParticipantDetails.Builder> participantDetails) Sets the value of the ParticipantDetails property for this object.participantDetails
(ParticipantDetails participantDetails) Sets the value of the ParticipantDetails property for this object.default NewSessionDetails.Builder
streamingConfiguration
(Consumer<ChatStreamingConfiguration.Builder> streamingConfiguration) Sets the value of the StreamingConfiguration property for this object.streamingConfiguration
(ChatStreamingConfiguration streamingConfiguration) Sets the value of the StreamingConfiguration property for this object.supportedMessagingContentTypes
(String... supportedMessagingContentTypes) The supported chat message content types.supportedMessagingContentTypes
(Collection<String> supportedMessagingContentTypes) The supported chat message content types.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 Details
-
supportedMessagingContentTypes
NewSessionDetails.Builder supportedMessagingContentTypes(Collection<String> supportedMessagingContentTypes) The supported chat message content types. Supported types are
text/plain
,text/markdown
,application/json
,application/vnd.amazonaws.connect.message.interactive
, andapplication/vnd.amazonaws.connect.message.interactive.response
.Content types must always contain
text/plain
. You can then put any other supported type in the list. For example, all the following lists are valid because they containtext/plain
:[text/plain, text/markdown, application/json]
,[text/markdown, text/plain]
,[text/plain, application/json, application/vnd.amazonaws.connect.message.interactive.response]
.- Parameters:
supportedMessagingContentTypes
- The supported chat message content types. Supported types aretext/plain
,text/markdown
,application/json
,application/vnd.amazonaws.connect.message.interactive
, andapplication/vnd.amazonaws.connect.message.interactive.response
.Content types must always contain
text/plain
. You can then put any other supported type in the list. For example, all the following lists are valid because they containtext/plain
:[text/plain, text/markdown, application/json]
,[text/markdown, text/plain]
,[text/plain, application/json, application/vnd.amazonaws.connect.message.interactive.response]
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedMessagingContentTypes
The supported chat message content types. Supported types are
text/plain
,text/markdown
,application/json
,application/vnd.amazonaws.connect.message.interactive
, andapplication/vnd.amazonaws.connect.message.interactive.response
.Content types must always contain
text/plain
. You can then put any other supported type in the list. For example, all the following lists are valid because they containtext/plain
:[text/plain, text/markdown, application/json]
,[text/markdown, text/plain]
,[text/plain, application/json, application/vnd.amazonaws.connect.message.interactive.response]
.- Parameters:
supportedMessagingContentTypes
- The supported chat message content types. Supported types aretext/plain
,text/markdown
,application/json
,application/vnd.amazonaws.connect.message.interactive
, andapplication/vnd.amazonaws.connect.message.interactive.response
.Content types must always contain
text/plain
. You can then put any other supported type in the list. For example, all the following lists are valid because they containtext/plain
:[text/plain, text/markdown, application/json]
,[text/markdown, text/plain]
,[text/plain, application/json, application/vnd.amazonaws.connect.message.interactive.response]
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
participantDetails
Sets the value of the ParticipantDetails property for this object.- Parameters:
participantDetails
- The new value for the ParticipantDetails property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
participantDetails
default NewSessionDetails.Builder participantDetails(Consumer<ParticipantDetails.Builder> participantDetails) Sets the value of the ParticipantDetails property for this object. This is a convenience method that creates an instance of theParticipantDetails.Builder
avoiding the need to create one manually viaParticipantDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toparticipantDetails(ParticipantDetails)
.- Parameters:
participantDetails
- a consumer that will call methods onParticipantDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attributes
A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes. They can be accessed in flows just like any other contact attributes.
There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.
- Parameters:
attributes
- A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes. They can be accessed in flows just like any other contact attributes.There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamingConfiguration
Sets the value of the StreamingConfiguration property for this object.- Parameters:
streamingConfiguration
- The new value for the StreamingConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamingConfiguration
default NewSessionDetails.Builder streamingConfiguration(Consumer<ChatStreamingConfiguration.Builder> streamingConfiguration) Sets the value of the StreamingConfiguration property for this object. This is a convenience method that creates an instance of theChatStreamingConfiguration.Builder
avoiding the need to create one manually viaChatStreamingConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostreamingConfiguration(ChatStreamingConfiguration)
.- Parameters:
streamingConfiguration
- a consumer that will call methods onChatStreamingConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-