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
Modifier and TypeMethodDescriptiondefault AgentCollaboratorSummary.Builder
agentDescriptor
(Consumer<AgentDescriptor.Builder> agentDescriptor) The collaborator's agent descriptor.agentDescriptor
(AgentDescriptor agentDescriptor) The collaborator's agent descriptor.The collaborator's agent ID.agentVersion
(String agentVersion) The collaborator's agent version.collaborationInstruction
(String collaborationInstruction) The collaborator's collaboration instruction.collaboratorId
(String collaboratorId) The collaborator's ID.collaboratorName
(String collaboratorName) The collaborator's name.When the collaborator was created.lastUpdatedAt
(Instant lastUpdatedAt) When the collaborator was last updated.relayConversationHistory
(String relayConversationHistory) The collaborator's relay conversation history.relayConversationHistory
(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 Details
-
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.Builder
avoiding the need to create one manually viaAgentDescriptor.builder()
.When the
Consumer
completes,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:
-
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
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.
-
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.
-
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.
-
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
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
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.
-
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
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:
-