Class AssociateAgentCollaboratorRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.bedrockagent.model.BedrockAgentRequest
-
- software.amazon.awssdk.services.bedrockagent.model.AssociateAgentCollaboratorRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<AssociateAgentCollaboratorRequest.Builder,AssociateAgentCollaboratorRequest>
@Generated("software.amazon.awssdk:codegen") public final class AssociateAgentCollaboratorRequest extends BedrockAgentRequest implements ToCopyableBuilder<AssociateAgentCollaboratorRequest.Builder,AssociateAgentCollaboratorRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAssociateAgentCollaboratorRequest.Builder
-
Method Summary
-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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 agent's ID.
- Returns:
- The agent's ID.
-
agentVersion
public final String agentVersion()
An agent version.
- Returns:
- An agent version.
-
agentDescriptor
public final AgentDescriptor agentDescriptor()
The alias of the collaborator agent.
- Returns:
- The alias of the collaborator agent.
-
collaboratorName
public final String collaboratorName()
A name for the collaborator.
- Returns:
- A name for the collaborator.
-
collaborationInstruction
public final String collaborationInstruction()
Instruction for the collaborator.
- Returns:
- Instruction for the collaborator.
-
relayConversationHistory
public final RelayConversationHistory relayConversationHistory()
A relay conversation history for the collaborator.
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:
- A relay conversation history for the collaborator.
- See Also:
RelayConversationHistory
-
relayConversationHistoryAsString
public final String relayConversationHistoryAsString()
A relay conversation history for the collaborator.
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:
- A relay conversation history for the collaborator.
- See Also:
RelayConversationHistory
-
clientToken
public final String clientToken()
A client token.
- Returns:
- A client token.
-
toBuilder
public AssociateAgentCollaboratorRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AssociateAgentCollaboratorRequest.Builder,AssociateAgentCollaboratorRequest>- Specified by:
toBuilderin classBedrockAgentRequest
-
builder
public static AssociateAgentCollaboratorRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends AssociateAgentCollaboratorRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-