Interface UpdateIndexRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateIndexRequest.Builder,,UpdateIndexRequest> OpenSearchRequest.Builder,SdkBuilder<UpdateIndexRequest.Builder,,UpdateIndexRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateIndexRequest
@Mutable
@NotThreadSafe
public static interface UpdateIndexRequest.Builder
extends OpenSearchRequest.Builder, SdkPojo, CopyableBuilder<UpdateIndexRequest.Builder,UpdateIndexRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondomainName(String domainName) Sets the value of the DomainName property for this object.The name of the index to update.indexSchema(Document indexSchema) The updated JSON schema for the index including any changes to mappings, settings, and semantic enrichment configuration.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.opensearch.model.OpenSearchRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
domainName
Sets the value of the DomainName property for this object.- Parameters:
domainName- The new value for the DomainName property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexName
The name of the index to update.
- Parameters:
indexName- The name of the index to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexSchema
The updated JSON schema for the index including any changes to mappings, settings, and semantic enrichment configuration.
- Parameters:
indexSchema- The updated JSON schema for the index including any changes to mappings, settings, and semantic enrichment configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-