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 Details

    • IndexingSchedule

      public IndexingSchedule(Duration interval)
      Creates an instance of IndexingSchedule class.
      Parameters:
      interval - the interval value to set.
  • Method Details

    • 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.