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