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 SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
agentCollaboratorNameThe collaborator's name. - Parameters:
- agentCollaboratorName- The collaborator's name.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
agentCollaboratorAliasArnAgentCollaboratorInvocationInput.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.
 
- 
inputText 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.
 
- 
inputdefault 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.Builderavoiding the need to create one manually viaAgentCollaboratorInputPayload.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinput(AgentCollaboratorInputPayload).- Parameters:
- input- a consumer that will call methods on- AgentCollaboratorInputPayload.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-