Class AssociateAgentKnowledgeBaseRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<AssociateAgentKnowledgeBaseRequest.Builder,AssociateAgentKnowledgeBaseRequest>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringagentId()The unique identifier of the agent with which you want to associate the knowledge base.final StringThe version of the agent with which you want to associate the knowledge base.builder()final StringA description of what the agent should use the knowledge base for.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe unique identifier of the knowledge base to associate with the agent.final KnowledgeBaseStateSpecifies whether to use the knowledge base or not when sending an InvokeAgent request.final StringSpecifies whether to use the knowledge base or not when sending an InvokeAgent request.static Class<? extends AssociateAgentKnowledgeBaseRequest.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods 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 unique identifier of the agent with which you want to associate the knowledge base.
- Returns:
- The unique identifier of the agent with which you want to associate the knowledge base.
-
agentVersion
The version of the agent with which you want to associate the knowledge base.
- Returns:
- The version of the agent with which you want to associate the knowledge base.
-
knowledgeBaseId
The unique identifier of the knowledge base to associate with the agent.
- Returns:
- The unique identifier of the knowledge base to associate with the agent.
-
description
A description of what the agent should use the knowledge base for.
- Returns:
- A description of what the agent should use the knowledge base for.
-
knowledgeBaseState
Specifies whether to use the knowledge base or not when sending an InvokeAgent request.
If the service returns an enum value that is not available in the current SDK version,
knowledgeBaseStatewill returnKnowledgeBaseState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromknowledgeBaseStateAsString().- Returns:
- Specifies whether to use the knowledge base or not when sending an InvokeAgent request.
- See Also:
-
knowledgeBaseStateAsString
Specifies whether to use the knowledge base or not when sending an InvokeAgent request.
If the service returns an enum value that is not available in the current SDK version,
knowledgeBaseStatewill returnKnowledgeBaseState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromknowledgeBaseStateAsString().- Returns:
- Specifies whether to use the knowledge base or not when sending an InvokeAgent request.
- See Also:
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<AssociateAgentKnowledgeBaseRequest.Builder,AssociateAgentKnowledgeBaseRequest> - Specified by:
toBuilderin classBedrockAgentRequest
-
builder
-
serializableBuilderClass
public static Class<? extends AssociateAgentKnowledgeBaseRequest.Builder> serializableBuilderClass() -
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
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
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-