Class SearchIndexerKnowledgeStoreParameters
java.lang.Object
com.azure.search.documents.indexes.models.SearchIndexerKnowledgeStoreParameters
- All Implemented Interfaces:
com.azure.json.JsonSerializable<SearchIndexerKnowledgeStoreParameters>
public final class SearchIndexerKnowledgeStoreParameters
extends Object
implements com.azure.json.JsonSerializable<SearchIndexerKnowledgeStoreParameters>
A dictionary of knowledge store-specific configuration properties. Each name is the name of a specific property. Each
value must be of a primitive type.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of SearchIndexerKnowledgeStoreParameters class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SearchIndexerKnowledgeStoreParameters from the JsonReader.Get the additionalProperties property: A dictionary of knowledge store-specific configuration properties.Get the synthesizeGeneratedKeyName property: Whether or not projections should synthesize a generated key name if one isn't already present.setAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: A dictionary of knowledge store-specific configuration properties.setSynthesizeGeneratedKeyName(Boolean synthesizeGeneratedKeyName) Set the synthesizeGeneratedKeyName property: Whether or not projections should synthesize a generated key name if one isn't already present.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
SearchIndexerKnowledgeStoreParameters
public SearchIndexerKnowledgeStoreParameters()Creates an instance of SearchIndexerKnowledgeStoreParameters class.
-
-
Method Details
-
isSynthesizeGeneratedKeyName
Get the synthesizeGeneratedKeyName property: Whether or not projections should synthesize a generated key name if one isn't already present.- Returns:
- the synthesizeGeneratedKeyName value.
-
setSynthesizeGeneratedKeyName
public SearchIndexerKnowledgeStoreParameters setSynthesizeGeneratedKeyName(Boolean synthesizeGeneratedKeyName) Set the synthesizeGeneratedKeyName property: Whether or not projections should synthesize a generated key name if one isn't already present.- Parameters:
synthesizeGeneratedKeyName- the synthesizeGeneratedKeyName value to set.- Returns:
- the SearchIndexerKnowledgeStoreParameters object itself.
-
getAdditionalProperties
Get the additionalProperties property: A dictionary of knowledge store-specific configuration properties. Each name is the name of a specific property. Each value must be of a primitive type.- Returns:
- the additionalProperties value.
-
setAdditionalProperties
public SearchIndexerKnowledgeStoreParameters setAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: A dictionary of knowledge store-specific configuration properties. Each name is the name of a specific property. Each value must be of a primitive type.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the SearchIndexerKnowledgeStoreParameters object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<SearchIndexerKnowledgeStoreParameters>- Throws:
IOException
-
fromJson
public static SearchIndexerKnowledgeStoreParameters fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of SearchIndexerKnowledgeStoreParameters from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of SearchIndexerKnowledgeStoreParameters if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the SearchIndexerKnowledgeStoreParameters.
-