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