Class IndexingSchedule
- java.lang.Object
-
- com.azure.search.documents.indexes.models.IndexingSchedule
-
public final class IndexingSchedule extends Object
Represents a schedule for indexer execution.
-
-
Constructor Summary
Constructors Constructor Description IndexingSchedule(Duration interval)
Creates an instance of IndexingSchedule class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Duration
getInterval()
Get the interval property: The interval of time between indexer executions.OffsetDateTime
getStartTime()
Get the startTime property: The time when an indexer should start running.IndexingSchedule
setStartTime(OffsetDateTime startTime)
Set the startTime property: The time when an indexer should start running.
-
-
-
Constructor Detail
-
IndexingSchedule
public IndexingSchedule(Duration interval)
Creates an instance of IndexingSchedule class.- Parameters:
interval
- the interval value to set.
-
-
Method Detail
-
getInterval
public Duration getInterval()
Get the interval property: The interval of time between indexer executions.- Returns:
- the interval value.
-
getStartTime
public OffsetDateTime getStartTime()
Get the startTime property: The time when an indexer should start running.- Returns:
- the startTime value.
-
setStartTime
public IndexingSchedule setStartTime(OffsetDateTime startTime)
Set the startTime property: The time when an indexer should start running.- Parameters:
startTime
- the startTime value to set.- Returns:
- the IndexingSchedule object itself.
-
-