Interface ListModelsRequest.Builder

  • Method Details

    • assistantId

      ListModelsRequest.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. The assistant's region determines which models are available.

      Parameters:
      assistantId - The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN. The assistant's region determines which models are available.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • aiPromptType

      ListModelsRequest.Builder aiPromptType(String aiPromptType)

      The type of the AI Prompt to filter models by. When specified, only models that support the given AI Prompt type are returned.

      Parameters:
      aiPromptType - The type of the AI Prompt to filter models by. When specified, only models that support the given AI Prompt type are returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • aiPromptType

      ListModelsRequest.Builder aiPromptType(AIPromptType aiPromptType)

      The type of the AI Prompt to filter models by. When specified, only models that support the given AI Prompt type are returned.

      Parameters:
      aiPromptType - The type of the AI Prompt to filter models by. When specified, only models that support the given AI Prompt type are returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • modelLifecycle

      ListModelsRequest.Builder modelLifecycle(String modelLifecycle)

      The lifecycle status of models to filter by. When specified, only models with the given lifecycle status are returned.

      Parameters:
      modelLifecycle - The lifecycle status of models to filter by. When specified, only models with the given lifecycle status are returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • modelLifecycle

      ListModelsRequest.Builder modelLifecycle(ModelLifecycle modelLifecycle)

      The lifecycle status of models to filter by. When specified, only models with the given lifecycle status are returned.

      Parameters:
      modelLifecycle - The lifecycle status of models to filter by. When specified, only models with the given lifecycle status are returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nextToken

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

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

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