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 Summary
ConstructorsConstructorDescriptionSearchIndexerKnowledgeStore(String storageConnectionString, List<SearchIndexerKnowledgeStoreProjection> projections) Creates an instance of SearchIndexerKnowledgeStore class. -
Method Summary
Modifier and TypeMethodDescriptionstatic SearchIndexerKnowledgeStorefromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SearchIndexerKnowledgeStore from the JsonReader.Get the identity property: The user-assigned managed identity used for connections to Azure Storage when writing knowledge store projections.Get the parameters property: A dictionary of knowledge store-specific configuration properties.Get the projections property: A list of additional projections to perform during indexing.Get the storageConnectionString property: The connection string to the storage account projections will be stored in.setIdentity(SearchIndexerDataIdentity identity) Set the identity property: The user-assigned managed identity used for connections to Azure Storage when writing knowledge store projections.setParameters(SearchIndexerKnowledgeStoreParameters parameters) Set the parameters property: A dictionary of knowledge store-specific configuration properties.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
-
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
Get the storageConnectionString property: The connection string to the storage account projections will be stored in.- Returns:
- the storageConnectionString value.
-
getProjections
Get the projections property: A list of additional projections to perform during indexing.- Returns:
- the projections value.
-
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
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
- Specified by:
toJsonin interfacecom.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.
-