public static interface UpdateThesaurusRequest.Builder extends KendraRequest.Builder, SdkPojo, CopyableBuilder<UpdateThesaurusRequest.Builder,UpdateThesaurusRequest>
| Modifier and Type | Method and Description |
|---|---|
UpdateThesaurusRequest.Builder |
description(String description)
A new description for the thesaurus.
|
UpdateThesaurusRequest.Builder |
id(String id)
The identifier of the thesaurus you want to update.
|
UpdateThesaurusRequest.Builder |
indexId(String indexId)
The identifier of the index for the thesaurus.
|
UpdateThesaurusRequest.Builder |
name(String name)
A new name for the thesaurus.
|
UpdateThesaurusRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
UpdateThesaurusRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
UpdateThesaurusRequest.Builder |
roleArn(String roleArn)
An IAM role that gives Amazon Kendra permissions to access thesaurus file specified in
SourceS3Path. |
default UpdateThesaurusRequest.Builder |
sourceS3Path(Consumer<S3Path.Builder> sourceS3Path)
Sets the value of the SourceS3Path property for this object.
|
UpdateThesaurusRequest.Builder |
sourceS3Path(S3Path sourceS3Path)
Sets the value of the SourceS3Path property for this object.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateThesaurusRequest.Builder id(String id)
The identifier of the thesaurus you want to update.
id - The identifier of the thesaurus you want to update.UpdateThesaurusRequest.Builder name(String name)
A new name for the thesaurus.
name - A new name for the thesaurus.UpdateThesaurusRequest.Builder indexId(String indexId)
The identifier of the index for the thesaurus.
indexId - The identifier of the index for the thesaurus.UpdateThesaurusRequest.Builder description(String description)
A new description for the thesaurus.
description - A new description for the thesaurus.UpdateThesaurusRequest.Builder roleArn(String roleArn)
An IAM role that gives Amazon Kendra permissions to access thesaurus file specified in
SourceS3Path.
roleArn - An IAM role that gives Amazon Kendra permissions to access thesaurus file specified in
SourceS3Path.UpdateThesaurusRequest.Builder sourceS3Path(S3Path sourceS3Path)
sourceS3Path - The new value for the SourceS3Path property for this object.default UpdateThesaurusRequest.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)UpdateThesaurusRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderUpdateThesaurusRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.