Class SearchIndexerCache

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

public final class SearchIndexerCache extends Object implements com.azure.json.JsonSerializable<SearchIndexerCache>
The SearchIndexerCache model.
  • Constructor Details

    • SearchIndexerCache

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

    • getId

      public String getId()
      Get the id property: A guid for the SearchIndexerCache.
      Returns:
      the id value.
    • setId

      public SearchIndexerCache setId(String id)
      Set the id property: A guid for the SearchIndexerCache.
      Parameters:
      id - the id value to set.
      Returns:
      the SearchIndexerCache object itself.
    • getStorageConnectionString

      public String getStorageConnectionString()
      Get the storageConnectionString property: The connection string to the storage account where the cache data will be persisted.
      Returns:
      the storageConnectionString value.
    • setStorageConnectionString

      public SearchIndexerCache setStorageConnectionString(String storageConnectionString)
      Set the storageConnectionString property: The connection string to the storage account where the cache data will be persisted.
      Parameters:
      storageConnectionString - the storageConnectionString value to set.
      Returns:
      the SearchIndexerCache object itself.
    • isEnableReprocessing

      public Boolean isEnableReprocessing()
      Get the enableReprocessing property: Specifies whether incremental reprocessing is enabled.
      Returns:
      the enableReprocessing value.
    • setEnableReprocessing

      public SearchIndexerCache setEnableReprocessing(Boolean enableReprocessing)
      Set the enableReprocessing property: Specifies whether incremental reprocessing is enabled.
      Parameters:
      enableReprocessing - the enableReprocessing value to set.
      Returns:
      the SearchIndexerCache object itself.
    • getIdentity

      public SearchIndexerDataIdentity getIdentity()
      Get the identity property: The user-assigned managed identity used for connections to the enrichment cache. 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

      public SearchIndexerCache setIdentity(SearchIndexerDataIdentity identity)
      Set the identity property: The user-assigned managed identity used for connections to the enrichment cache. 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 SearchIndexerCache 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<SearchIndexerCache>
      Throws:
      IOException
    • fromJson

      public static SearchIndexerCache fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of SearchIndexerCache from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of SearchIndexerCache 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 SearchIndexerCache.