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)
The Amazon Resource Name (ARN) of an IAM role with permission to access your S3 bucket that contains the
thesaurus file.
|
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 or categorize the thesaurus.
|
CreateThesaurusRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
A list of key-value pairs that identify or categorize the thesaurus.
|
CreateThesaurusRequest.Builder |
tags(Tag... tags)
A list of key-value pairs that identify or categorize 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)
The Amazon Resource Name (ARN) of an IAM role with permission to access your S3 bucket that contains the thesaurus file. For more information, see IAM access roles for Amazon Kendra.
roleArn - The Amazon Resource Name (ARN) of an IAM role with permission to access your S3 bucket that contains
the thesaurus file. For more information, see IAM access roles for Amazon
Kendra.CreateThesaurusRequest.Builder tags(Collection<Tag> tags)
A list of key-value pairs that identify or categorize the thesaurus. You can also use tags to help control access to the thesaurus. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
tags - A list of key-value pairs that identify or categorize the thesaurus. You can also use tags to help
control access to the thesaurus. Tag keys and values can consist of Unicode letters, digits, white
space, and any of the following symbols: _ . : / = + - @.CreateThesaurusRequest.Builder tags(Tag... tags)
A list of key-value pairs that identify or categorize the thesaurus. You can also use tags to help control access to the thesaurus. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
tags - A list of key-value pairs that identify or categorize the thesaurus. You can also use tags to help
control access to the thesaurus. Tag keys and values can consist of Unicode letters, digits, white
space, and any of the following symbols: _ . : / = + - @.CreateThesaurusRequest.Builder tags(Consumer<Tag.Builder>... tags)
A list of key-value pairs that identify or categorize the thesaurus. You can also use tags to help control access to the thesaurus. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
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 © 2023. All rights reserved.