Interface ListModelsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListModelsRequest.Builder,,ListModelsRequest> QConnectRequest.Builder,SdkBuilder<ListModelsRequest.Builder,,ListModelsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListModelsRequest
-
Method Summary
Modifier and TypeMethodDescriptionaiPromptType(String aiPromptType) The type of the AI Prompt to filter models by.aiPromptType(AIPromptType aiPromptType) The type of the AI Prompt to filter models by.assistantId(String assistantId) The identifier of the Amazon Q in Connect assistant.maxResults(Integer maxResults) The maximum number of results to return per page.modelLifecycle(String modelLifecycle) The lifecycle status of models to filter by.modelLifecycle(ModelLifecycle modelLifecycle) The lifecycle status of models to filter by.The token for the next set of results.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.qconnect.model.QConnectRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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
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
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
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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListModelsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-