Class SearchIndexerIndexProjectionsParameters
java.lang.Object
com.azure.search.documents.indexes.models.SearchIndexerIndexProjectionsParameters
- All Implemented Interfaces:
com.azure.json.JsonSerializable<SearchIndexerIndexProjectionsParameters>
public final class SearchIndexerIndexProjectionsParameters
extends Object
implements com.azure.json.JsonSerializable<SearchIndexerIndexProjectionsParameters>
A dictionary of index projection-specific configuration properties. Each name is the name of a specific property.
Each value must be of a primitive type.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of SearchIndexerIndexProjectionsParameters class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SearchIndexerIndexProjectionsParameters from the JsonReader.Get the additionalProperties property: A dictionary of index projection-specific configuration properties.Get the projectionMode property: Defines behavior of the index projections in relation to the rest of the indexer.setAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: A dictionary of index projection-specific configuration properties.setProjectionMode(IndexProjectionMode projectionMode) Set the projectionMode property: Defines behavior of the index projections in relation to the rest of the indexer.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
-
SearchIndexerIndexProjectionsParameters
public SearchIndexerIndexProjectionsParameters()Creates an instance of SearchIndexerIndexProjectionsParameters class.
-
-
Method Details
-
getProjectionMode
Get the projectionMode property: Defines behavior of the index projections in relation to the rest of the indexer.- Returns:
- the projectionMode value.
-
setProjectionMode
public SearchIndexerIndexProjectionsParameters setProjectionMode(IndexProjectionMode projectionMode) Set the projectionMode property: Defines behavior of the index projections in relation to the rest of the indexer.- Parameters:
projectionMode- the projectionMode value to set.- Returns:
- the SearchIndexerIndexProjectionsParameters object itself.
-
getAdditionalProperties
Get the additionalProperties property: A dictionary of index projection-specific configuration properties. Each name is the name of a specific property. Each value must be of a primitive type.- Returns:
- the additionalProperties value.
-
setAdditionalProperties
public SearchIndexerIndexProjectionsParameters setAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: A dictionary of index projection-specific configuration properties. Each name is the name of a specific property. Each value must be of a primitive type.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the SearchIndexerIndexProjectionsParameters object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<SearchIndexerIndexProjectionsParameters>- Throws:
IOException
-
fromJson
public static SearchIndexerIndexProjectionsParameters fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of SearchIndexerIndexProjectionsParameters from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of SearchIndexerIndexProjectionsParameters 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 SearchIndexerIndexProjectionsParameters.
-