SemanticField.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;
/** A field that is used as part of the semantic configuration. */
@Fluent
public final class SemanticField {
/*
* The fieldName property.
*/
@JsonProperty(value = "fieldName")
private String fieldName;
/**
* Get the fieldName property: The fieldName property.
*
* @return the fieldName value.
*/
public String getFieldName() {
return this.fieldName;
}
/**
* Set the fieldName property: The fieldName property.
*
* @param fieldName the fieldName value to set.
* @return the SemanticField object itself.
*/
public SemanticField setFieldName(String fieldName) {
this.fieldName = fieldName;
return this;
}
}