Interface NewSessionDetails.Builder

    • 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, and application/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 contain text/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 are text/plain, text/markdown, application/json, application/vnd.amazonaws.connect.message.interactive, and application/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 contain text/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, and application/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 contain text/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 are text/plain, text/markdown, application/json, application/vnd.amazonaws.connect.message.interactive, and application/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 contain text/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.
      • 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.