Interface InvocationInput.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<InvocationInput.Builder,InvocationInput>
,SdkBuilder<InvocationInput.Builder,InvocationInput>
,SdkPojo
- Enclosing class:
- InvocationInput
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.Builder
actionGroupInvocationInput(Consumer<ActionGroupInvocationInput.Builder> actionGroupInvocationInput)
Contains information about the action group to be invoked.InvocationInput.Builder
actionGroupInvocationInput(ActionGroupInvocationInput actionGroupInvocationInput)
Contains information about the action group to be invoked.default InvocationInput.Builder
agentCollaboratorInvocationInput(Consumer<AgentCollaboratorInvocationInput.Builder> agentCollaboratorInvocationInput)
The collaborator's invocation input.InvocationInput.Builder
agentCollaboratorInvocationInput(AgentCollaboratorInvocationInput agentCollaboratorInvocationInput)
The collaborator's invocation input.default InvocationInput.Builder
codeInterpreterInvocationInput(Consumer<CodeInterpreterInvocationInput.Builder> codeInterpreterInvocationInput)
Contains information about the code interpreter to be invoked.InvocationInput.Builder
codeInterpreterInvocationInput(CodeInterpreterInvocationInput codeInterpreterInvocationInput)
Contains information about the code interpreter to be invoked.InvocationInput.Builder
invocationType(String invocationType)
Specifies whether the agent is invoking an action group or a knowledge base.InvocationInput.Builder
invocationType(InvocationType invocationType)
Specifies whether the agent is invoking an action group or a knowledge base.default InvocationInput.Builder
knowledgeBaseLookupInput(Consumer<KnowledgeBaseLookupInput.Builder> knowledgeBaseLookupInput)
Contains details about the knowledge base to look up and the query to be made.InvocationInput.Builder
knowledgeBaseLookupInput(KnowledgeBaseLookupInput knowledgeBaseLookupInput)
Contains details about the knowledge base to look up and the query to be made.InvocationInput.Builder
traceId(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.Builder
avoiding the need to create one manually viaActionGroupInvocationInput.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaAgentCollaboratorInvocationInput.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaCodeInterpreterInvocationInput.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaKnowledgeBaseLookupInput.builder()
.When the
Consumer
completes,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.
-
-