Class ThesaurusSummary
- java.lang.Object
-
- software.amazon.awssdk.services.kendra.model.ThesaurusSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ThesaurusSummary.Builder,ThesaurusSummary>
@Generated("software.amazon.awssdk:codegen") public final class ThesaurusSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ThesaurusSummary.Builder,ThesaurusSummary>
An array of summary information for a thesaurus or multiple thesauri.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceThesaurusSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ThesaurusSummary.Builderbuilder()InstantcreatedAt()The Unix timestamp when the thesaurus was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The identifier of the thesaurus.Stringname()The name of the thesaurus.List<SdkField<?>>sdkFields()static Class<? extends ThesaurusSummary.Builder>serializableBuilderClass()ThesaurusStatusstatus()The status of the thesaurus.StringstatusAsString()The status of the thesaurus.ThesaurusSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantupdatedAt()The Unix timestamp when the thesaurus was last updated.-
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
-
id
public final String id()
The identifier of the thesaurus.
- Returns:
- The identifier of the thesaurus.
-
name
public final String name()
The name of the thesaurus.
- Returns:
- The name of the thesaurus.
-
status
public final ThesaurusStatus status()
The status of the thesaurus.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnThesaurusStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the thesaurus.
- See Also:
ThesaurusStatus
-
statusAsString
public final String statusAsString()
The status of the thesaurus.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnThesaurusStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the thesaurus.
- See Also:
ThesaurusStatus
-
createdAt
public final Instant createdAt()
The Unix timestamp when the thesaurus was created.
- Returns:
- The Unix timestamp when the thesaurus was created.
-
updatedAt
public final Instant updatedAt()
The Unix timestamp when the thesaurus was last updated.
- Returns:
- The Unix timestamp when the thesaurus was last updated.
-
toBuilder
public ThesaurusSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ThesaurusSummary.Builder,ThesaurusSummary>
-
builder
public static ThesaurusSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends ThesaurusSummary.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.
-
-