Interface CreateIndexRequest.Builder

  • Method Details

    • 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)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.