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 Details

    • SearchIndexerKnowledgeStoreParameters

      public SearchIndexerKnowledgeStoreParameters()
      Creates an instance of SearchIndexerKnowledgeStoreParameters class.
  • Method Details

    • isSynthesizeGeneratedKeyName

      public Boolean 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

      public Map<String,Object> 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.