Interface UpdateIndexRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateIndexRequest.Builder,UpdateIndexRequest>,QBusinessRequest.Builder,SdkBuilder<UpdateIndexRequest.Builder,UpdateIndexRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateIndexRequest
public static interface UpdateIndexRequest.Builder extends QBusinessRequest.Builder, SdkPojo, CopyableBuilder<UpdateIndexRequest.Builder,UpdateIndexRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateIndexRequest.BuilderapplicationId(String applicationId)The identifier of the Amazon Q application connected to the index.default UpdateIndexRequest.BuildercapacityConfiguration(Consumer<IndexCapacityConfiguration.Builder> capacityConfiguration)The storage capacity units you want to provision for your Amazon Q index.UpdateIndexRequest.BuildercapacityConfiguration(IndexCapacityConfiguration capacityConfiguration)The storage capacity units you want to provision for your Amazon Q index.UpdateIndexRequest.Builderdescription(String description)The description of the Amazon Q index.UpdateIndexRequest.BuilderdisplayName(String displayName)The name of the Amazon Q index.UpdateIndexRequest.BuilderdocumentAttributeConfigurations(Collection<DocumentAttributeConfiguration> documentAttributeConfigurations)Configuration information for document metadata or fields.UpdateIndexRequest.BuilderdocumentAttributeConfigurations(Consumer<DocumentAttributeConfiguration.Builder>... documentAttributeConfigurations)Configuration information for document metadata or fields.UpdateIndexRequest.BuilderdocumentAttributeConfigurations(DocumentAttributeConfiguration... documentAttributeConfigurations)Configuration information for document metadata or fields.UpdateIndexRequest.BuilderindexId(String indexId)The identifier of the Amazon Q index.UpdateIndexRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateIndexRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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, sdkFields
-
-
-
-
Method Detail
-
applicationId
UpdateIndexRequest.Builder applicationId(String applicationId)
The identifier of the Amazon Q application connected to the index.
- Parameters:
applicationId- The identifier of the Amazon Q application connected to the index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityConfiguration
UpdateIndexRequest.Builder capacityConfiguration(IndexCapacityConfiguration capacityConfiguration)
The storage capacity units you want to provision for your Amazon Q 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 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 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:
capacityConfiguration(IndexCapacityConfiguration)
-
description
UpdateIndexRequest.Builder description(String description)
The description of the Amazon Q index.
- Parameters:
description- The description of the Amazon Q index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
UpdateIndexRequest.Builder displayName(String displayName)
The name of the Amazon Q index.
- Parameters:
displayName- The name of the Amazon Q index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 to#documentAttributeConfigurations(List.) - 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:
#documentAttributeConfigurations(java.util.Collection)
-
indexId
UpdateIndexRequest.Builder indexId(String indexId)
The identifier of the Amazon Q index.
- Parameters:
indexId- The identifier of the Amazon Q index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateIndexRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateIndexRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-