Interface SelfServiceAIAgentConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SelfServiceAIAgentConfiguration.Builder,,SelfServiceAIAgentConfiguration> SdkBuilder<SelfServiceAIAgentConfiguration.Builder,,SelfServiceAIAgentConfiguration> SdkPojo
- Enclosing class:
SelfServiceAIAgentConfiguration
@Mutable
@NotThreadSafe
public static interface SelfServiceAIAgentConfiguration.Builder
extends SdkPojo, CopyableBuilder<SelfServiceAIAgentConfiguration.Builder,SelfServiceAIAgentConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionassociationConfigurations(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.selfServiceAIGuardrailId(String selfServiceAIGuardrailId) The AI Guardrail identifier used by the SELF_SERVICE AI Agent.selfServiceAnswerGenerationAIPromptId(String selfServiceAnswerGenerationAIPromptId) The AI Prompt identifier for the Self Service Answer Generation prompt used by the SELF_SERVICE AI AgentselfServicePreProcessingAIPromptId(String selfServicePreProcessingAIPromptId) The AI Prompt identifier for the Self Service Pre-Processing prompt used by the SELF_SERVICE AI AgentMethods 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
-
selfServicePreProcessingAIPromptId
SelfServiceAIAgentConfiguration.Builder selfServicePreProcessingAIPromptId(String selfServicePreProcessingAIPromptId) The AI Prompt identifier for the Self Service Pre-Processing prompt used by the SELF_SERVICE AI Agent
- Parameters:
selfServicePreProcessingAIPromptId- The AI Prompt identifier for the Self Service Pre-Processing prompt used by the SELF_SERVICE AI Agent- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selfServiceAnswerGenerationAIPromptId
SelfServiceAIAgentConfiguration.Builder selfServiceAnswerGenerationAIPromptId(String selfServiceAnswerGenerationAIPromptId) The AI Prompt identifier for the Self Service Answer Generation prompt used by the SELF_SERVICE AI Agent
- Parameters:
selfServiceAnswerGenerationAIPromptId- The AI Prompt identifier for the Self Service Answer Generation prompt used by the SELF_SERVICE AI Agent- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selfServiceAIGuardrailId
The AI Guardrail identifier used by the SELF_SERVICE AI Agent.
- Parameters:
selfServiceAIGuardrailId- The AI Guardrail identifier used by the SELF_SERVICE AI Agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associationConfigurations
SelfServiceAIAgentConfiguration.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
SelfServiceAIAgentConfiguration.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
SelfServiceAIAgentConfiguration.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:
-