Class UpdateAgentKnowledgeBaseRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateAgentKnowledgeBaseRequest.Builder,UpdateAgentKnowledgeBaseRequest>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringagentId()The unique identifier of the agent associated with the knowledge base that you want to update.final StringThe version of the agent associated with the knowledge base that you want to update.builder()final StringSpecifies a new description for the knowledge base associated with an agent.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 that has been associated with an agent.final KnowledgeBaseStateSpecifies whether the agent uses the knowledge base or not when sending an InvokeAgent request.final StringSpecifies whether the agent uses the knowledge base or not when sending an InvokeAgent request.static Class<? extends UpdateAgentKnowledgeBaseRequest.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 associated with the knowledge base that you want to update.
- Returns:
- The unique identifier of the agent associated with the knowledge base that you want to update.
-
agentVersion
The version of the agent associated with the knowledge base that you want to update.
- Returns:
- The version of the agent associated with the knowledge base that you want to update.
-
knowledgeBaseId
The unique identifier of the knowledge base that has been associated with an agent.
- Returns:
- The unique identifier of the knowledge base that has been associated with an agent.
-
description
Specifies a new description for the knowledge base associated with an agent.
- Returns:
- Specifies a new description for the knowledge base associated with an agent.
-
knowledgeBaseState
Specifies whether the agent uses 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 the agent uses the knowledge base or not when sending an InvokeAgent request.
- See Also:
-
knowledgeBaseStateAsString
Specifies whether the agent uses 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 the agent uses the knowledge base or not when sending an InvokeAgent request.
- See Also:
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateAgentKnowledgeBaseRequest.Builder,UpdateAgentKnowledgeBaseRequest> - Specified by:
toBuilderin classBedrockAgentRequest
-
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
-