Class AgentCollaborator
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AgentCollaborator.Builder,AgentCollaborator>
An agent collaborator.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal AgentDescriptorThe collaborator's agent descriptor.final StringagentId()The collaborator's agent ID.final StringThe collaborator's agent version.static AgentCollaborator.Builderbuilder()final StringThe collaborator's client token.final StringThe collaborator's instructions.final StringThe collaborator's collaborator ID.final StringThe collaborator's collaborator name.final InstantWhen the collaborator was created.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final InstantWhen the collaborator was updated.final RelayConversationHistoryThe collaborator's relay conversation history.final StringThe collaborator's relay conversation history.static Class<? extends AgentCollaborator.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
agentId
The collaborator's agent ID.
- Returns:
- The collaborator's agent ID.
-
agentVersion
The collaborator's agent version.
- Returns:
- The collaborator's agent version.
-
agentDescriptor
The collaborator's agent descriptor.
- Returns:
- The collaborator's agent descriptor.
-
collaboratorId
The collaborator's collaborator ID.
- Returns:
- The collaborator's collaborator ID.
-
collaborationInstruction
The collaborator's instructions.
- Returns:
- The collaborator's instructions.
-
collaboratorName
The collaborator's collaborator name.
- Returns:
- The collaborator's collaborator name.
-
createdAt
When the collaborator was created.
- Returns:
- When the collaborator was created.
-
lastUpdatedAt
When the collaborator was updated.
- Returns:
- When the collaborator was updated.
-
relayConversationHistory
The collaborator's relay conversation history.
If the service returns an enum value that is not available in the current SDK version,
relayConversationHistorywill returnRelayConversationHistory.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrelayConversationHistoryAsString().- Returns:
- The collaborator's relay conversation history.
- See Also:
-
relayConversationHistoryAsString
The collaborator's relay conversation history.
If the service returns an enum value that is not available in the current SDK version,
relayConversationHistorywill returnRelayConversationHistory.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrelayConversationHistoryAsString().- Returns:
- The collaborator's relay conversation history.
- See Also:
-
clientToken
The collaborator's client token.
- Returns:
- The collaborator's client token.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<AgentCollaborator.Builder,AgentCollaborator>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-