Class SearchIndexerKnowledgeStore

java.lang.Object
com.azure.search.documents.indexes.models.SearchIndexerKnowledgeStore
All Implemented Interfaces:
com.azure.json.JsonSerializable<SearchIndexerKnowledgeStore>

public final class SearchIndexerKnowledgeStore extends Object implements com.azure.json.JsonSerializable<SearchIndexerKnowledgeStore>
Definition of additional projections to azure blob, table, or files, of enriched data.
  • Constructor Details

    • SearchIndexerKnowledgeStore

      public SearchIndexerKnowledgeStore(String storageConnectionString, List<SearchIndexerKnowledgeStoreProjection> projections)
      Creates an instance of SearchIndexerKnowledgeStore class.
      Parameters:
      storageConnectionString - the storageConnectionString value to set.
      projections - the projections value to set.
  • Method Details

    • getStorageConnectionString

      public String getStorageConnectionString()
      Get the storageConnectionString property: The connection string to the storage account projections will be stored in.
      Returns:
      the storageConnectionString value.
    • getProjections

      public List<SearchIndexerKnowledgeStoreProjection> getProjections()
      Get the projections property: A list of additional projections to perform during indexing.
      Returns:
      the projections value.
    • getIdentity

      public SearchIndexerDataIdentity getIdentity()
      Get the identity property: The user-assigned managed identity used for connections to Azure Storage when writing knowledge store projections. If the connection string indicates an identity (ResourceId) and it's not specified, the system-assigned managed identity is used. On updates to the indexer, if the identity is unspecified, the value remains unchanged. If set to "none", the value of this property is cleared.
      Returns:
      the identity value.
    • setIdentity

      Set the identity property: The user-assigned managed identity used for connections to Azure Storage when writing knowledge store projections. If the connection string indicates an identity (ResourceId) and it's not specified, the system-assigned managed identity is used. On updates to the indexer, if the identity is unspecified, the value remains unchanged. If set to "none", the value of this property is cleared.
      Parameters:
      identity - the identity value to set.
      Returns:
      the SearchIndexerKnowledgeStore object itself.
    • getParameters

      public SearchIndexerKnowledgeStoreParameters getParameters()
      Get the parameters 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 parameters value.
    • setParameters

      Set the parameters 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:
      parameters - the parameters value to set.
      Returns:
      the SearchIndexerKnowledgeStore 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<SearchIndexerKnowledgeStore>
      Throws:
      IOException
    • fromJson

      public static SearchIndexerKnowledgeStore fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of SearchIndexerKnowledgeStore from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of SearchIndexerKnowledgeStore if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the SearchIndexerKnowledgeStore.