ListCustomAlertRule Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. CustomAlertRule - com.
azure. resourcemanager. security. models. ListCustomAlertRule
- com.
- com.
public class ListCustomAlertRule
extends CustomAlertRule
A List custom alert rule.
Constructor Summary
| Constructor | Description |
|---|---|
| ListCustomAlertRule() |
Creates an instance of List |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
List |
fromJson(JsonReader jsonReader)
Reads an instance of List |
| String |
ruleType()
Get the rule |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Value |
valueType()
Get the value |
|
List |
withIsEnabled(boolean isEnabled)
Set the is |
Methods inherited from CustomAlertRule
Methods inherited from java.lang.Object
Constructor Details
ListCustomAlertRule
public ListCustomAlertRule()
Creates an instance of ListCustomAlertRule class.
Method Details
fromJson
public static ListCustomAlertRule fromJson(JsonReader jsonReader)
Reads an instance of ListCustomAlertRule from the JsonReader.
Parameters:
Returns:
Throws:
ruleType
public String ruleType()
Get the ruleType property: The type of the custom alert rule.
Overrides:
ListCustomAlertRule.ruleType()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ListCustomAlertRule.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
ListCustomAlertRule.validate()valueType
public ValueType valueType()
Get the valueType property: The value type of the items in the list.
Returns:
withIsEnabled
public ListCustomAlertRule withIsEnabled(boolean isEnabled)
Set the isEnabled property: Status of the custom alert.
Overrides:
ListCustomAlertRule.withIsEnabled(boolean isEnabled)Parameters: