Interface AgentCollaboratorInvocationInput.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AgentCollaboratorInvocationInput.Builder,
,AgentCollaboratorInvocationInput> SdkBuilder<AgentCollaboratorInvocationInput.Builder,
,AgentCollaboratorInvocationInput> SdkPojo
- Enclosing class:
AgentCollaboratorInvocationInput
@Mutable
@NotThreadSafe
public static interface AgentCollaboratorInvocationInput.Builder
extends SdkPojo, CopyableBuilder<AgentCollaboratorInvocationInput.Builder,AgentCollaboratorInvocationInput>
-
Method Summary
Modifier and TypeMethodDescriptionagentCollaboratorAliasArn
(String agentCollaboratorAliasArn) The collaborator's alias ARN.agentCollaboratorName
(String agentCollaboratorName) The collaborator's name.Text or action invocation result input for the collaborator.Text or action invocation result input for the collaborator.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 Details
-
agentCollaboratorAliasArn
AgentCollaboratorInvocationInput.Builder agentCollaboratorAliasArn(String agentCollaboratorAliasArn) The collaborator's alias ARN.
- Parameters:
agentCollaboratorAliasArn
- The collaborator's alias ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentCollaboratorName
The collaborator's name.
- Parameters:
agentCollaboratorName
- The collaborator's name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
input
Text or action invocation result input for the collaborator.
- Parameters:
input
- Text or action invocation result input for the collaborator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
input
default AgentCollaboratorInvocationInput.Builder input(Consumer<AgentCollaboratorInputPayload.Builder> input) Text or action invocation result input for the collaborator.
This is a convenience method that creates an instance of theAgentCollaboratorInputPayload.Builder
avoiding the need to create one manually viaAgentCollaboratorInputPayload.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinput(AgentCollaboratorInputPayload)
.- Parameters:
input
- a consumer that will call methods onAgentCollaboratorInputPayload.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-