Class UpdateAgentCollaboratorRequest
- 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.UpdateAgentCollaboratorRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateAgentCollaboratorRequest.Builder,UpdateAgentCollaboratorRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateAgentCollaboratorRequest extends BedrockAgentRequest implements ToCopyableBuilder<UpdateAgentCollaboratorRequest.Builder,UpdateAgentCollaboratorRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateAgentCollaboratorRequest.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()
The agent's version.
- Returns:
- The agent's version.
-
collaboratorId
public final String collaboratorId()
The collaborator's ID.
- Returns:
- The collaborator's ID.
-
agentDescriptor
public final AgentDescriptor agentDescriptor()
An agent descriptor for the agent collaborator.
- Returns:
- An agent descriptor for the agent collaborator.
-
collaboratorName
public final String collaboratorName()
The collaborator's name.
- Returns:
- The collaborator's name.
-
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
-
toBuilder
public UpdateAgentCollaboratorRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateAgentCollaboratorRequest.Builder,UpdateAgentCollaboratorRequest>- Specified by:
toBuilderin classBedrockAgentRequest
-
builder
public static UpdateAgentCollaboratorRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateAgentCollaboratorRequest.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
-
-