Interface AnswerRecommendationAIAgentConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AnswerRecommendationAIAgentConfiguration.Builder,
,AnswerRecommendationAIAgentConfiguration> SdkBuilder<AnswerRecommendationAIAgentConfiguration.Builder,
,AnswerRecommendationAIAgentConfiguration> SdkPojo
- Enclosing class:
AnswerRecommendationAIAgentConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionanswerGenerationAIGuardrailId
(String answerGenerationAIGuardrailId) The AI Guardrail identifier for the Answer Generation Guardrail used by theANSWER_RECOMMENDATION
AI Agent.answerGenerationAIPromptId
(String answerGenerationAIPromptId) The AI Prompt identifier for the Answer Generation prompt used by theANSWER_RECOMMENDATION
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.intentLabelingGenerationAIPromptId
(String intentLabelingGenerationAIPromptId) The AI Prompt identifier for the Intent Labeling prompt used by theANSWER_RECOMMENDATION
AI Agent.The locale to which specifies the language and region settings that determine the response language for QueryAssistant.queryReformulationAIPromptId
(String queryReformulationAIPromptId) The AI Prompt identifier for the Query Reformulation prompt used by theANSWER_RECOMMENDATION
AI Agent.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
intentLabelingGenerationAIPromptId
AnswerRecommendationAIAgentConfiguration.Builder intentLabelingGenerationAIPromptId(String intentLabelingGenerationAIPromptId) The AI Prompt identifier for the Intent Labeling prompt used by the
ANSWER_RECOMMENDATION
AI Agent.- Parameters:
intentLabelingGenerationAIPromptId
- The AI Prompt identifier for the Intent Labeling prompt used by theANSWER_RECOMMENDATION
AI Agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryReformulationAIPromptId
AnswerRecommendationAIAgentConfiguration.Builder queryReformulationAIPromptId(String queryReformulationAIPromptId) The AI Prompt identifier for the Query Reformulation prompt used by the
ANSWER_RECOMMENDATION
AI Agent.- Parameters:
queryReformulationAIPromptId
- The AI Prompt identifier for the Query Reformulation prompt used by theANSWER_RECOMMENDATION
AI Agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
answerGenerationAIPromptId
AnswerRecommendationAIAgentConfiguration.Builder answerGenerationAIPromptId(String answerGenerationAIPromptId) The AI Prompt identifier for the Answer Generation prompt used by the
ANSWER_RECOMMENDATION
AI Agent.- Parameters:
answerGenerationAIPromptId
- The AI Prompt identifier for the Answer Generation prompt used by theANSWER_RECOMMENDATION
AI Agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
answerGenerationAIGuardrailId
AnswerRecommendationAIAgentConfiguration.Builder answerGenerationAIGuardrailId(String answerGenerationAIGuardrailId) The AI Guardrail identifier for the Answer Generation Guardrail used by the
ANSWER_RECOMMENDATION
AI Agent.- Parameters:
answerGenerationAIGuardrailId
- The AI Guardrail identifier for the Answer Generation Guardrail used by theANSWER_RECOMMENDATION
AI Agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associationConfigurations
AnswerRecommendationAIAgentConfiguration.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
AnswerRecommendationAIAgentConfiguration.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
AnswerRecommendationAIAgentConfiguration.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.Builder
avoiding the need to create one manually viaAssociationConfiguration.builder()
.When the
Consumer
completes,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.
-