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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SearchIndexerCachefromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SearchIndexerCache from the JsonReader.getId()Get the id property: A guid for the SearchIndexerCache.Get the identity property: The user-assigned managed identity used for connections to the enrichment cache.Get the storageConnectionString property: The connection string to the storage account where the cache data will be persisted.Get the enableReprocessing property: Specifies whether incremental reprocessing is enabled.setEnableReprocessing(Boolean enableReprocessing) Set the enableReprocessing property: Specifies whether incremental reprocessing is enabled.Set the id property: A guid for the SearchIndexerCache.setIdentity(SearchIndexerDataIdentity identity) Set the identity property: The user-assigned managed identity used for connections to the enrichment cache.setStorageConnectionString(String storageConnectionString) Set the storageConnectionString property: The connection string to the storage account where the cache data will be persisted.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
-
SearchIndexerCache
public SearchIndexerCache()Creates an instance of SearchIndexerCache class.
-
-
Method Details
-
getId
Get the id property: A guid for the SearchIndexerCache.- Returns:
- the id value.
-
setId
Set the id property: A guid for the SearchIndexerCache.- Parameters:
id- the id value to set.- Returns:
- the SearchIndexerCache object itself.
-
getStorageConnectionString
Get the storageConnectionString property: The connection string to the storage account where the cache data will be persisted.- Returns:
- the storageConnectionString value.
-
setStorageConnectionString
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
Get the enableReprocessing property: Specifies whether incremental reprocessing is enabled.- Returns:
- the enableReprocessing value.
-
setEnableReprocessing
Set the enableReprocessing property: Specifies whether incremental reprocessing is enabled.- Parameters:
enableReprocessing- the enableReprocessing value to set.- Returns:
- the SearchIndexerCache object itself.
-
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
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
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<SearchIndexerCache>- Throws:
IOException
-
fromJson
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.
-