Interface AnswerRecommendationAIAgentConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AnswerRecommendationAIAgentConfiguration.Builder,AnswerRecommendationAIAgentConfiguration>,SdkBuilder<AnswerRecommendationAIAgentConfiguration.Builder,AnswerRecommendationAIAgentConfiguration>,SdkPojo
- Enclosing class:
- AnswerRecommendationAIAgentConfiguration
public static interface AnswerRecommendationAIAgentConfiguration.Builder extends SdkPojo, CopyableBuilder<AnswerRecommendationAIAgentConfiguration.Builder,AnswerRecommendationAIAgentConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AnswerRecommendationAIAgentConfiguration.BuilderanswerGenerationAIGuardrailId(String answerGenerationAIGuardrailId)The AI Guardrail identifier for the Answer Generation Guardrail used by theANSWER_RECOMMENDATIONAI Agent.AnswerRecommendationAIAgentConfiguration.BuilderanswerGenerationAIPromptId(String answerGenerationAIPromptId)The AI Prompt identifier for the Answer Generation prompt used by theANSWER_RECOMMENDATIONAI Agent.AnswerRecommendationAIAgentConfiguration.BuilderassociationConfigurations(Collection<AssociationConfiguration> associationConfigurations)The association configurations for overriding behavior on this AI Agent.AnswerRecommendationAIAgentConfiguration.BuilderassociationConfigurations(Consumer<AssociationConfiguration.Builder>... associationConfigurations)The association configurations for overriding behavior on this AI Agent.AnswerRecommendationAIAgentConfiguration.BuilderassociationConfigurations(AssociationConfiguration... associationConfigurations)The association configurations for overriding behavior on this AI Agent.AnswerRecommendationAIAgentConfiguration.BuilderintentLabelingGenerationAIPromptId(String intentLabelingGenerationAIPromptId)The AI Prompt identifier for the Intent Labeling prompt used by theANSWER_RECOMMENDATIONAI Agent.AnswerRecommendationAIAgentConfiguration.Builderlocale(String locale)The locale to which specifies the language and region settings that determine the response language for QueryAssistant.AnswerRecommendationAIAgentConfiguration.BuilderqueryReformulationAIPromptId(String queryReformulationAIPromptId)The AI Prompt identifier for the Query Reformulation prompt used by theANSWER_RECOMMENDATIONAI 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 Detail
-
answerGenerationAIGuardrailId
AnswerRecommendationAIAgentConfiguration.Builder answerGenerationAIGuardrailId(String answerGenerationAIGuardrailId)
The AI Guardrail identifier for the Answer Generation Guardrail used by the
ANSWER_RECOMMENDATIONAI Agent.- Parameters:
answerGenerationAIGuardrailId- The AI Guardrail identifier for the Answer Generation Guardrail used by theANSWER_RECOMMENDATIONAI 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_RECOMMENDATIONAI Agent.- Parameters:
answerGenerationAIPromptId- The AI Prompt identifier for the Answer Generation prompt used by theANSWER_RECOMMENDATIONAI 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.Builderavoiding the need to create one manually viaAssociationConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#associationConfigurations(List.) - 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:
#associationConfigurations(java.util.Collection)
-
intentLabelingGenerationAIPromptId
AnswerRecommendationAIAgentConfiguration.Builder intentLabelingGenerationAIPromptId(String intentLabelingGenerationAIPromptId)
The AI Prompt identifier for the Intent Labeling prompt used by the
ANSWER_RECOMMENDATIONAI Agent.- Parameters:
intentLabelingGenerationAIPromptId- The AI Prompt identifier for the Intent Labeling prompt used by theANSWER_RECOMMENDATIONAI Agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
locale
AnswerRecommendationAIAgentConfiguration.Builder locale(String locale)
The locale to which specifies the language and region settings that determine the response language for QueryAssistant.
Changing this locale to anything other than
en_USwill turn off recommendations triggered by contact transcripts for agent assistance, as this feature is not supported in multiple languages.- Parameters:
locale- The locale to which specifies the language and region settings that determine the response language for QueryAssistant.Changing this locale to anything other than
en_USwill turn off recommendations triggered by contact transcripts for agent assistance, as this feature is not supported in multiple languages.- 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_RECOMMENDATIONAI Agent.- Parameters:
queryReformulationAIPromptId- The AI Prompt identifier for the Query Reformulation prompt used by theANSWER_RECOMMENDATIONAI Agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-