SemanticSettings.java
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
package com.azure.search.documents.indexes.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/** Defines parameters for a search index that influence semantic capabilities. */
@Fluent
public final class SemanticSettings {
/*
* The semantic configurations for the index.
*/
@JsonProperty(value = "configurations")
private List<SemanticConfiguration> configurations;
/**
* Get the configurations property: The semantic configurations for the index.
*
* @return the configurations value.
*/
public List<SemanticConfiguration> getConfigurations() {
return this.configurations;
}
/**
* Set the configurations property: The semantic configurations for the index.
*
* @param configurations the configurations value to set.
* @return the SemanticSettings object itself.
*/
public SemanticSettings setConfigurations(List<SemanticConfiguration> configurations) {
this.configurations = configurations;
return this;
}
}