Interface ListMessagesRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<ListMessagesRequest.Builder,ListMessagesRequest>, QBusinessRequest.Builder, SdkBuilder<ListMessagesRequest.Builder,ListMessagesRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
ListMessagesRequest

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

    • conversationId

      ListMessagesRequest.Builder conversationId(String conversationId)

      The identifier of the Amazon Q Business web experience conversation.

      Parameters:
      conversationId - The identifier of the Amazon Q Business web experience conversation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • applicationId

      ListMessagesRequest.Builder applicationId(String applicationId)

      The identifier for the Amazon Q Business application.

      Parameters:
      applicationId - The identifier for the Amazon Q Business application.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • userId

      The identifier of the user involved in the Amazon Q Business web experience conversation.

      Parameters:
      userId - The identifier of the user involved in the Amazon Q Business web experience conversation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      ListMessagesRequest.Builder nextToken(String nextToken)

      If the number of retrievers returned exceeds maxResults, Amazon Q Business returns a next token as a pagination token to retrieve the next set of messages.

      Parameters:
      nextToken - If the number of retrievers returned exceeds maxResults, Amazon Q Business returns a next token as a pagination token to retrieve the next set of messages.
      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 messages to return.

      Parameters:
      maxResults - The maximum number of messages to return.
      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.