Interface ManualSearchAIAgentConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ManualSearchAIAgentConfiguration.Builder,,ManualSearchAIAgentConfiguration> SdkBuilder<ManualSearchAIAgentConfiguration.Builder,,ManualSearchAIAgentConfiguration> SdkPojo
- Enclosing class:
ManualSearchAIAgentConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionanswerGenerationAIGuardrailId(String answerGenerationAIGuardrailId) The AI Guardrail identifier for the Answer Generation guardrail used by the MANUAL_SEARCH AI Agent.answerGenerationAIPromptId(String answerGenerationAIPromptId) The AI Prompt identifier for the Answer Generation prompt used by the MANUAL_SEARCH AI Agent.associationConfigurations(Collection<AssociationConfiguration> associationConfigurations) The association configurations for overriding behavior on this AI Agent.associationConfigurations(Consumer<AssociationConfiguration.Builder>... associationConfigurations) The association configurations for overriding behavior on this AI Agent.associationConfigurations(AssociationConfiguration... associationConfigurations) The association configurations for overriding behavior on this AI Agent.The locale to which specifies the language and region settings that determine the response language for QueryAssistant.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
answerGenerationAIPromptId
ManualSearchAIAgentConfiguration.Builder answerGenerationAIPromptId(String answerGenerationAIPromptId) The AI Prompt identifier for the Answer Generation prompt used by the MANUAL_SEARCH AI Agent.
- Parameters:
answerGenerationAIPromptId- The AI Prompt identifier for the Answer Generation prompt used by the MANUAL_SEARCH AI Agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
answerGenerationAIGuardrailId
ManualSearchAIAgentConfiguration.Builder answerGenerationAIGuardrailId(String answerGenerationAIGuardrailId) The AI Guardrail identifier for the Answer Generation guardrail used by the MANUAL_SEARCH AI Agent.
- Parameters:
answerGenerationAIGuardrailId- The AI Guardrail identifier for the Answer Generation guardrail used by the MANUAL_SEARCH AI Agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associationConfigurations
ManualSearchAIAgentConfiguration.Builder associationConfigurations(Collection<AssociationConfiguration> associationConfigurations) The association configurations for overriding behavior on this AI Agent.
- Parameters:
associationConfigurations- The association configurations for overriding behavior on this AI Agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associationConfigurations
ManualSearchAIAgentConfiguration.Builder associationConfigurations(AssociationConfiguration... associationConfigurations) The association configurations for overriding behavior on this AI Agent.
- Parameters:
associationConfigurations- The association configurations for overriding behavior on this AI Agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associationConfigurations
ManualSearchAIAgentConfiguration.Builder associationConfigurations(Consumer<AssociationConfiguration.Builder>... associationConfigurations) The association configurations for overriding behavior on this AI Agent.
This is a convenience method that creates an instance of theAssociationConfiguration.Builderavoiding the need to create one manually viaAssociationConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassociationConfigurations(List<AssociationConfiguration>).- Parameters:
associationConfigurations- a consumer that will call methods onAssociationConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
locale
The locale to which specifies the language and region settings that determine the response language for QueryAssistant.
For more information on supported locales, see Language support for Amazon Q in Connect.
- Parameters:
locale- The locale to which specifies the language and region settings that determine the response language for QueryAssistant.For more information on supported locales, see Language support for Amazon Q in Connect.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-