Class SearchIndexerKnowledgeStoreProjection
java.lang.Object
com.azure.search.documents.indexes.models.SearchIndexerKnowledgeStoreProjection
- All Implemented Interfaces:
com.azure.json.JsonSerializable<SearchIndexerKnowledgeStoreProjection>
public final class SearchIndexerKnowledgeStoreProjection
extends Object
implements com.azure.json.JsonSerializable<SearchIndexerKnowledgeStoreProjection>
Container object for various projection selectors.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of SearchIndexerKnowledgeStoreProjection class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SearchIndexerKnowledgeStoreProjection from the JsonReader.getFiles()Get the files property: Projections to Azure File storage.Get the objects property: Projections to Azure Blob storage.Get the tables property: Projections to Azure Table storage.Set the files property: Projections to Azure File storage.Set the objects property: Projections to Azure Blob storage.Set the tables property: Projections to Azure Table storage.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
-
SearchIndexerKnowledgeStoreProjection
public SearchIndexerKnowledgeStoreProjection()Creates an instance of SearchIndexerKnowledgeStoreProjection class.
-
-
Method Details
-
getTables
Get the tables property: Projections to Azure Table storage.- Returns:
- the tables value.
-
setTables
public SearchIndexerKnowledgeStoreProjection setTables(List<SearchIndexerKnowledgeStoreTableProjectionSelector> tables) Set the tables property: Projections to Azure Table storage.- Parameters:
tables- the tables value to set.- Returns:
- the SearchIndexerKnowledgeStoreProjection object itself.
-
getObjects
Get the objects property: Projections to Azure Blob storage.- Returns:
- the objects value.
-
setObjects
public SearchIndexerKnowledgeStoreProjection setObjects(List<SearchIndexerKnowledgeStoreObjectProjectionSelector> objects) Set the objects property: Projections to Azure Blob storage.- Parameters:
objects- the objects value to set.- Returns:
- the SearchIndexerKnowledgeStoreProjection object itself.
-
getFiles
Get the files property: Projections to Azure File storage.- Returns:
- the files value.
-
setFiles
public SearchIndexerKnowledgeStoreProjection setFiles(List<SearchIndexerKnowledgeStoreFileProjectionSelector> files) Set the files property: Projections to Azure File storage.- Parameters:
files- the files value to set.- Returns:
- the SearchIndexerKnowledgeStoreProjection object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<SearchIndexerKnowledgeStoreProjection>- Throws:
IOException
-
fromJson
public static SearchIndexerKnowledgeStoreProjection fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of SearchIndexerKnowledgeStoreProjection from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of SearchIndexerKnowledgeStoreProjection 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 SearchIndexerKnowledgeStoreProjection.
-