Interface NewSessionDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<NewSessionDetails.Builder,NewSessionDetails>,SdkBuilder<NewSessionDetails.Builder,NewSessionDetails>,SdkPojo
- Enclosing class:
- NewSessionDetails
public static interface NewSessionDetails.Builder extends SdkPojo, CopyableBuilder<NewSessionDetails.Builder,NewSessionDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description NewSessionDetails.Builderattributes(Map<String,String> attributes)A custom key-value pair using an attribute map.default NewSessionDetails.BuilderparticipantDetails(Consumer<ParticipantDetails.Builder> participantDetails)Sets the value of the ParticipantDetails property for this object.NewSessionDetails.BuilderparticipantDetails(ParticipantDetails participantDetails)Sets the value of the ParticipantDetails property for this object.default NewSessionDetails.BuilderstreamingConfiguration(Consumer<ChatStreamingConfiguration.Builder> streamingConfiguration)Sets the value of the StreamingConfiguration property for this object.NewSessionDetails.BuilderstreamingConfiguration(ChatStreamingConfiguration streamingConfiguration)Sets the value of the StreamingConfiguration property for this object.NewSessionDetails.BuildersupportedMessagingContentTypes(String... supportedMessagingContentTypes)The supported chat message content types.NewSessionDetails.BuildersupportedMessagingContentTypes(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 Detail
-
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
NewSessionDetails.Builder supportedMessagingContentTypes(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.
-
participantDetails
NewSessionDetails.Builder participantDetails(ParticipantDetails 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.Builderavoiding the need to create one manually viaParticipantDetails.builder().When the
Consumercompletes,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:
participantDetails(ParticipantDetails)
-
attributes
NewSessionDetails.Builder attributes(Map<String,String> 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
NewSessionDetails.Builder streamingConfiguration(ChatStreamingConfiguration 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.Builderavoiding the need to create one manually viaChatStreamingConfiguration.builder().When the
Consumercompletes,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:
streamingConfiguration(ChatStreamingConfiguration)
-
-