SuppressionAlertsScope Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. SuppressionAlertsScope
- com.
Implements
public final class SuppressionAlertsScope
implements JsonSerializable<SuppressionAlertsScope>
The SuppressionAlertsScope model.
Constructor Summary
| Constructor | Description |
|---|---|
| SuppressionAlertsScope() |
Creates an instance of Suppression |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Scope |
allOf()
Get the all |
|
static
Suppression |
fromJson(JsonReader jsonReader)
Reads an instance of Suppression |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Suppression |
withAllOf(List<ScopeElement> allOf)
Set the all |
Methods inherited from java.lang.Object
Constructor Details
SuppressionAlertsScope
public SuppressionAlertsScope()
Creates an instance of SuppressionAlertsScope class.
Method Details
allOf
public List<ScopeElement> allOf()
Get the allOf property: All the conditions inside need to be true in order to suppress the alert.
Returns:
fromJson
public static SuppressionAlertsScope fromJson(JsonReader jsonReader)
Reads an instance of SuppressionAlertsScope from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withAllOf
public SuppressionAlertsScope withAllOf(List<ScopeElement> allOf)
Set the allOf property: All the conditions inside need to be true in order to suppress the alert.
Parameters:
Returns: