Class AgentKnowledgeBaseSummary
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AgentKnowledgeBaseSummary.Builder,AgentKnowledgeBaseSummary>
Contains details about a knowledge base associated with an agent.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final StringThe description of 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 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 AgentKnowledgeBaseSummary.Builder>final StringtoString()Returns a string representation of this object.final InstantThe time at which the knowledge base associated with an agent was last updated.Methods 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
-
knowledgeBaseId
The unique identifier of the knowledge base associated with an agent.
- Returns:
- The unique identifier of the knowledge base associated with an agent.
-
description
The description of the knowledge base associated with an agent.
- Returns:
- The description of 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:
-
updatedAt
The time at which the knowledge base associated with an agent was last updated.
- Returns:
- The time at which the knowledge base associated with an agent was last updated.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<AgentKnowledgeBaseSummary.Builder,AgentKnowledgeBaseSummary>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
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
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-