Class KnowledgeBaseSummary
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockagent.model.KnowledgeBaseSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<KnowledgeBaseSummary.Builder,KnowledgeBaseSummary>
@Generated("software.amazon.awssdk:codegen") public final class KnowledgeBaseSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<KnowledgeBaseSummary.Builder,KnowledgeBaseSummary>
Summary information of a knowledge base.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceKnowledgeBaseSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static KnowledgeBaseSummary.Builderbuilder()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.Stringname()Returns the value of the Name property for this object.List<SdkField<?>>sdkFields()static Class<? extends KnowledgeBaseSummary.Builder>serializableBuilderClass()KnowledgeBaseStatusstatus()Returns the value of the Status property for this object.StringstatusAsString()Returns the value of the Status property for this object.KnowledgeBaseSummary.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
-
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.
-
name
public final String name()
Returns the value of the Name property for this object.- Returns:
- The value of the Name 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.
-
status
public final KnowledgeBaseStatus status()
Returns the value of the Status property for this object.If the service returns an enum value that is not available in the current SDK version,
statuswill returnKnowledgeBaseStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The value of the Status property for this object.
- See Also:
KnowledgeBaseStatus
-
statusAsString
public final String statusAsString()
Returns the value of the Status property for this object.If the service returns an enum value that is not available in the current SDK version,
statuswill returnKnowledgeBaseStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The value of the Status property for this object.
- See Also:
KnowledgeBaseStatus
-
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.
-
toBuilder
public KnowledgeBaseSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<KnowledgeBaseSummary.Builder,KnowledgeBaseSummary>
-
builder
public static KnowledgeBaseSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends KnowledgeBaseSummary.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.
-
-