Interface Message.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Message.Builder,Message>, SdkBuilder<Message.Builder,Message>, SdkPojo
Enclosing class:
Message

public static interface Message.Builder extends SdkPojo, CopyableBuilder<Message.Builder,Message>
  • Method Details

    • 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

      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:
    • 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.