public static interface CreateThesaurusRequest.Builder extends KendraRequest.Builder, SdkPojo, CopyableBuilder<CreateThesaurusRequest.Builder,CreateThesaurusRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateThesaurusRequest.Builder |
clientToken(String clientToken)
A token that you provide to identify the request to create a thesaurus.
|
CreateThesaurusRequest.Builder |
description(String description)
A description for the thesaurus.
|
CreateThesaurusRequest.Builder |
indexId(String indexId)
The identifier of the index for the thesaurus.
|
CreateThesaurusRequest.Builder |
name(String name)
A name for the thesaurus.
|
CreateThesaurusRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateThesaurusRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateThesaurusRequest.Builder |
roleArn(String roleArn)
An IAM role that gives Amazon Kendra permissions to access thesaurus file specified in
SourceS3Path. |
default CreateThesaurusRequest.Builder |
sourceS3Path(Consumer<S3Path.Builder> sourceS3Path)
The path to the thesaurus file in S3.
|
CreateThesaurusRequest.Builder |
sourceS3Path(S3Path sourceS3Path)
The path to the thesaurus file in S3.
|
CreateThesaurusRequest.Builder |
tags(Collection<Tag> tags)
A list of key-value pairs that identify the thesaurus.
|
CreateThesaurusRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
A list of key-value pairs that identify the thesaurus.
|
CreateThesaurusRequest.Builder |
tags(Tag... tags)
A list of key-value pairs that identify the thesaurus.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateThesaurusRequest.Builder indexId(String indexId)
The identifier of the index for the thesaurus.
indexId - The identifier of the index for the thesaurus.CreateThesaurusRequest.Builder name(String name)
A name for the thesaurus.
name - A name for the thesaurus.CreateThesaurusRequest.Builder description(String description)
A description for the thesaurus.
description - A description for the thesaurus.CreateThesaurusRequest.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.CreateThesaurusRequest.Builder tags(Collection<Tag> tags)
A list of key-value pairs that identify the thesaurus. You can use the tags to identify and organize your resources and to control access to resources.
tags - A list of key-value pairs that identify the thesaurus. You can use the tags to identify and organize
your resources and to control access to resources.CreateThesaurusRequest.Builder tags(Tag... tags)
A list of key-value pairs that identify the thesaurus. You can use the tags to identify and organize your resources and to control access to resources.
tags - A list of key-value pairs that identify the thesaurus. You can use the tags to identify and organize
your resources and to control access to resources.CreateThesaurusRequest.Builder tags(Consumer<Tag.Builder>... tags)
A list of key-value pairs that identify the thesaurus. You can use the tags to identify and organize your resources and to control access to resources.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one manually via
Tag.builder().
When the Consumer completes, SdkBuilder.build()
is called immediately and its result is passed to #tags(List.
tags - a consumer that will call methods on Tag.Builder#tags(java.util.Collection) CreateThesaurusRequest.Builder sourceS3Path(S3Path sourceS3Path)
The path to the thesaurus file in S3.
sourceS3Path - The path to the thesaurus file in S3.default CreateThesaurusRequest.Builder sourceS3Path(Consumer<S3Path.Builder> sourceS3Path)
The path to the thesaurus file in S3.
This is a convenience method that creates an instance of theS3Path.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)CreateThesaurusRequest.Builder clientToken(String clientToken)
A token that you provide to identify the request to create a thesaurus. Multiple calls to the
CreateThesaurus API with the same client token will create only one thesaurus.
clientToken - A token that you provide to identify the request to create a thesaurus. Multiple calls to the
CreateThesaurus API with the same client token will create only one thesaurus.CreateThesaurusRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateThesaurusRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.