Class AgentCollaborator
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockagent.model.AgentCollaborator
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AgentCollaborator.Builder,AgentCollaborator>
@Generated("software.amazon.awssdk:codegen") public final class AgentCollaborator extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AgentCollaborator.Builder,AgentCollaborator>
An agent collaborator.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAgentCollaborator.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AgentDescriptoragentDescriptor()The collaborator's agent descriptor.StringagentId()The collaborator's agent ID.StringagentVersion()The collaborator's agent version.static AgentCollaborator.Builderbuilder()StringclientToken()The collaborator's client token.StringcollaborationInstruction()The collaborator's instructions.StringcollaboratorId()The collaborator's collaborator ID.StringcollaboratorName()The collaborator's collaborator name.InstantcreatedAt()When the collaborator was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastUpdatedAt()When the collaborator was updated.RelayConversationHistoryrelayConversationHistory()The collaborator's relay conversation history.StringrelayConversationHistoryAsString()The collaborator's relay conversation history.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AgentCollaborator.Builder>serializableBuilderClass()AgentCollaborator.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
agentId
public final String agentId()
The collaborator's agent ID.
- Returns:
- The collaborator's agent ID.
-
agentVersion
public final String agentVersion()
The collaborator's agent version.
- Returns:
- The collaborator's agent version.
-
agentDescriptor
public final AgentDescriptor agentDescriptor()
The collaborator's agent descriptor.
- Returns:
- The collaborator's agent descriptor.
-
collaboratorId
public final String collaboratorId()
The collaborator's collaborator ID.
- Returns:
- The collaborator's collaborator ID.
-
collaborationInstruction
public final String collaborationInstruction()
The collaborator's instructions.
- Returns:
- The collaborator's instructions.
-
collaboratorName
public final String collaboratorName()
The collaborator's collaborator name.
- Returns:
- The collaborator's collaborator name.
-
createdAt
public final Instant createdAt()
When the collaborator was created.
- Returns:
- When the collaborator was created.
-
lastUpdatedAt
public final Instant lastUpdatedAt()
When the collaborator was updated.
- Returns:
- When the collaborator was updated.
-
relayConversationHistory
public final RelayConversationHistory 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:
RelayConversationHistory
-
relayConversationHistoryAsString
public final String 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:
RelayConversationHistory
-
clientToken
public final String clientToken()
The collaborator's client token.
- Returns:
- The collaborator's client token.
-
toBuilder
public AgentCollaborator.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AgentCollaborator.Builder,AgentCollaborator>
-
builder
public static AgentCollaborator.Builder builder()
-
serializableBuilderClass
public static Class<? extends AgentCollaborator.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-