Interface UpdateIndexRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateIndexRequest.Builder,UpdateIndexRequest>,KendraRequest.Builder,SdkBuilder<UpdateIndexRequest.Builder,UpdateIndexRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateIndexRequest
public static interface UpdateIndexRequest.Builder extends KendraRequest.Builder, SdkPojo, CopyableBuilder<UpdateIndexRequest.Builder,UpdateIndexRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UpdateIndexRequest.BuildercapacityUnits(Consumer<CapacityUnitsConfiguration.Builder> capacityUnits)Sets the number of additional document storage and query capacity units that should be used by the index.UpdateIndexRequest.BuildercapacityUnits(CapacityUnitsConfiguration capacityUnits)Sets the number of additional document storage and query capacity units that should be used by the index.UpdateIndexRequest.Builderdescription(String description)A new description for the index.UpdateIndexRequest.BuilderdocumentMetadataConfigurationUpdates(Collection<DocumentMetadataConfiguration> documentMetadataConfigurationUpdates)The document metadata configuration you want to update for the index.UpdateIndexRequest.BuilderdocumentMetadataConfigurationUpdates(Consumer<DocumentMetadataConfiguration.Builder>... documentMetadataConfigurationUpdates)The document metadata configuration you want to update for the index.UpdateIndexRequest.BuilderdocumentMetadataConfigurationUpdates(DocumentMetadataConfiguration... documentMetadataConfigurationUpdates)The document metadata configuration you want to update for the index.UpdateIndexRequest.Builderid(String id)The identifier of the index you want to update.UpdateIndexRequest.Buildername(String name)A new name for the index.UpdateIndexRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateIndexRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateIndexRequest.BuilderroleArn(String roleArn)An Identity and Access Management (IAM) role that gives Amazon Kendra permission to access Amazon CloudWatch logs and metrics.UpdateIndexRequest.BuilderuserContextPolicy(String userContextPolicy)The user context policy.UpdateIndexRequest.BuilderuserContextPolicy(UserContextPolicy userContextPolicy)The user context policy.default UpdateIndexRequest.BuilderuserGroupResolutionConfiguration(Consumer<UserGroupResolutionConfiguration.Builder> userGroupResolutionConfiguration)Gets users and groups from IAM Identity Center identity source.UpdateIndexRequest.BuilderuserGroupResolutionConfiguration(UserGroupResolutionConfiguration userGroupResolutionConfiguration)Gets users and groups from IAM Identity Center identity source.UpdateIndexRequest.BuilderuserTokenConfigurations(Collection<UserTokenConfiguration> userTokenConfigurations)The user token configuration.UpdateIndexRequest.BuilderuserTokenConfigurations(Consumer<UserTokenConfiguration.Builder>... userTokenConfigurations)The user token configuration.UpdateIndexRequest.BuilderuserTokenConfigurations(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 Detail
-
id
UpdateIndexRequest.Builder id(String 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
UpdateIndexRequest.Builder name(String name)
A new name for the index.
- Parameters:
name- A new name for the index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
UpdateIndexRequest.Builder roleArn(String 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
UpdateIndexRequest.Builder description(String 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.Builderavoiding the need to create one manually viaDocumentMetadataConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#documentMetadataConfigurationUpdates(List.) - 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:
#documentMetadataConfigurationUpdates(java.util.Collection)
-
capacityUnits
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.
- 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.Builderavoiding the need to create one manually viaCapacityUnitsConfiguration.builder().When the
Consumercompletes,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:
capacityUnits(CapacityUnitsConfiguration)
-
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.Builderavoiding the need to create one manually viaUserTokenConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#userTokenConfigurations(List.) - 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:
#userTokenConfigurations(java.util.Collection)
-
userContextPolicy
UpdateIndexRequest.Builder userContextPolicy(String 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,UserContextPolicy
-
userContextPolicy
UpdateIndexRequest.Builder userContextPolicy(UserContextPolicy 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,UserContextPolicy
-
userGroupResolutionConfiguration
UpdateIndexRequest.Builder userGroupResolutionConfiguration(UserGroupResolutionConfiguration userGroupResolutionConfiguration)
Gets users and groups from IAM Identity Center identity source. To configure this, see UserGroupResolutionConfiguration. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents.
- Parameters:
userGroupResolutionConfiguration- Gets users and groups from IAM Identity Center identity source. To configure this, see UserGroupResolutionConfiguration. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userGroupResolutionConfiguration
default UpdateIndexRequest.Builder userGroupResolutionConfiguration(Consumer<UserGroupResolutionConfiguration.Builder> userGroupResolutionConfiguration)
Gets users and groups from IAM Identity Center identity source. To configure this, see UserGroupResolutionConfiguration. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents.
This is a convenience method that creates an instance of theUserGroupResolutionConfiguration.Builderavoiding the need to create one manually viaUserGroupResolutionConfiguration.builder().When the
Consumercompletes,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:
userGroupResolutionConfiguration(UserGroupResolutionConfiguration)
-
overrideConfiguration
UpdateIndexRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateIndexRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-