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.Builder
capacityConfiguration
(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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.qbusiness.model.QBusinessRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builder
avoiding the need to create one manually viaIndexCapacityConfiguration.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaDocumentAttributeConfiguration.builder()
.When the
Consumer
completes,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.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.
-