@Generated(value="software.amazon.awssdk:codegen") public final class DescribeThesaurusResponse extends KendraResponse implements ToCopyableBuilder<DescribeThesaurusResponse.Builder,DescribeThesaurusResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeThesaurusResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DescribeThesaurusResponse.Builder |
builder() |
Instant |
createdAt()
The Unix datetime that the thesaurus was created.
|
String |
description()
The thesaurus description.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
errorMessage()
When the
Status field value is FAILED, the ErrorMessage field provides
more information. |
Long |
fileSizeBytes()
The size of the thesaurus file in bytes.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The identifier of the thesaurus.
|
String |
indexId()
The identifier of the index associated with the thesaurus to describe.
|
String |
name()
The thesaurus name.
|
String |
roleArn()
An AWS Identity and Access Management (IAM) role that gives Amazon Kendra permissions to access thesaurus file
specified in
SourceS3Path. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeThesaurusResponse.Builder> |
serializableBuilderClass() |
S3Path |
sourceS3Path()
Returns the value of the SourceS3Path property for this object.
|
ThesaurusStatus |
status()
The current status of the thesaurus.
|
String |
statusAsString()
The current status of the thesaurus.
|
Long |
synonymRuleCount()
The number of synonym rules in the thesaurus file.
|
Long |
termCount()
The number of unique terms in the thesaurus file.
|
DescribeThesaurusResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Instant |
updatedAt()
The Unix datetime that the thesaurus was last updated.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The identifier of the thesaurus.
public final String indexId()
The identifier of the index associated with the thesaurus to describe.
public final String name()
The thesaurus name.
public final String description()
The thesaurus description.
public final ThesaurusStatus status()
The current status of the thesaurus. When the value is ACTIVE, queries are able to use the
thesaurus. If the Status field value is FAILED, the ErrorMessage field
provides more information.
If the status is ACTIVE_BUT_UPDATE_FAILED, it means that Amazon Kendra could not ingest the new
thesaurus file. The old thesaurus file is still active.
If the service returns an enum value that is not available in the current SDK version, status will
return ThesaurusStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
ACTIVE, queries are able to use the
thesaurus. If the Status field value is FAILED, the ErrorMessage
field provides more information.
If the status is ACTIVE_BUT_UPDATE_FAILED, it means that Amazon Kendra could not ingest the
new thesaurus file. The old thesaurus file is still active.
ThesaurusStatuspublic final String statusAsString()
The current status of the thesaurus. When the value is ACTIVE, queries are able to use the
thesaurus. If the Status field value is FAILED, the ErrorMessage field
provides more information.
If the status is ACTIVE_BUT_UPDATE_FAILED, it means that Amazon Kendra could not ingest the new
thesaurus file. The old thesaurus file is still active.
If the service returns an enum value that is not available in the current SDK version, status will
return ThesaurusStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
ACTIVE, queries are able to use the
thesaurus. If the Status field value is FAILED, the ErrorMessage
field provides more information.
If the status is ACTIVE_BUT_UPDATE_FAILED, it means that Amazon Kendra could not ingest the
new thesaurus file. The old thesaurus file is still active.
ThesaurusStatuspublic final String errorMessage()
When the Status field value is FAILED, the ErrorMessage field provides
more information.
Status field value is FAILED, the ErrorMessage field
provides more information.public final Instant createdAt()
The Unix datetime that the thesaurus was created.
public final Instant updatedAt()
The Unix datetime that the thesaurus was last updated.
public final String roleArn()
An AWS Identity and Access Management (IAM) role that gives Amazon Kendra permissions to access thesaurus file
specified in SourceS3Path.
SourceS3Path.public final S3Path sourceS3Path()
public final Long fileSizeBytes()
The size of the thesaurus file in bytes.
public final Long termCount()
The number of unique terms in the thesaurus file. For example, the synonyms a,b,c and
a=>d, the term count would be 4.
a,b,c and
a=>d, the term count would be 4.public final Long synonymRuleCount()
The number of synonym rules in the thesaurus file.
public DescribeThesaurusResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeThesaurusResponse.Builder,DescribeThesaurusResponse>toBuilder in class AwsResponsepublic static DescribeThesaurusResponse.Builder builder()
public static Class<? extends DescribeThesaurusResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2021. All rights reserved.