AlertRuleAllOfCondition Class
- java.
lang. Object - com.
azure. resourcemanager. alertsmanagement. models. AlertRuleAllOfCondition
- com.
Implements
public final class AlertRuleAllOfCondition
implements JsonSerializable<AlertRuleAllOfCondition>
An Activity Log Alert rule condition that is met when all its member conditions are met.
Constructor Summary
| Constructor | Description |
|---|---|
| AlertRuleAllOfCondition() |
Creates an instance of Alert |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Alert |
allOf()
Get the all |
|
static
Alert |
fromJson(JsonReader jsonReader)
Reads an instance of Alert |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Alert |
withAllOf(List<AlertRuleAnyOfOrLeafCondition> allOf)
Set the all |
Methods inherited from java.lang.Object
Constructor Details
AlertRuleAllOfCondition
public AlertRuleAllOfCondition()
Creates an instance of AlertRuleAllOfCondition class.
Method Details
allOf
public List<AlertRuleAnyOfOrLeafCondition> allOf()
Get the allOf property: The list of Activity Log Alert rule conditions.
Returns:
fromJson
public static AlertRuleAllOfCondition fromJson(JsonReader jsonReader)
Reads an instance of AlertRuleAllOfCondition from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withAllOf
public AlertRuleAllOfCondition withAllOf(List<AlertRuleAnyOfOrLeafCondition> allOf)
Set the allOf property: The list of Activity Log Alert rule conditions.
Parameters:
Returns: