IndexingSchedule Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. IndexingSchedule
- com.
Implements
public final class IndexingSchedule
implements JsonSerializable<IndexingSchedule>
Represents a schedule for indexer execution.
Constructor Summary
Constructor | Description |
---|---|
IndexingSchedule(Duration interval) |
Creates an instance of Indexing |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Indexing |
fromJson(JsonReader jsonReader)
Reads an instance of Indexing |
Duration |
getInterval()
Get the interval property: The interval of time between indexer executions. |
Offset |
getStartTime()
Get the start |
Indexing |
setStartTime(OffsetDateTime startTime)
Set the start |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
IndexingSchedule
public IndexingSchedule(Duration interval)
Creates an instance of IndexingSchedule class.
Parameters:
Method Details
fromJson
public static IndexingSchedule fromJson(JsonReader jsonReader)
Reads an instance of IndexingSchedule from the JsonReader.
Parameters:
Returns:
Throws:
getInterval
public Duration getInterval()
Get the interval property: The interval of time between indexer executions.
Returns:
getStartTime
public OffsetDateTime getStartTime()
Get the startTime property: The time when an indexer should start running.
Returns:
setStartTime
public IndexingSchedule setStartTime(OffsetDateTime startTime)
Set the startTime property: The time when an indexer should start running.
Parameters:
Returns:
toJson
Applies to
Azure SDK for Java