Interface Message.Builder

    • Method Detail

      • contentType

        Message.Builder contentType​(String contentType)

        The content type of the message string.

        Parameters:
        contentType - The content type of the message string.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ContentType, ContentType
      • contentType

        Message.Builder contentType​(ContentType contentType)

        The content type of the message string.

        Parameters:
        contentType - The content type of the message string.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ContentType, ContentType
      • content

        Message.Builder content​(String content)

        The text of the message.

        Parameters:
        content - The text of the message.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groupNumber

        Message.Builder groupNumber​(Integer groupNumber)

        Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response.

        Parameters:
        groupNumber - Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.