Interface MultiAgentConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MultiAgentConfiguration.Builder,,MultiAgentConfiguration> SdkBuilder<MultiAgentConfiguration.Builder,,MultiAgentConfiguration> SdkPojo
- Enclosing class:
MultiAgentConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault MultiAgentConfiguration.BuilderdelegateAgentConfiguration(Consumer<DelegateAgentConfiguration.Builder> delegateAgentConfiguration) Configures the collaborator agent as a delegate that the Orchestration AI Agent invokes while retaining control of the conversation.delegateAgentConfiguration(DelegateAgentConfiguration delegateAgentConfiguration) Configures the collaborator agent as a delegate that the Orchestration AI Agent invokes while retaining control of the conversation.default MultiAgentConfiguration.BuilderhandoffAgentConfiguration(Consumer<HandoffAgentConfiguration.Builder> handoffAgentConfiguration) Configures the collaborator agent as a handoff target that the Orchestration AI Agent transfers control of the conversation to.handoffAgentConfiguration(HandoffAgentConfiguration handoffAgentConfiguration) Configures the collaborator agent as a handoff target that the Orchestration AI Agent transfers control of the conversation to.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
-
delegateAgentConfiguration
MultiAgentConfiguration.Builder delegateAgentConfiguration(DelegateAgentConfiguration delegateAgentConfiguration) Configures the collaborator agent as a delegate that the Orchestration AI Agent invokes while retaining control of the conversation.
- Parameters:
delegateAgentConfiguration- Configures the collaborator agent as a delegate that the Orchestration AI Agent invokes while retaining control of the conversation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
delegateAgentConfiguration
default MultiAgentConfiguration.Builder delegateAgentConfiguration(Consumer<DelegateAgentConfiguration.Builder> delegateAgentConfiguration) Configures the collaborator agent as a delegate that the Orchestration AI Agent invokes while retaining control of the conversation.
This is a convenience method that creates an instance of theDelegateAgentConfiguration.Builderavoiding the need to create one manually viaDelegateAgentConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todelegateAgentConfiguration(DelegateAgentConfiguration).- Parameters:
delegateAgentConfiguration- a consumer that will call methods onDelegateAgentConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
handoffAgentConfiguration
MultiAgentConfiguration.Builder handoffAgentConfiguration(HandoffAgentConfiguration handoffAgentConfiguration) Configures the collaborator agent as a handoff target that the Orchestration AI Agent transfers control of the conversation to.
- Parameters:
handoffAgentConfiguration- Configures the collaborator agent as a handoff target that the Orchestration AI Agent transfers control of the conversation to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
handoffAgentConfiguration
default MultiAgentConfiguration.Builder handoffAgentConfiguration(Consumer<HandoffAgentConfiguration.Builder> handoffAgentConfiguration) Configures the collaborator agent as a handoff target that the Orchestration AI Agent transfers control of the conversation to.
This is a convenience method that creates an instance of theHandoffAgentConfiguration.Builderavoiding the need to create one manually viaHandoffAgentConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohandoffAgentConfiguration(HandoffAgentConfiguration).- Parameters:
handoffAgentConfiguration- a consumer that will call methods onHandoffAgentConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-