Class IndexerResyncBody

java.lang.Object
com.azure.search.documents.indexes.models.IndexerResyncBody
All Implemented Interfaces:
com.azure.json.JsonSerializable<IndexerResyncBody>

public final class IndexerResyncBody extends Object implements com.azure.json.JsonSerializable<IndexerResyncBody>
The IndexerResyncBody model.
  • Constructor Details

    • IndexerResyncBody

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

    • getOptions

      public List<IndexerResyncOption> getOptions()
      Get the options property: Re-sync options that have been pre-defined from data source.
      Returns:
      the options value.
    • setOptions

      public IndexerResyncBody setOptions(List<IndexerResyncOption> options)
      Set the options property: Re-sync options that have been pre-defined from data source.
      Parameters:
      options - the options value to set.
      Returns:
      the IndexerResyncBody 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<IndexerResyncBody>
      Throws:
      IOException
    • fromJson

      public static IndexerResyncBody fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of IndexerResyncBody from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of IndexerResyncBody 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 IndexerResyncBody.