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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IndexerResyncBodyfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of IndexerResyncBody from the JsonReader.Get the options property: Re-sync options that have been pre-defined from data source.setOptions(List<IndexerResyncOption> options) Set the options property: Re-sync options that have been pre-defined from data source.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
-
IndexerResyncBody
public IndexerResyncBody()Creates an instance of IndexerResyncBody class.
-
-
Method Details
-
getOptions
Get the options property: Re-sync options that have been pre-defined from data source.- Returns:
- the options value.
-
setOptions
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
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<IndexerResyncBody>- Throws:
IOException
-
fromJson
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.
-