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)
The description for the new thesaurus.
|
CreateThesaurusRequest.Builder |
indexId(String indexId)
The unique identifier of the index for the new thesaurus.
|
CreateThesaurusRequest.Builder |
name(String name)
The name for the new thesaurus.
|
CreateThesaurusRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateThesaurusRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateThesaurusRequest.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 CreateThesaurusRequest.Builder |
sourceS3Path(Consumer<S3Path.Builder> sourceS3Path)
The thesaurus file Amazon S3 source path.
|
CreateThesaurusRequest.Builder |
sourceS3Path(S3Path sourceS3Path)
The thesaurus file Amazon S3 source path.
|
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 unique identifier of the index for the new thesaurus.
indexId - The unique identifier of the index for the new thesaurus.CreateThesaurusRequest.Builder name(String name)
The name for the new thesaurus.
name - The name for the new thesaurus.CreateThesaurusRequest.Builder description(String description)
The description for the new thesaurus.
description - The description for the new thesaurus.CreateThesaurusRequest.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.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 that creates an instance of theList.Builder avoiding the need to create
one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its result
is passed to #tags(List) .tags - a consumer that will call methods on List.Builder #tags(List) CreateThesaurusRequest.Builder sourceS3Path(S3Path sourceS3Path)
The thesaurus file Amazon S3 source path.
sourceS3Path - The thesaurus file Amazon S3 source path.default CreateThesaurusRequest.Builder sourceS3Path(Consumer<S3Path.Builder> sourceS3Path)
The thesaurus file Amazon S3 source path.
This is a convenience 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 operation with the same client token will create only one index.
clientToken - A token that you provide to identify the request to create a thesaurus. Multiple calls to the
CreateThesaurus operation with the same client token will create only one index.CreateThesaurusRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateThesaurusRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.