public final class Schedule extends Object
| Constructor and Description |
|---|
Schedule() |
| Modifier and Type | Method and Description |
|---|---|
int |
frequencyInMinutes()
Get the frequencyInMinutes property: frequency (in minutes) at which rule condition should be evaluated.
|
int |
timeWindowInMinutes()
Get the timeWindowInMinutes property: Time window for which data needs to be fetched for query (should be greater
than or equal to frequencyInMinutes).
|
void |
validate()
Validates the instance.
|
Schedule |
withFrequencyInMinutes(int frequencyInMinutes)
Set the frequencyInMinutes property: frequency (in minutes) at which rule condition should be evaluated.
|
Schedule |
withTimeWindowInMinutes(int timeWindowInMinutes)
Set the timeWindowInMinutes property: Time window for which data needs to be fetched for query (should be greater
than or equal to frequencyInMinutes).
|
public int frequencyInMinutes()
public Schedule withFrequencyInMinutes(int frequencyInMinutes)
frequencyInMinutes - the frequencyInMinutes value to set.public int timeWindowInMinutes()
public Schedule withTimeWindowInMinutes(int timeWindowInMinutes)
timeWindowInMinutes - the timeWindowInMinutes value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.