Interface GetRecommendationsRequest.Builder

  • Method Details

    • assistantId

      GetRecommendationsRequest.Builder assistantId(String assistantId)

      The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

      Parameters:
      assistantId - The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sessionId

      The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.

      Parameters:
      sessionId - The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.
    • waitTimeSeconds

      GetRecommendationsRequest.Builder waitTimeSeconds(Integer waitTimeSeconds)

      The duration (in seconds) for which the call waits for a recommendation to be made available before returning. If a recommendation is available, the call returns sooner than WaitTimeSeconds. If no messages are available and the wait time expires, the call returns successfully with an empty list.

      Parameters:
      waitTimeSeconds - The duration (in seconds) for which the call waits for a recommendation to be made available before returning. If a recommendation is available, the call returns sooner than WaitTimeSeconds . If no messages are available and the wait time expires, the call returns successfully with an empty list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextChunkToken

      GetRecommendationsRequest.Builder nextChunkToken(String nextChunkToken)

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

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

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