Interface AgentInvocationConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AgentInvocationConfig.Builder,,AgentInvocationConfig> SdkBuilder<AgentInvocationConfig.Builder,,AgentInvocationConfig> SdkPojo
- Enclosing class:
AgentInvocationConfig
@Mutable
@NotThreadSafe
public static interface AgentInvocationConfig.Builder
extends SdkPojo, CopyableBuilder<AgentInvocationConfig.Builder,AgentInvocationConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AgentInvocationConfig.BuilderagentCoreRuntime(Consumer<AgentCoreRuntimeInvocation.Builder> agentCoreRuntime) The configuration for invoking an agent hosted on AgentCore Runtime.agentCoreRuntime(AgentCoreRuntimeInvocation agentCoreRuntime) The configuration for invoking an agent hosted on AgentCore Runtime.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
-
agentCoreRuntime
The configuration for invoking an agent hosted on AgentCore Runtime.
- Parameters:
agentCoreRuntime- The configuration for invoking an agent hosted on AgentCore Runtime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentCoreRuntime
default AgentInvocationConfig.Builder agentCoreRuntime(Consumer<AgentCoreRuntimeInvocation.Builder> agentCoreRuntime) The configuration for invoking an agent hosted on AgentCore Runtime.
This is a convenience method that creates an instance of theAgentCoreRuntimeInvocation.Builderavoiding the need to create one manually viaAgentCoreRuntimeInvocation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toagentCoreRuntime(AgentCoreRuntimeInvocation).- Parameters:
agentCoreRuntime- a consumer that will call methods onAgentCoreRuntimeInvocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-