Interface ListChatsRequest.Builder

  • Method Details

    • agentSpaceId

      ListChatsRequest.Builder agentSpaceId(String agentSpaceId)
      Sets the value of the AgentSpaceId property for this object.
      Parameters:
      agentSpaceId - The new value for the AgentSpaceId property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • userId

      Deprecated.
      userId is managed by the service and should not be provided by the caller

      The user identifier to list chats for. This field is deprecated and will be ignored — the service resolves user identity from the authenticated session.

      Parameters:
      userId - The user identifier to list chats for. This field is deprecated and will be ignored — the service resolves user identity from the authenticated session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxResults

      ListChatsRequest.Builder maxResults(Integer maxResults)

      Maximum number of results to return

      Parameters:
      maxResults - Maximum number of results to return
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      ListChatsRequest.Builder nextToken(String nextToken)

      Token for pagination

      Parameters:
      nextToken - Token for pagination
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      ListChatsRequest.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.