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.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.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, 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)
-
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.
-
-