Interface AssociateAgentCollaboratorRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentRequest.Builder,Buildable,CopyableBuilder<AssociateAgentCollaboratorRequest.Builder,,AssociateAgentCollaboratorRequest> SdkBuilder<AssociateAgentCollaboratorRequest.Builder,,AssociateAgentCollaboratorRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
AssociateAgentCollaboratorRequest
@Mutable
@NotThreadSafe
public static interface AssociateAgentCollaboratorRequest.Builder
extends BedrockAgentRequest.Builder, SdkPojo, CopyableBuilder<AssociateAgentCollaboratorRequest.Builder,AssociateAgentCollaboratorRequest>
-
Method Summary
Modifier and TypeMethodDescriptionagentDescriptor(Consumer<AgentDescriptor.Builder> agentDescriptor) The alias of the collaborator agent.agentDescriptor(AgentDescriptor agentDescriptor) The alias of the collaborator agent.The agent's ID.agentVersion(String agentVersion) An agent version.clientToken(String clientToken) A client token.collaborationInstruction(String collaborationInstruction) Instruction for the collaborator.collaboratorName(String collaboratorName) A name for the collaborator.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.relayConversationHistory(String relayConversationHistory) A relay conversation history for the collaborator.relayConversationHistory(RelayConversationHistory relayConversationHistory) A relay conversation history for the collaborator.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bedrockagent.model.BedrockAgentRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
agentId
The agent's ID.
- Parameters:
agentId- The agent's ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentVersion
An agent version.
- Parameters:
agentVersion- An agent version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentDescriptor
The alias of the collaborator agent.
- Parameters:
agentDescriptor- The alias of the collaborator agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentDescriptor
default AssociateAgentCollaboratorRequest.Builder agentDescriptor(Consumer<AgentDescriptor.Builder> agentDescriptor) The alias of the collaborator agent.
This is a convenience method that creates an instance of theAgentDescriptor.Builderavoiding the need to create one manually viaAgentDescriptor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toagentDescriptor(AgentDescriptor).- Parameters:
agentDescriptor- a consumer that will call methods onAgentDescriptor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
collaboratorName
A name for the collaborator.
- Parameters:
collaboratorName- A name for the collaborator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
collaborationInstruction
Instruction for the collaborator.
- Parameters:
collaborationInstruction- Instruction for the collaborator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relayConversationHistory
A relay conversation history for the collaborator.
- Parameters:
relayConversationHistory- A relay conversation history for the collaborator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
relayConversationHistory
AssociateAgentCollaboratorRequest.Builder relayConversationHistory(RelayConversationHistory relayConversationHistory) A relay conversation history for the collaborator.
- Parameters:
relayConversationHistory- A relay conversation history for the collaborator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A client token.
- Parameters:
clientToken- A client token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AssociateAgentCollaboratorRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AssociateAgentCollaboratorRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-