CustomAlertRule Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. CustomAlertRule
- com.
public class CustomAlertRule
A custom alert rule.
Constructor Summary
Constructor | Description |
---|---|
CustomAlertRule() |
Creates an instance of Custom |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
description()
Get the description property: The description of the custom alert. |
String |
displayName()
Get the display |
boolean |
isEnabled()
Get the is |
void |
validate()
Validates the instance. |
Custom |
withIsEnabled(boolean isEnabled)
Set the is |
Methods inherited from java.lang.Object
Constructor Details
CustomAlertRule
public CustomAlertRule()
Creates an instance of CustomAlertRule class.
Method Details
description
public String description()
Get the description property: The description of the custom alert.
Returns:
displayName
public String displayName()
Get the displayName property: The display name of the custom alert.
Returns:
isEnabled
public boolean isEnabled()
Get the isEnabled property: Status of the custom alert.
Returns:
validate
public void validate()
Validates the instance.
withIsEnabled
public CustomAlertRule withIsEnabled(boolean isEnabled)
Set the isEnabled property: Status of the custom alert.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for