Class AnswerRecommendationAIAgentConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.qconnect.model.AnswerRecommendationAIAgentConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AnswerRecommendationAIAgentConfiguration.Builder,AnswerRecommendationAIAgentConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class AnswerRecommendationAIAgentConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AnswerRecommendationAIAgentConfiguration.Builder,AnswerRecommendationAIAgentConfiguration>
The configuration for the
ANSWER_RECOMMENDATIONAI Agent type.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAnswerRecommendationAIAgentConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringanswerGenerationAIGuardrailId()The AI Guardrail identifier for the Answer Generation Guardrail used by theANSWER_RECOMMENDATIONAI Agent.StringanswerGenerationAIPromptId()The AI Prompt identifier for the Answer Generation prompt used by theANSWER_RECOMMENDATIONAI Agent.List<AssociationConfiguration>associationConfigurations()The association configurations for overriding behavior on this AI Agent.static AnswerRecommendationAIAgentConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasAssociationConfigurations()For responses, this returns true if the service returned a value for the AssociationConfigurations property.inthashCode()StringintentLabelingGenerationAIPromptId()The AI Prompt identifier for the Intent Labeling prompt used by theANSWER_RECOMMENDATIONAI Agent.Stringlocale()The locale to which specifies the language and region settings that determine the response language for QueryAssistant.StringqueryReformulationAIPromptId()The AI Prompt identifier for the Query Reformulation prompt used by theANSWER_RECOMMENDATIONAI Agent.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AnswerRecommendationAIAgentConfiguration.Builder>serializableBuilderClass()AnswerRecommendationAIAgentConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
answerGenerationAIGuardrailId
public final String answerGenerationAIGuardrailId()
The AI Guardrail identifier for the Answer Generation Guardrail used by the
ANSWER_RECOMMENDATIONAI Agent.- Returns:
- The AI Guardrail identifier for the Answer Generation Guardrail used by the
ANSWER_RECOMMENDATIONAI Agent.
-
answerGenerationAIPromptId
public final String answerGenerationAIPromptId()
The AI Prompt identifier for the Answer Generation prompt used by the
ANSWER_RECOMMENDATIONAI Agent.- Returns:
- The AI Prompt identifier for the Answer Generation prompt used by the
ANSWER_RECOMMENDATIONAI Agent.
-
hasAssociationConfigurations
public final boolean hasAssociationConfigurations()
For responses, this returns true if the service returned a value for the AssociationConfigurations property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
associationConfigurations
public final List<AssociationConfiguration> associationConfigurations()
The association configurations for overriding behavior on this AI Agent.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasAssociationConfigurations()method.- Returns:
- The association configurations for overriding behavior on this AI Agent.
-
intentLabelingGenerationAIPromptId
public final String intentLabelingGenerationAIPromptId()
The AI Prompt identifier for the Intent Labeling prompt used by the
ANSWER_RECOMMENDATIONAI Agent.- Returns:
- The AI Prompt identifier for the Intent Labeling prompt used by the
ANSWER_RECOMMENDATIONAI Agent.
-
locale
public final 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.- Returns:
- 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.
-
queryReformulationAIPromptId
public final String queryReformulationAIPromptId()
The AI Prompt identifier for the Query Reformulation prompt used by the
ANSWER_RECOMMENDATIONAI Agent.- Returns:
- The AI Prompt identifier for the Query Reformulation prompt used by the
ANSWER_RECOMMENDATIONAI Agent.
-
toBuilder
public AnswerRecommendationAIAgentConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AnswerRecommendationAIAgentConfiguration.Builder,AnswerRecommendationAIAgentConfiguration>
-
builder
public static AnswerRecommendationAIAgentConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends AnswerRecommendationAIAgentConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-