Interface CreateIndexRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateIndexRequest.Builder,CreateIndexRequest>,OpenSearchRequest.Builder,SdkBuilder<CreateIndexRequest.Builder,CreateIndexRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateIndexRequest
@Mutable @NotThreadSafe public static interface CreateIndexRequest.Builder extends OpenSearchRequest.Builder, SdkPojo, CopyableBuilder<CreateIndexRequest.Builder,CreateIndexRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateIndexRequest.BuilderdomainName(String domainName)Sets the value of the DomainName property for this object.CreateIndexRequest.BuilderindexName(String indexName)The name of the index to create.CreateIndexRequest.BuilderindexSchema(Document indexSchema)The JSON schema defining index mappings, settings, and semantic enrichment configuration.CreateIndexRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateIndexRequest.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.opensearch.model.OpenSearchRequest.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 Detail
-
domainName
CreateIndexRequest.Builder domainName(String 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
CreateIndexRequest.Builder indexName(String indexName)
The name of the index to create. Must be between 1 and 255 characters and follow OpenSearch naming conventions.
- Parameters:
indexName- The name of the index to create. Must be between 1 and 255 characters and follow OpenSearch naming conventions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexSchema
CreateIndexRequest.Builder indexSchema(Document indexSchema)
The JSON schema defining index mappings, settings, and semantic enrichment configuration. The schema specifies which text fields should be automatically enriched for semantic search capabilities and includes OpenSearch index configuration parameters.
- Parameters:
indexSchema- The JSON schema defining index mappings, settings, and semantic enrichment configuration. The schema specifies which text fields should be automatically enriched for semantic search capabilities and includes OpenSearch index configuration parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateIndexRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateIndexRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-