public static interface CreateIndexRequest.Builder extends KendraRequest.Builder, SdkPojo, CopyableBuilder<CreateIndexRequest.Builder,CreateIndexRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateIndexRequest.Builder |
clientToken(String clientToken)
A token that you provide to identify the request to create an index.
|
CreateIndexRequest.Builder |
description(String description)
A description for the index.
|
CreateIndexRequest.Builder |
edition(IndexEdition edition)
The Amazon Kendra edition to use for the index.
|
CreateIndexRequest.Builder |
edition(String edition)
The Amazon Kendra edition to use for the index.
|
CreateIndexRequest.Builder |
name(String name)
The name for the new index.
|
CreateIndexRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateIndexRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateIndexRequest.Builder |
roleArn(String roleArn)
An AWS Identity and Access Management (IAM) role that gives Amazon Kendra permissions to access your Amazon
CloudWatch logs and metrics.
|
default CreateIndexRequest.Builder |
serverSideEncryptionConfiguration(Consumer<ServerSideEncryptionConfiguration.Builder> serverSideEncryptionConfiguration)
The identifier of the AWS KMS customer managed key (CMK) to use to encrypt data indexed by Amazon Kendra.
|
CreateIndexRequest.Builder |
serverSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
The identifier of the AWS KMS customer managed key (CMK) to use to encrypt data indexed by Amazon Kendra.
|
CreateIndexRequest.Builder |
tags(Collection<Tag> tags)
A list of key-value pairs that identify the index.
|
CreateIndexRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
A list of key-value pairs that identify the index.
|
CreateIndexRequest.Builder |
tags(Tag... tags)
A list of key-value pairs that identify the index.
|
CreateIndexRequest.Builder |
userContextPolicy(String userContextPolicy)
The user context policy.
|
CreateIndexRequest.Builder |
userContextPolicy(UserContextPolicy userContextPolicy)
The user context policy.
|
CreateIndexRequest.Builder |
userTokenConfigurations(Collection<UserTokenConfiguration> userTokenConfigurations)
The user token configuration.
|
CreateIndexRequest.Builder |
userTokenConfigurations(Consumer<UserTokenConfiguration.Builder>... userTokenConfigurations)
The user token configuration.
|
CreateIndexRequest.Builder |
userTokenConfigurations(UserTokenConfiguration... userTokenConfigurations)
The user token configuration.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateIndexRequest.Builder name(String name)
The name for the new index.
name - The name for the new index.CreateIndexRequest.Builder edition(String edition)
The Amazon Kendra edition to use for the index. Choose DEVELOPER_EDITION for indexes intended
for development, testing, or proof of concept. Use ENTERPRISE_EDITION for your production
databases. Once you set the edition for an index, it can't be changed.
The Edition parameter is optional. If you don't supply a value, the default is
ENTERPRISE_EDITION.
edition - The Amazon Kendra edition to use for the index. Choose DEVELOPER_EDITION for indexes
intended for development, testing, or proof of concept. Use ENTERPRISE_EDITION for your
production databases. Once you set the edition for an index, it can't be changed.
The Edition parameter is optional. If you don't supply a value, the default is
ENTERPRISE_EDITION.
IndexEdition,
IndexEditionCreateIndexRequest.Builder edition(IndexEdition edition)
The Amazon Kendra edition to use for the index. Choose DEVELOPER_EDITION for indexes intended
for development, testing, or proof of concept. Use ENTERPRISE_EDITION for your production
databases. Once you set the edition for an index, it can't be changed.
The Edition parameter is optional. If you don't supply a value, the default is
ENTERPRISE_EDITION.
edition - The Amazon Kendra edition to use for the index. Choose DEVELOPER_EDITION for indexes
intended for development, testing, or proof of concept. Use ENTERPRISE_EDITION for your
production databases. Once you set the edition for an index, it can't be changed.
The Edition parameter is optional. If you don't supply a value, the default is
ENTERPRISE_EDITION.
IndexEdition,
IndexEditionCreateIndexRequest.Builder roleArn(String roleArn)
An AWS Identity and Access Management (IAM) role that gives Amazon Kendra permissions to access your Amazon
CloudWatch logs and metrics. This is also the role used when you use the BatchPutDocument
operation to index documents from an Amazon S3 bucket.
roleArn - An AWS Identity and Access Management (IAM) role that gives Amazon Kendra permissions to access your
Amazon CloudWatch logs and metrics. This is also the role used when you use the
BatchPutDocument operation to index documents from an Amazon S3 bucket.CreateIndexRequest.Builder serverSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
The identifier of the AWS KMS customer managed key (CMK) to use to encrypt data indexed by Amazon Kendra. Amazon Kendra doesn't support asymmetric CMKs.
serverSideEncryptionConfiguration - The identifier of the AWS KMS customer managed key (CMK) to use to encrypt data indexed by Amazon
Kendra. Amazon Kendra doesn't support asymmetric CMKs.default CreateIndexRequest.Builder serverSideEncryptionConfiguration(Consumer<ServerSideEncryptionConfiguration.Builder> serverSideEncryptionConfiguration)
The identifier of the AWS KMS customer managed key (CMK) to use to encrypt data indexed by Amazon Kendra. Amazon Kendra doesn't support asymmetric CMKs.
This is a convenience that creates an instance of theServerSideEncryptionConfiguration.Builder
avoiding the need to create one manually via ServerSideEncryptionConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to
serverSideEncryptionConfiguration(ServerSideEncryptionConfiguration).serverSideEncryptionConfiguration - a consumer that will call methods on ServerSideEncryptionConfiguration.BuilderserverSideEncryptionConfiguration(ServerSideEncryptionConfiguration)CreateIndexRequest.Builder description(String description)
A description for the index.
description - A description for the index.CreateIndexRequest.Builder clientToken(String clientToken)
A token that you provide to identify the request to create an index. Multiple calls to the
CreateIndex operation with the same client token will create only one index.
clientToken - A token that you provide to identify the request to create an index. Multiple calls to the
CreateIndex operation with the same client token will create only one index.CreateIndexRequest.Builder tags(Collection<Tag> tags)
A list of key-value pairs that identify the index. 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 index. You can use the tags to identify and organize your
resources and to control access to resources.CreateIndexRequest.Builder tags(Tag... tags)
A list of key-value pairs that identify the index. 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 index. You can use the tags to identify and organize your
resources and to control access to resources.CreateIndexRequest.Builder tags(Consumer<Tag.Builder>... tags)
A list of key-value pairs that identify the index. 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) CreateIndexRequest.Builder userTokenConfigurations(Collection<UserTokenConfiguration> userTokenConfigurations)
The user token configuration.
userTokenConfigurations - The user token configuration.CreateIndexRequest.Builder userTokenConfigurations(UserTokenConfiguration... userTokenConfigurations)
The user token configuration.
userTokenConfigurations - The user token configuration.CreateIndexRequest.Builder userTokenConfigurations(Consumer<UserTokenConfiguration.Builder>... userTokenConfigurations)
The user token configuration.
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 #userTokenConfigurations(List) .userTokenConfigurations - a consumer that will call methods on List.Builder #userTokenConfigurations(List) CreateIndexRequest.Builder userContextPolicy(String userContextPolicy)
The user context policy.
All indexed content is searchable and displayable for all users. If there is an access control list, it is ignored. You can filter on user and group attributes.
Enables SSO and token-based user access control. All documents with no access control and all documents accessible to the user will be searchable and displayable.
userContextPolicy - The user context policy.
All indexed content is searchable and displayable for all users. If there is an access control list, it is ignored. You can filter on user and group attributes.
Enables SSO and token-based user access control. All documents with no access control and all documents accessible to the user will be searchable and displayable.
UserContextPolicy,
UserContextPolicyCreateIndexRequest.Builder userContextPolicy(UserContextPolicy userContextPolicy)
The user context policy.
All indexed content is searchable and displayable for all users. If there is an access control list, it is ignored. You can filter on user and group attributes.
Enables SSO and token-based user access control. All documents with no access control and all documents accessible to the user will be searchable and displayable.
userContextPolicy - The user context policy.
All indexed content is searchable and displayable for all users. If there is an access control list, it is ignored. You can filter on user and group attributes.
Enables SSO and token-based user access control. All documents with no access control and all documents accessible to the user will be searchable and displayable.
UserContextPolicy,
UserContextPolicyCreateIndexRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateIndexRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.