public static interface UpdateIndexRequest.Builder extends KendraRequest.Builder, SdkPojo, CopyableBuilder<UpdateIndexRequest.Builder,UpdateIndexRequest>
| Modifier and Type | Method and Description |
|---|---|
UpdateIndexRequest.Builder |
capacityUnits(CapacityUnitsConfiguration capacityUnits)
Sets the number of additional document storage and query capacity units that should be used by the index.
|
default UpdateIndexRequest.Builder |
capacityUnits(Consumer<CapacityUnitsConfiguration.Builder> capacityUnits)
Sets the number of additional document storage and query capacity units that should be used by the index.
|
UpdateIndexRequest.Builder |
description(String description)
A new description for the index.
|
UpdateIndexRequest.Builder |
documentMetadataConfigurationUpdates(Collection<DocumentMetadataConfiguration> documentMetadataConfigurationUpdates)
The document metadata configuration you want to update for the index.
|
UpdateIndexRequest.Builder |
documentMetadataConfigurationUpdates(Consumer<DocumentMetadataConfiguration.Builder>... documentMetadataConfigurationUpdates)
The document metadata configuration you want to update for the index.
|
UpdateIndexRequest.Builder |
documentMetadataConfigurationUpdates(DocumentMetadataConfiguration... documentMetadataConfigurationUpdates)
The document metadata configuration you want to update for the index.
|
UpdateIndexRequest.Builder |
id(String id)
The identifier of the index you want to update.
|
UpdateIndexRequest.Builder |
name(String name)
The name of the index you want to update.
|
UpdateIndexRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
UpdateIndexRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
UpdateIndexRequest.Builder |
roleArn(String roleArn)
An Identity and Access Management (IAM) role that gives Amazon Kendra permission to access Amazon CloudWatch
logs and metrics.
|
UpdateIndexRequest.Builder |
userContextPolicy(String userContextPolicy)
The user context policy.
|
UpdateIndexRequest.Builder |
userContextPolicy(UserContextPolicy userContextPolicy)
The user context policy.
|
default UpdateIndexRequest.Builder |
userGroupResolutionConfiguration(Consumer<UserGroupResolutionConfiguration.Builder> userGroupResolutionConfiguration)
Enables fetching access levels of groups and users from an IAM Identity Center identity source.
|
UpdateIndexRequest.Builder |
userGroupResolutionConfiguration(UserGroupResolutionConfiguration userGroupResolutionConfiguration)
Enables fetching access levels of groups and users from an IAM Identity Center identity source.
|
UpdateIndexRequest.Builder |
userTokenConfigurations(Collection<UserTokenConfiguration> userTokenConfigurations)
The user token configuration.
|
UpdateIndexRequest.Builder |
userTokenConfigurations(Consumer<UserTokenConfiguration.Builder>... userTokenConfigurations)
The user token configuration.
|
UpdateIndexRequest.Builder |
userTokenConfigurations(UserTokenConfiguration... userTokenConfigurations)
The user token configuration.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateIndexRequest.Builder id(String id)
The identifier of the index you want to update.
id - The identifier of the index you want to update.UpdateIndexRequest.Builder name(String name)
The name of the index you want to update.
name - The name of the index you want to update.UpdateIndexRequest.Builder roleArn(String roleArn)
An Identity and Access Management (IAM) role that gives Amazon Kendra permission to access Amazon CloudWatch logs and metrics.
roleArn - An Identity and Access Management (IAM) role that gives Amazon Kendra permission to access Amazon
CloudWatch logs and metrics.UpdateIndexRequest.Builder description(String description)
A new description for the index.
description - A new description for the index.UpdateIndexRequest.Builder documentMetadataConfigurationUpdates(Collection<DocumentMetadataConfiguration> documentMetadataConfigurationUpdates)
The document metadata configuration you want to update for the index. Document metadata are fields or attributes associated with your documents. For example, the company department name associated with each document.
documentMetadataConfigurationUpdates - The document metadata configuration you want to update for the index. Document metadata are fields or
attributes associated with your documents. For example, the company department name associated with
each document.UpdateIndexRequest.Builder documentMetadataConfigurationUpdates(DocumentMetadataConfiguration... documentMetadataConfigurationUpdates)
The document metadata configuration you want to update for the index. Document metadata are fields or attributes associated with your documents. For example, the company department name associated with each document.
documentMetadataConfigurationUpdates - The document metadata configuration you want to update for the index. Document metadata are fields or
attributes associated with your documents. For example, the company department name associated with
each document.UpdateIndexRequest.Builder documentMetadataConfigurationUpdates(Consumer<DocumentMetadataConfiguration.Builder>... documentMetadataConfigurationUpdates)
The document metadata configuration you want to update for the index. Document metadata are fields or attributes associated with your documents. For example, the company department name associated with each document.
This is a convenience method that creates an instance of theDocumentMetadataConfiguration.Builder avoiding the need
to create one manually via
DocumentMetadataConfiguration.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #documentMetadataConfigurationUpdates(List.
documentMetadataConfigurationUpdates - a consumer that will call methods on
DocumentMetadataConfiguration.Builder#documentMetadataConfigurationUpdates(java.util.Collection) UpdateIndexRequest.Builder capacityUnits(CapacityUnitsConfiguration capacityUnits)
Sets the number of additional document storage and query capacity units that should be used by the index. You can change the capacity of the index up to 5 times per day, or make 5 API calls.
If you are using extra storage units, you can't reduce the storage capacity below what is required to meet the storage needs for your index.
capacityUnits - Sets the number of additional document storage and query capacity units that should be used by the
index. You can change the capacity of the index up to 5 times per day, or make 5 API calls.
If you are using extra storage units, you can't reduce the storage capacity below what is required to meet the storage needs for your index.
default UpdateIndexRequest.Builder capacityUnits(Consumer<CapacityUnitsConfiguration.Builder> capacityUnits)
Sets the number of additional document storage and query capacity units that should be used by the index. You can change the capacity of the index up to 5 times per day, or make 5 API calls.
If you are using extra storage units, you can't reduce the storage capacity below what is required to meet the storage needs for your index.
This is a convenience method that creates an instance of theCapacityUnitsConfiguration.Builder
avoiding the need to create one manually via CapacityUnitsConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to capacityUnits(CapacityUnitsConfiguration).
capacityUnits - a consumer that will call methods on CapacityUnitsConfiguration.BuildercapacityUnits(CapacityUnitsConfiguration)UpdateIndexRequest.Builder userTokenConfigurations(Collection<UserTokenConfiguration> userTokenConfigurations)
The user token configuration.
userTokenConfigurations - The user token configuration.UpdateIndexRequest.Builder userTokenConfigurations(UserTokenConfiguration... userTokenConfigurations)
The user token configuration.
userTokenConfigurations - The user token configuration.UpdateIndexRequest.Builder userTokenConfigurations(Consumer<UserTokenConfiguration.Builder>... userTokenConfigurations)
The user token configuration.
This is a convenience method that creates an instance of theUserTokenConfiguration.Builder avoiding the need to
create one manually via UserTokenConfiguration.builder()
.
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #userTokenConfigurations(List.
userTokenConfigurations - a consumer that will call methods on
UserTokenConfiguration.Builder#userTokenConfigurations(java.util.Collection) UpdateIndexRequest.Builder userContextPolicy(String userContextPolicy)
The user context policy.
userContextPolicy - The user context policy.UserContextPolicy,
UserContextPolicyUpdateIndexRequest.Builder userContextPolicy(UserContextPolicy userContextPolicy)
The user context policy.
userContextPolicy - The user context policy.UserContextPolicy,
UserContextPolicyUpdateIndexRequest.Builder userGroupResolutionConfiguration(UserGroupResolutionConfiguration userGroupResolutionConfiguration)
Enables fetching access levels of groups and users from an IAM Identity Center identity source. To configure this, see UserGroupResolutionConfiguration.
userGroupResolutionConfiguration - Enables fetching access levels of groups and users from an IAM Identity Center identity source. To
configure this, see UserGroupResolutionConfiguration.default UpdateIndexRequest.Builder userGroupResolutionConfiguration(Consumer<UserGroupResolutionConfiguration.Builder> userGroupResolutionConfiguration)
Enables fetching access levels of groups and users from an IAM Identity Center identity source. To configure this, see UserGroupResolutionConfiguration.
This is a convenience method that creates an instance of theUserGroupResolutionConfiguration.Builder
avoiding the need to create one manually via UserGroupResolutionConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to
userGroupResolutionConfiguration(UserGroupResolutionConfiguration).
userGroupResolutionConfiguration - a consumer that will call methods on UserGroupResolutionConfiguration.BuilderuserGroupResolutionConfiguration(UserGroupResolutionConfiguration)UpdateIndexRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderUpdateIndexRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.