Interface OrchestrationAIAgentConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<OrchestrationAIAgentConfiguration.Builder,,OrchestrationAIAgentConfiguration> SdkBuilder<OrchestrationAIAgentConfiguration.Builder,,OrchestrationAIAgentConfiguration> SdkPojo
- Enclosing class:
OrchestrationAIAgentConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionconnectInstanceArn(String connectInstanceArn) The Amazon Resource Name (ARN) of the Amazon Connect instance used by the Orchestration AI Agent.inputSchemas(Collection<Document> inputSchemas) The JSON schemas that define the structure of the structured data input accepted by the Orchestration AI Agent.inputSchemas(Document... inputSchemas) The JSON schemas that define the structure of the structured data input accepted by the Orchestration AI Agent.The locale setting for the Orchestration AI Agent.multiAgentConfigurations(Collection<MultiAgentConfiguration> multiAgentConfigurations) The collaborator agents that the Orchestration AI Agent can work with.multiAgentConfigurations(Consumer<MultiAgentConfiguration.Builder>... multiAgentConfigurations) The collaborator agents that the Orchestration AI Agent can work with.multiAgentConfigurations(MultiAgentConfiguration... multiAgentConfigurations) The collaborator agents that the Orchestration AI Agent can work with.orchestrationAIGuardrailId(String orchestrationAIGuardrailId) The AI Guardrail identifier used by the Orchestration AI Agent.orchestrationAIPromptId(String orchestrationAIPromptId) The AI Prompt identifier used by the Orchestration AI Agent.outputSchemas(Collection<Document> outputSchemas) The JSON schemas that define the structure of the structured output generated by the Orchestration AI Agent.outputSchemas(Document... outputSchemas) The JSON schemas that define the structure of the structured output generated by the Orchestration AI Agent.toolConfigurations(Collection<ToolConfiguration> toolConfigurations) The tool configurations used by the Orchestration AI Agent.toolConfigurations(Consumer<ToolConfiguration.Builder>... toolConfigurations) The tool configurations used by the Orchestration AI Agent.toolConfigurations(ToolConfiguration... toolConfigurations) The tool configurations used by the Orchestration AI Agent.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
-
orchestrationAIPromptId
The AI Prompt identifier used by the Orchestration AI Agent.
- Parameters:
orchestrationAIPromptId- The AI Prompt identifier used by the Orchestration AI Agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
orchestrationAIGuardrailId
OrchestrationAIAgentConfiguration.Builder orchestrationAIGuardrailId(String orchestrationAIGuardrailId) The AI Guardrail identifier used by the Orchestration AI Agent.
- Parameters:
orchestrationAIGuardrailId- The AI Guardrail identifier used by the Orchestration AI Agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toolConfigurations
OrchestrationAIAgentConfiguration.Builder toolConfigurations(Collection<ToolConfiguration> toolConfigurations) The tool configurations used by the Orchestration AI Agent.
- Parameters:
toolConfigurations- The tool configurations used by the Orchestration AI Agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toolConfigurations
OrchestrationAIAgentConfiguration.Builder toolConfigurations(ToolConfiguration... toolConfigurations) The tool configurations used by the Orchestration AI Agent.
- Parameters:
toolConfigurations- The tool configurations used by the Orchestration AI Agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toolConfigurations
OrchestrationAIAgentConfiguration.Builder toolConfigurations(Consumer<ToolConfiguration.Builder>... toolConfigurations) The tool configurations used by the Orchestration AI Agent.
This is a convenience method that creates an instance of theToolConfiguration.Builderavoiding the need to create one manually viaToolConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totoolConfigurations(List<ToolConfiguration>).- Parameters:
toolConfigurations- a consumer that will call methods onToolConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
multiAgentConfigurations
OrchestrationAIAgentConfiguration.Builder multiAgentConfigurations(Collection<MultiAgentConfiguration> multiAgentConfigurations) The collaborator agents that the Orchestration AI Agent can work with. Each entry defines another agent that the orchestrator either delegates to or hands the conversation off to.
- Parameters:
multiAgentConfigurations- The collaborator agents that the Orchestration AI Agent can work with. Each entry defines another agent that the orchestrator either delegates to or hands the conversation off to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multiAgentConfigurations
OrchestrationAIAgentConfiguration.Builder multiAgentConfigurations(MultiAgentConfiguration... multiAgentConfigurations) The collaborator agents that the Orchestration AI Agent can work with. Each entry defines another agent that the orchestrator either delegates to or hands the conversation off to.
- Parameters:
multiAgentConfigurations- The collaborator agents that the Orchestration AI Agent can work with. Each entry defines another agent that the orchestrator either delegates to or hands the conversation off to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multiAgentConfigurations
OrchestrationAIAgentConfiguration.Builder multiAgentConfigurations(Consumer<MultiAgentConfiguration.Builder>... multiAgentConfigurations) The collaborator agents that the Orchestration AI Agent can work with. Each entry defines another agent that the orchestrator either delegates to or hands the conversation off to.
This is a convenience method that creates an instance of theMultiAgentConfiguration.Builderavoiding the need to create one manually viaMultiAgentConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomultiAgentConfigurations(List<MultiAgentConfiguration>).- Parameters:
multiAgentConfigurations- a consumer that will call methods onMultiAgentConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connectInstanceArn
The Amazon Resource Name (ARN) of the Amazon Connect instance used by the Orchestration AI Agent.
- Parameters:
connectInstanceArn- The Amazon Resource Name (ARN) of the Amazon Connect instance used by the Orchestration AI Agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
locale
The locale setting for the Orchestration AI Agent.
- Parameters:
locale- The locale setting for the Orchestration AI Agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputSchemas
The JSON schemas that define the structure of the structured data input accepted by the Orchestration AI Agent. The data in a
DATAmessage sent to the agent is validated against these schemas. You can specify at most one schema.- Parameters:
inputSchemas- The JSON schemas that define the structure of the structured data input accepted by the Orchestration AI Agent. The data in aDATAmessage sent to the agent is validated against these schemas. You can specify at most one schema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputSchemas
The JSON schemas that define the structure of the structured data input accepted by the Orchestration AI Agent. The data in a
DATAmessage sent to the agent is validated against these schemas. You can specify at most one schema.- Parameters:
inputSchemas- The JSON schemas that define the structure of the structured data input accepted by the Orchestration AI Agent. The data in aDATAmessage sent to the agent is validated against these schemas. You can specify at most one schema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSchemas
The JSON schemas that define the structure of the structured output generated by the Orchestration AI Agent. You can specify at most one schema.
- Parameters:
outputSchemas- The JSON schemas that define the structure of the structured output generated by the Orchestration AI Agent. You can specify at most one schema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSchemas
The JSON schemas that define the structure of the structured output generated by the Orchestration AI Agent. You can specify at most one schema.
- Parameters:
outputSchemas- The JSON schemas that define the structure of the structured output generated by the Orchestration AI Agent. You can specify at most one schema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-