Interface InvocationInput.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<InvocationInput.Builder,,- InvocationInput> - SdkBuilder<InvocationInput.Builder,,- InvocationInput> - SdkPojo
- Enclosing class:
- InvocationInput
- 
Method SummaryModifier and TypeMethodDescriptiondefault InvocationInput.BuilderactionGroupInvocationInput(Consumer<ActionGroupInvocationInput.Builder> actionGroupInvocationInput) Contains information about the action group to be invoked.actionGroupInvocationInput(ActionGroupInvocationInput actionGroupInvocationInput) Contains information about the action group to be invoked.default InvocationInput.BuilderagentCollaboratorInvocationInput(Consumer<AgentCollaboratorInvocationInput.Builder> agentCollaboratorInvocationInput) The collaborator's invocation input.agentCollaboratorInvocationInput(AgentCollaboratorInvocationInput agentCollaboratorInvocationInput) The collaborator's invocation input.default InvocationInput.BuildercodeInterpreterInvocationInput(Consumer<CodeInterpreterInvocationInput.Builder> codeInterpreterInvocationInput) Contains information about the code interpreter to be invoked.codeInterpreterInvocationInput(CodeInterpreterInvocationInput codeInterpreterInvocationInput) Contains information about the code interpreter to be invoked.invocationType(String invocationType) Specifies whether the agent is invoking an action group or a knowledge base.invocationType(InvocationType invocationType) Specifies whether the agent is invoking an action group or a knowledge base.default InvocationInput.BuilderknowledgeBaseLookupInput(Consumer<KnowledgeBaseLookupInput.Builder> knowledgeBaseLookupInput) Contains details about the knowledge base to look up and the query to be made.knowledgeBaseLookupInput(KnowledgeBaseLookupInput knowledgeBaseLookupInput) Contains details about the knowledge base to look up and the query to be made.The unique identifier of the trace.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
traceIdThe unique identifier of the trace. - Parameters:
- traceId- The unique identifier of the trace.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
invocationTypeSpecifies whether the agent is invoking an action group or a knowledge base. - Parameters:
- invocationType- Specifies whether the agent is invoking an action group or a knowledge base.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
invocationTypeSpecifies whether the agent is invoking an action group or a knowledge base. - Parameters:
- invocationType- Specifies whether the agent is invoking an action group or a knowledge base.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
actionGroupInvocationInputInvocationInput.Builder actionGroupInvocationInput(ActionGroupInvocationInput actionGroupInvocationInput) Contains information about the action group to be invoked. - Parameters:
- actionGroupInvocationInput- Contains information about the action group to be invoked.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
actionGroupInvocationInputdefault InvocationInput.Builder actionGroupInvocationInput(Consumer<ActionGroupInvocationInput.Builder> actionGroupInvocationInput) Contains information about the action group to be invoked. This is a convenience method that creates an instance of theActionGroupInvocationInput.Builderavoiding the need to create one manually viaActionGroupInvocationInput.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toactionGroupInvocationInput(ActionGroupInvocationInput).- Parameters:
- actionGroupInvocationInput- a consumer that will call methods on- ActionGroupInvocationInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
knowledgeBaseLookupInputContains details about the knowledge base to look up and the query to be made. - Parameters:
- knowledgeBaseLookupInput- Contains details about the knowledge base to look up and the query to be made.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
knowledgeBaseLookupInputdefault InvocationInput.Builder knowledgeBaseLookupInput(Consumer<KnowledgeBaseLookupInput.Builder> knowledgeBaseLookupInput) Contains details about the knowledge base to look up and the query to be made. This is a convenience method that creates an instance of theKnowledgeBaseLookupInput.Builderavoiding the need to create one manually viaKnowledgeBaseLookupInput.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toknowledgeBaseLookupInput(KnowledgeBaseLookupInput).- Parameters:
- knowledgeBaseLookupInput- a consumer that will call methods on- KnowledgeBaseLookupInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
codeInterpreterInvocationInputInvocationInput.Builder codeInterpreterInvocationInput(CodeInterpreterInvocationInput codeInterpreterInvocationInput) Contains information about the code interpreter to be invoked. - Parameters:
- codeInterpreterInvocationInput- Contains information about the code interpreter to be invoked.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
codeInterpreterInvocationInputdefault InvocationInput.Builder codeInterpreterInvocationInput(Consumer<CodeInterpreterInvocationInput.Builder> codeInterpreterInvocationInput) Contains information about the code interpreter to be invoked. This is a convenience method that creates an instance of theCodeInterpreterInvocationInput.Builderavoiding the need to create one manually viaCodeInterpreterInvocationInput.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocodeInterpreterInvocationInput(CodeInterpreterInvocationInput).- Parameters:
- codeInterpreterInvocationInput- a consumer that will call methods on- CodeInterpreterInvocationInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
agentCollaboratorInvocationInputInvocationInput.Builder agentCollaboratorInvocationInput(AgentCollaboratorInvocationInput agentCollaboratorInvocationInput) The collaborator's invocation input. - Parameters:
- agentCollaboratorInvocationInput- The collaborator's invocation input.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
agentCollaboratorInvocationInputdefault InvocationInput.Builder agentCollaboratorInvocationInput(Consumer<AgentCollaboratorInvocationInput.Builder> agentCollaboratorInvocationInput) The collaborator's invocation input. This is a convenience method that creates an instance of theAgentCollaboratorInvocationInput.Builderavoiding the need to create one manually viaAgentCollaboratorInvocationInput.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toagentCollaboratorInvocationInput(AgentCollaboratorInvocationInput).- Parameters:
- agentCollaboratorInvocationInput- a consumer that will call methods on- AgentCollaboratorInvocationInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-