public static interface UpdateIndexRequest.Builder extends KendraRequest.Builder, SdkPojo, CopyableBuilder<UpdateIndexRequest.Builder,UpdateIndexRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateIndexRequest.Builder id(String id)
The identifier of the index to update.
id - The identifier of the index to update.UpdateIndexRequest.Builder name(String name)
The name of the index to update.
name - The name of the index to update.UpdateIndexRequest.Builder roleArn(String roleArn)
A new IAM role that gives Amazon Kendra permission to access your Amazon CloudWatch logs.
roleArn - A new IAM role that gives Amazon Kendra permission to access your Amazon CloudWatch logs.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 to update.
documentMetadataConfigurationUpdates - The document metadata to update.UpdateIndexRequest.Builder documentMetadataConfigurationUpdates(DocumentMetadataConfiguration... documentMetadataConfigurationUpdates)
The document metadata to update.
documentMetadataConfigurationUpdates - The document metadata to update.UpdateIndexRequest.Builder documentMetadataConfigurationUpdates(Consumer<DocumentMetadataConfiguration.Builder>... documentMetadataConfigurationUpdates)
The document metadata to update.
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 #documentMetadataConfigurationUpdates(List) .documentMetadataConfigurationUpdates - a consumer that will call methods on List.Builder #documentMetadataConfigurationUpdates(List) UpdateIndexRequest.Builder capacityUnits(CapacityUnitsConfiguration capacityUnits)
Sets the number of additional 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.
If you are using extra storage units, you can't reduce the storage capacity below that required to meet the storage needs for your index.
capacityUnits - Sets the number of additional 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.
If you are using extra storage units, you can't reduce the storage capacity below that required to meet the storage needs for your index.
default UpdateIndexRequest.Builder capacityUnits(Consumer<CapacityUnitsConfiguration.Builder> capacityUnits)
Sets the number of additional 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.
If you are using extra storage units, you can't reduce the storage capacity below that required to meet the storage needs for your index.
This is a convenience 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 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) UpdateIndexRequest.Builder userContextPolicy(String userContextPolicy)
The user user token context policy.
userContextPolicy - The user user token context policy.UserContextPolicy,
UserContextPolicyUpdateIndexRequest.Builder userContextPolicy(UserContextPolicy userContextPolicy)
The user user token context policy.
userContextPolicy - The user user token context policy.UserContextPolicy,
UserContextPolicyUpdateIndexRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderUpdateIndexRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.