public static interface DescribeThesaurusResponse.Builder extends KendraResponse.Builder, SdkPojo, CopyableBuilder<DescribeThesaurusResponse.Builder,DescribeThesaurusResponse>
| Modifier and Type | Method and Description |
|---|---|
DescribeThesaurusResponse.Builder |
createdAt(Instant createdAt)
The Unix datetime that the thesaurus was created.
|
DescribeThesaurusResponse.Builder |
description(String description)
The thesaurus description.
|
DescribeThesaurusResponse.Builder |
errorMessage(String errorMessage)
When the
Status field value is FAILED, the ErrorMessage field provides
more information. |
DescribeThesaurusResponse.Builder |
fileSizeBytes(Long fileSizeBytes)
The size of the thesaurus file in bytes.
|
DescribeThesaurusResponse.Builder |
id(String id)
The identifier of the thesaurus.
|
DescribeThesaurusResponse.Builder |
indexId(String indexId)
The identifier of the index associated with the thesaurus to describe.
|
DescribeThesaurusResponse.Builder |
name(String name)
The thesaurus name.
|
DescribeThesaurusResponse.Builder |
roleArn(String roleArn)
An AWS Identity and Access Management (IAM) role that gives Amazon Kendra permissions to access thesaurus
file specified in
SourceS3Path. |
default DescribeThesaurusResponse.Builder |
sourceS3Path(Consumer<S3Path.Builder> sourceS3Path)
Sets the value of the SourceS3Path property for this object.
|
DescribeThesaurusResponse.Builder |
sourceS3Path(S3Path sourceS3Path)
Sets the value of the SourceS3Path property for this object.
|
DescribeThesaurusResponse.Builder |
status(String status)
The current status of the thesaurus.
|
DescribeThesaurusResponse.Builder |
status(ThesaurusStatus status)
The current status of the thesaurus.
|
DescribeThesaurusResponse.Builder |
synonymRuleCount(Long synonymRuleCount)
The number of synonym rules in the thesaurus file.
|
DescribeThesaurusResponse.Builder |
termCount(Long termCount)
The number of unique terms in the thesaurus file.
|
DescribeThesaurusResponse.Builder |
updatedAt(Instant updatedAt)
The Unix datetime that the thesaurus was last updated.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeThesaurusResponse.Builder id(String id)
The identifier of the thesaurus.
id - The identifier of the thesaurus.DescribeThesaurusResponse.Builder indexId(String indexId)
The identifier of the index associated with the thesaurus to describe.
indexId - The identifier of the index associated with the thesaurus to describe.DescribeThesaurusResponse.Builder name(String name)
The thesaurus name.
name - The thesaurus name.DescribeThesaurusResponse.Builder description(String description)
The thesaurus description.
description - The thesaurus description.DescribeThesaurusResponse.Builder status(String 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.
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.
ThesaurusStatus,
ThesaurusStatusDescribeThesaurusResponse.Builder status(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.
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.
ThesaurusStatus,
ThesaurusStatusDescribeThesaurusResponse.Builder errorMessage(String errorMessage)
When the Status field value is FAILED, the ErrorMessage field provides
more information.
errorMessage - When the Status field value is FAILED, the ErrorMessage field
provides more information.DescribeThesaurusResponse.Builder createdAt(Instant createdAt)
The Unix datetime that the thesaurus was created.
createdAt - The Unix datetime that the thesaurus was created.DescribeThesaurusResponse.Builder updatedAt(Instant updatedAt)
The Unix datetime that the thesaurus was last updated.
updatedAt - The Unix datetime that the thesaurus was last updated.DescribeThesaurusResponse.Builder roleArn(String roleArn)
An AWS Identity and Access Management (IAM) role that gives Amazon Kendra permissions to access thesaurus
file specified in SourceS3Path.
roleArn - An AWS Identity and Access Management (IAM) role that gives Amazon Kendra permissions to access
thesaurus file specified in SourceS3Path.DescribeThesaurusResponse.Builder sourceS3Path(S3Path sourceS3Path)
sourceS3Path - The new value for the SourceS3Path property for this object.default DescribeThesaurusResponse.Builder sourceS3Path(Consumer<S3Path.Builder> sourceS3Path)
S3Path.Builder avoiding the need to create one
manually via S3Path.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to sourceS3Path(S3Path).sourceS3Path - a consumer that will call methods on S3Path.BuildersourceS3Path(S3Path)DescribeThesaurusResponse.Builder fileSizeBytes(Long fileSizeBytes)
The size of the thesaurus file in bytes.
fileSizeBytes - The size of the thesaurus file in bytes.DescribeThesaurusResponse.Builder termCount(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.
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.DescribeThesaurusResponse.Builder synonymRuleCount(Long synonymRuleCount)
The number of synonym rules in the thesaurus file.
synonymRuleCount - The number of synonym rules in the thesaurus file.Copyright © 2021. All rights reserved.