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 Details

    • SearchIndexerIndexProjectionsParameters

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

    • getProjectionMode

      public IndexProjectionMode 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

      public Map<String,Object> 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.