Class AgentKnowledgeBase
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockagent.model.AgentKnowledgeBase
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AgentKnowledgeBase.Builder,AgentKnowledgeBase>
@Generated("software.amazon.awssdk:codegen") public final class AgentKnowledgeBase extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AgentKnowledgeBase.Builder,AgentKnowledgeBase>
Contains the information of an Agent Knowledge Base.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAgentKnowledgeBase.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringagentId()Returns the value of the AgentId property for this object.StringagentVersion()Returns the value of the AgentVersion property for this object.static AgentKnowledgeBase.Builderbuilder()InstantcreatedAt()Returns the value of the CreatedAt property for this object.Stringdescription()Returns the value of the Description property for this object.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringknowledgeBaseId()Returns the value of the KnowledgeBaseId property for this object.KnowledgeBaseStateknowledgeBaseState()Returns the value of the KnowledgeBaseState property for this object.StringknowledgeBaseStateAsString()Returns the value of the KnowledgeBaseState property for this object.List<SdkField<?>>sdkFields()static Class<? extends AgentKnowledgeBase.Builder>serializableBuilderClass()AgentKnowledgeBase.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantupdatedAt()Returns the value of the UpdatedAt property for this object.-
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()
Returns the value of the AgentId property for this object.- Returns:
- The value of the AgentId property for this object.
-
agentVersion
public final String agentVersion()
Returns the value of the AgentVersion property for this object.- Returns:
- The value of the AgentVersion property for this object.
-
knowledgeBaseId
public final String knowledgeBaseId()
Returns the value of the KnowledgeBaseId property for this object.- Returns:
- The value of the KnowledgeBaseId property for this object.
-
description
public final String description()
Returns the value of the Description property for this object.- Returns:
- The value of the Description property for this object.
-
createdAt
public final Instant createdAt()
Returns the value of the CreatedAt property for this object.- Returns:
- The value of the CreatedAt property for this object.
-
updatedAt
public final Instant updatedAt()
Returns the value of the UpdatedAt property for this object.- Returns:
- The value of the UpdatedAt property for this object.
-
knowledgeBaseState
public final KnowledgeBaseState knowledgeBaseState()
Returns the value of the KnowledgeBaseState property for this object.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:
- The value of the KnowledgeBaseState property for this object.
- See Also:
KnowledgeBaseState
-
knowledgeBaseStateAsString
public final String knowledgeBaseStateAsString()
Returns the value of the KnowledgeBaseState property for this object.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:
- The value of the KnowledgeBaseState property for this object.
- See Also:
KnowledgeBaseState
-
toBuilder
public AgentKnowledgeBase.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AgentKnowledgeBase.Builder,AgentKnowledgeBase>
-
builder
public static AgentKnowledgeBase.Builder builder()
-
serializableBuilderClass
public static Class<? extends AgentKnowledgeBase.Builder> serializableBuilderClass()
-
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.
-
-