Interface InvocationInput.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InvocationInput.Builder,InvocationInput>,SdkBuilder<InvocationInput.Builder,InvocationInput>,SdkPojo
- Enclosing class:
- InvocationInput
@Mutable @NotThreadSafe public static interface InvocationInput.Builder extends SdkPojo, CopyableBuilder<InvocationInput.Builder,InvocationInput>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default InvocationInput.BuilderactionGroupInvocationInput(Consumer<ActionGroupInvocationInput.Builder> actionGroupInvocationInput)Contains information about the action group to be invoked.InvocationInput.BuilderactionGroupInvocationInput(ActionGroupInvocationInput actionGroupInvocationInput)Contains information about the action group to be invoked.default InvocationInput.BuilderagentCollaboratorInvocationInput(Consumer<AgentCollaboratorInvocationInput.Builder> agentCollaboratorInvocationInput)The collaborator's invocation input.InvocationInput.BuilderagentCollaboratorInvocationInput(AgentCollaboratorInvocationInput agentCollaboratorInvocationInput)The collaborator's invocation input.default InvocationInput.BuildercodeInterpreterInvocationInput(Consumer<CodeInterpreterInvocationInput.Builder> codeInterpreterInvocationInput)Contains information about the code interpreter to be invoked.InvocationInput.BuildercodeInterpreterInvocationInput(CodeInterpreterInvocationInput codeInterpreterInvocationInput)Contains information about the code interpreter to be invoked.InvocationInput.BuilderinvocationType(String invocationType)Specifies whether the agent is invoking an action group or a knowledge base.InvocationInput.BuilderinvocationType(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.InvocationInput.BuilderknowledgeBaseLookupInput(KnowledgeBaseLookupInput knowledgeBaseLookupInput)Contains details about the knowledge base to look up and the query to be made.InvocationInput.BuildertraceId(String traceId)The unique identifier of the trace.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
actionGroupInvocationInput
InvocationInput.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.
-
actionGroupInvocationInput
default 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 onActionGroupInvocationInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
actionGroupInvocationInput(ActionGroupInvocationInput)
-
agentCollaboratorInvocationInput
InvocationInput.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.
-
agentCollaboratorInvocationInput
default 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 onAgentCollaboratorInvocationInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
agentCollaboratorInvocationInput(AgentCollaboratorInvocationInput)
-
codeInterpreterInvocationInput
InvocationInput.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.
-
codeInterpreterInvocationInput
default 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 onCodeInterpreterInvocationInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
codeInterpreterInvocationInput(CodeInterpreterInvocationInput)
-
invocationType
InvocationInput.Builder invocationType(String invocationType)
Specifies 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:
InvocationType,InvocationType
-
invocationType
InvocationInput.Builder invocationType(InvocationType invocationType)
Specifies 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:
InvocationType,InvocationType
-
knowledgeBaseLookupInput
InvocationInput.Builder knowledgeBaseLookupInput(KnowledgeBaseLookupInput knowledgeBaseLookupInput)
Contains 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.
-
knowledgeBaseLookupInput
default 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 onKnowledgeBaseLookupInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
knowledgeBaseLookupInput(KnowledgeBaseLookupInput)
-
traceId
InvocationInput.Builder traceId(String traceId)
The 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.
-
-