ScheduledQueryRuleCriteria Class
- java.
lang. Object - com.
azure. resourcemanager. monitor. models. ScheduledQueryRuleCriteria
- com.
Implements
public final class ScheduledQueryRuleCriteria
implements JsonSerializable<ScheduledQueryRuleCriteria>
The rule criteria that defines the conditions of the scheduled query rule.
Constructor Summary
Constructor | Description |
---|---|
ScheduledQueryRuleCriteria() |
Creates an instance of Scheduled |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Condition> |
allOf()
Get the all |
static
Scheduled |
fromJson(JsonReader jsonReader)
Reads an instance of Scheduled |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Scheduled |
withAllOf(List<Condition> allOf)
Set the all |
Methods inherited from java.lang.Object
Constructor Details
ScheduledQueryRuleCriteria
public ScheduledQueryRuleCriteria()
Creates an instance of ScheduledQueryRuleCriteria class.
Method Details
allOf
public List
Get the allOf property: A list of conditions to evaluate against the specified scopes.
Returns:
fromJson
public static ScheduledQueryRuleCriteria fromJson(JsonReader jsonReader)
Reads an instance of ScheduledQueryRuleCriteria from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withAllOf
public ScheduledQueryRuleCriteria withAllOf(List
Set the allOf property: A list of conditions to evaluate against the specified scopes.
Parameters:
Returns:
Applies to
Azure SDK for Java