Interface UpdateAgentCollaboratorRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentRequest.Builder,Buildable,CopyableBuilder<UpdateAgentCollaboratorRequest.Builder,,UpdateAgentCollaboratorRequest> SdkBuilder<UpdateAgentCollaboratorRequest.Builder,,UpdateAgentCollaboratorRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateAgentCollaboratorRequest
@Mutable
@NotThreadSafe
public static interface UpdateAgentCollaboratorRequest.Builder
extends BedrockAgentRequest.Builder, SdkPojo, CopyableBuilder<UpdateAgentCollaboratorRequest.Builder,UpdateAgentCollaboratorRequest>
-
Method Summary
Modifier and TypeMethodDescriptionagentDescriptor(Consumer<AgentDescriptor.Builder> agentDescriptor) An agent descriptor for the agent collaborator.agentDescriptor(AgentDescriptor agentDescriptor) An agent descriptor for the agent collaborator.The agent's ID.agentVersion(String agentVersion) The agent's version.collaborationInstruction(String collaborationInstruction) Instruction for the collaborator.collaboratorId(String collaboratorId) The collaborator's ID.collaboratorName(String collaboratorName) The collaborator's name.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) 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
The agent's version.
- Parameters:
agentVersion- The agent's version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
collaboratorId
The collaborator's ID.
- Parameters:
collaboratorId- The collaborator's ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentDescriptor
An agent descriptor for the agent collaborator.
- Parameters:
agentDescriptor- An agent descriptor for the agent collaborator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentDescriptor
default UpdateAgentCollaboratorRequest.Builder agentDescriptor(Consumer<AgentDescriptor.Builder> agentDescriptor) An agent descriptor for the agent collaborator.
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
The collaborator's name.
- Parameters:
collaboratorName- The collaborator's name.- 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
UpdateAgentCollaboratorRequest.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:
-
overrideConfiguration
UpdateAgentCollaboratorRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateAgentCollaboratorRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-