Interface UpdateIndexRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateIndexRequest.Builder,,UpdateIndexRequest> QBusinessRequest.Builder,SdkBuilder<UpdateIndexRequest.Builder,,UpdateIndexRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateIndexRequest
-
Method Summary
Modifier and TypeMethodDescriptionapplicationId(String applicationId) The identifier of the Amazon Q Business application connected to the index.default UpdateIndexRequest.BuildercapacityConfiguration(Consumer<IndexCapacityConfiguration.Builder> capacityConfiguration) The storage capacity units you want to provision for your Amazon Q Business index.capacityConfiguration(IndexCapacityConfiguration capacityConfiguration) The storage capacity units you want to provision for your Amazon Q Business index.description(String description) The description of the Amazon Q Business index.displayName(String displayName) The name of the Amazon Q Business index.documentAttributeConfigurations(Collection<DocumentAttributeConfiguration> documentAttributeConfigurations) Configuration information for document metadata or fields.documentAttributeConfigurations(Consumer<DocumentAttributeConfiguration.Builder>... documentAttributeConfigurations) Configuration information for document metadata or fields.documentAttributeConfigurations(DocumentAttributeConfiguration... documentAttributeConfigurations) Configuration information for document metadata or fields.The identifier of the Amazon Q Business index.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.qbusiness.model.QBusinessRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
applicationId
The identifier of the Amazon Q Business application connected to the index.
- Parameters:
applicationId- The identifier of the Amazon Q Business application connected to the index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexId
The identifier of the Amazon Q Business index.
- Parameters:
indexId- The identifier of the Amazon Q Business index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
The name of the Amazon Q Business index.
- Parameters:
displayName- The name of the Amazon Q Business index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the Amazon Q Business index.
- Parameters:
description- The description of the Amazon Q Business index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityConfiguration
The storage capacity units you want to provision for your Amazon Q Business index. You can add and remove capacity to fit your usage needs.
- Parameters:
capacityConfiguration- The storage capacity units you want to provision for your Amazon Q Business index. You can add and remove capacity to fit your usage needs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityConfiguration
default UpdateIndexRequest.Builder capacityConfiguration(Consumer<IndexCapacityConfiguration.Builder> capacityConfiguration) The storage capacity units you want to provision for your Amazon Q Business index. You can add and remove capacity to fit your usage needs.
This is a convenience method that creates an instance of theIndexCapacityConfiguration.Builderavoiding the need to create one manually viaIndexCapacityConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocapacityConfiguration(IndexCapacityConfiguration).- Parameters:
capacityConfiguration- a consumer that will call methods onIndexCapacityConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
documentAttributeConfigurations
UpdateIndexRequest.Builder documentAttributeConfigurations(Collection<DocumentAttributeConfiguration> documentAttributeConfigurations) Configuration information for document metadata or fields. Document metadata are fields or attributes associated with your documents. For example, the company department name associated with each document. For more information, see Understanding document attributes.
- Parameters:
documentAttributeConfigurations- Configuration information for document metadata or fields. Document metadata are fields or attributes associated with your documents. For example, the company department name associated with each document. For more information, see Understanding document attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentAttributeConfigurations
UpdateIndexRequest.Builder documentAttributeConfigurations(DocumentAttributeConfiguration... documentAttributeConfigurations) Configuration information for document metadata or fields. Document metadata are fields or attributes associated with your documents. For example, the company department name associated with each document. For more information, see Understanding document attributes.
- Parameters:
documentAttributeConfigurations- Configuration information for document metadata or fields. Document metadata are fields or attributes associated with your documents. For example, the company department name associated with each document. For more information, see Understanding document attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentAttributeConfigurations
UpdateIndexRequest.Builder documentAttributeConfigurations(Consumer<DocumentAttributeConfiguration.Builder>... documentAttributeConfigurations) Configuration information for document metadata or fields. Document metadata are fields or attributes associated with your documents. For example, the company department name associated with each document. For more information, see Understanding document attributes.
This is a convenience method that creates an instance of theDocumentAttributeConfiguration.Builderavoiding the need to create one manually viaDocumentAttributeConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todocumentAttributeConfigurations(List<DocumentAttributeConfiguration>).- Parameters:
documentAttributeConfigurations- a consumer that will call methods onDocumentAttributeConfiguration.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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-