Interface UpdateIndexRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateIndexRequest.Builder,
,UpdateIndexRequest> KendraRequest.Builder
,SdkBuilder<UpdateIndexRequest.Builder,
,UpdateIndexRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateIndexRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault 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.capacityUnits
(CapacityUnitsConfiguration capacityUnits) Sets the number of additional document storage and query capacity units that should be used by the index.description
(String description) A new description for the index.documentMetadataConfigurationUpdates
(Collection<DocumentMetadataConfiguration> documentMetadataConfigurationUpdates) The document metadata configuration you want to update for the index.documentMetadataConfigurationUpdates
(Consumer<DocumentMetadataConfiguration.Builder>... documentMetadataConfigurationUpdates) The document metadata configuration you want to update for the index.documentMetadataConfigurationUpdates
(DocumentMetadataConfiguration... documentMetadataConfigurationUpdates) The document metadata configuration you want to update for the index.The identifier of the index you want to update.The name of the index you want to update.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.An Identity and Access Management (IAM) role that gives Amazon Kendra permission to access Amazon CloudWatch logs and metrics.userContextPolicy
(String userContextPolicy) The user context policy.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.userGroupResolutionConfiguration
(UserGroupResolutionConfiguration userGroupResolutionConfiguration) Enables fetching access levels of groups and users from an IAM Identity Center identity source.userTokenConfigurations
(Collection<UserTokenConfiguration> userTokenConfigurations) The user token configuration.userTokenConfigurations
(Consumer<UserTokenConfiguration.Builder>... userTokenConfigurations) The user token configuration.userTokenConfigurations
(UserTokenConfiguration... userTokenConfigurations) The user token configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.kendra.model.KendraRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
id
The identifier of the index you want to update.
- Parameters:
id
- The identifier of the index you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the index you want to update.
- Parameters:
name
- The name of the index you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
An Identity and Access Management (IAM) role that gives Amazon Kendra permission to access Amazon CloudWatch logs and metrics.
- Parameters:
roleArn
- An Identity and Access Management (IAM) role that gives Amazon Kendra permission to access Amazon CloudWatch logs and metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A new description for the index.
- Parameters:
description
- A new description for the index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentMetadataConfigurationUpdates
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentMetadataConfigurationUpdates
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentMetadataConfigurationUpdates
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 viaDocumentMetadataConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todocumentMetadataConfigurationUpdates(List<DocumentMetadataConfiguration>)
.- Parameters:
documentMetadataConfigurationUpdates
- a consumer that will call methods onDocumentMetadataConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityUnits
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 viaCapacityUnitsConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocapacityUnits(CapacityUnitsConfiguration)
.- Parameters:
capacityUnits
- a consumer that will call methods onCapacityUnitsConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
userTokenConfigurations
UpdateIndexRequest.Builder userTokenConfigurations(Collection<UserTokenConfiguration> userTokenConfigurations) The user token configuration.
- Parameters:
userTokenConfigurations
- The user token configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userTokenConfigurations
UpdateIndexRequest.Builder userTokenConfigurations(UserTokenConfiguration... userTokenConfigurations) The user token configuration.
- Parameters:
userTokenConfigurations
- The user token configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userTokenConfigurations
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 viaUserTokenConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed touserTokenConfigurations(List<UserTokenConfiguration>)
.- Parameters:
userTokenConfigurations
- a consumer that will call methods onUserTokenConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
userContextPolicy
The user context policy.
- Parameters:
userContextPolicy
- The user context policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
userContextPolicy
The user context policy.
- Parameters:
userContextPolicy
- The user context policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
userGroupResolutionConfiguration
UpdateIndexRequest.Builder userGroupResolutionConfiguration(UserGroupResolutionConfiguration userGroupResolutionConfiguration) Enables fetching access levels of groups and users from an IAM Identity Center identity source. To configure this, see UserGroupResolutionConfiguration.
- Parameters:
userGroupResolutionConfiguration
- Enables fetching access levels of groups and users from an IAM Identity Center identity source. To configure this, see UserGroupResolutionConfiguration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaUserGroupResolutionConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed touserGroupResolutionConfiguration(UserGroupResolutionConfiguration)
.- Parameters:
userGroupResolutionConfiguration
- a consumer that will call methods onUserGroupResolutionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateIndexRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateIndexRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-