Interface ListMessagesRequest.Builder

  • Method Details

    • assistantId

      ListMessagesRequest.Builder assistantId(String assistantId)

      The identifier of the Amazon Q in Connect assistant.

      Parameters:
      assistantId - The identifier of the Amazon Q in Connect assistant.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sessionId

      ListMessagesRequest.Builder sessionId(String sessionId)

      The identifier of the Amazon Q in Connect session.

      Parameters:
      sessionId - The identifier of the Amazon Q in Connect session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      ListMessagesRequest.Builder nextToken(String nextToken)

      The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

      Parameters:
      nextToken - The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxResults

      ListMessagesRequest.Builder maxResults(Integer maxResults)

      The maximum number of results to return per page.

      Parameters:
      maxResults - The maximum number of results to return per page.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      ListMessagesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.