Interface AgentCollaborator.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AgentCollaborator.Builder,AgentCollaborator>,SdkBuilder<AgentCollaborator.Builder,AgentCollaborator>,SdkPojo
- Enclosing class:
- AgentCollaborator
@Mutable @NotThreadSafe public static interface AgentCollaborator.Builder extends SdkPojo, CopyableBuilder<AgentCollaborator.Builder,AgentCollaborator>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AgentCollaborator.BuilderagentDescriptor(Consumer<AgentDescriptor.Builder> agentDescriptor)The collaborator's agent descriptor.AgentCollaborator.BuilderagentDescriptor(AgentDescriptor agentDescriptor)The collaborator's agent descriptor.AgentCollaborator.BuilderagentId(String agentId)The collaborator's agent ID.AgentCollaborator.BuilderagentVersion(String agentVersion)The collaborator's agent version.AgentCollaborator.BuilderclientToken(String clientToken)The collaborator's client token.AgentCollaborator.BuildercollaborationInstruction(String collaborationInstruction)The collaborator's instructions.AgentCollaborator.BuildercollaboratorId(String collaboratorId)The collaborator's collaborator ID.AgentCollaborator.BuildercollaboratorName(String collaboratorName)The collaborator's collaborator name.AgentCollaborator.BuildercreatedAt(Instant createdAt)When the collaborator was created.AgentCollaborator.BuilderlastUpdatedAt(Instant lastUpdatedAt)When the collaborator was updated.AgentCollaborator.BuilderrelayConversationHistory(String relayConversationHistory)The collaborator's relay conversation history.AgentCollaborator.BuilderrelayConversationHistory(RelayConversationHistory relayConversationHistory)The collaborator's relay conversation history.-
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 Detail
-
agentId
AgentCollaborator.Builder agentId(String agentId)
The collaborator's agent ID.
- Parameters:
agentId- The collaborator's agent ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentVersion
AgentCollaborator.Builder agentVersion(String agentVersion)
The collaborator's agent version.
- Parameters:
agentVersion- The collaborator's agent version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentDescriptor
AgentCollaborator.Builder agentDescriptor(AgentDescriptor agentDescriptor)
The collaborator's agent descriptor.
- Parameters:
agentDescriptor- The collaborator's agent descriptor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentDescriptor
default AgentCollaborator.Builder agentDescriptor(Consumer<AgentDescriptor.Builder> agentDescriptor)
The collaborator's agent descriptor.
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:
agentDescriptor(AgentDescriptor)
-
collaboratorId
AgentCollaborator.Builder collaboratorId(String collaboratorId)
The collaborator's collaborator ID.
- Parameters:
collaboratorId- The collaborator's collaborator ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
collaborationInstruction
AgentCollaborator.Builder collaborationInstruction(String collaborationInstruction)
The collaborator's instructions.
- Parameters:
collaborationInstruction- The collaborator's instructions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
collaboratorName
AgentCollaborator.Builder collaboratorName(String collaboratorName)
The collaborator's collaborator name.
- Parameters:
collaboratorName- The collaborator's collaborator name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
AgentCollaborator.Builder createdAt(Instant createdAt)
When the collaborator was created.
- Parameters:
createdAt- When the collaborator was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedAt
AgentCollaborator.Builder lastUpdatedAt(Instant lastUpdatedAt)
When the collaborator was updated.
- Parameters:
lastUpdatedAt- When the collaborator was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relayConversationHistory
AgentCollaborator.Builder relayConversationHistory(String relayConversationHistory)
The collaborator's relay conversation history.
- Parameters:
relayConversationHistory- The collaborator's relay conversation history.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RelayConversationHistory,RelayConversationHistory
-
relayConversationHistory
AgentCollaborator.Builder relayConversationHistory(RelayConversationHistory relayConversationHistory)
The collaborator's relay conversation history.
- Parameters:
relayConversationHistory- The collaborator's relay conversation history.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RelayConversationHistory,RelayConversationHistory
-
clientToken
AgentCollaborator.Builder clientToken(String clientToken)
The collaborator's client token.
- Parameters:
clientToken- The collaborator's client token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-