Class AlertProcessingRuleInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.alertsmanagement.models.ManagedResource
com.azure.resourcemanager.alertsmanagement.fluent.models.AlertProcessingRuleInner
Alert processing rule object containing target scopes, conditions and scheduling logic.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the properties property: Alert processing rule properties.com.azure.core.management.SystemData
Get the systemData property: Alert processing rule system data.void
validate()
Validates the instance.withLocation
(String location) Set the location property: Resource location.withProperties
(AlertProcessingRuleProperties properties) Set the properties property: Alert processing rule properties.Set the tags property: Resource tags.Methods inherited from class com.azure.resourcemanager.alertsmanagement.models.ManagedResource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
AlertProcessingRuleInner
public AlertProcessingRuleInner()
-
-
Method Details
-
properties
Get the properties property: Alert processing rule properties.- Returns:
- the properties value.
-
withProperties
Set the properties property: Alert processing rule properties.- Parameters:
properties
- the properties value to set.- Returns:
- the AlertProcessingRuleInner object itself.
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Alert processing rule system data.- Returns:
- the systemData value.
-
withLocation
Set the location property: Resource location.- Overrides:
withLocation
in classManagedResource
- Parameters:
location
- the location value to set.- Returns:
- the ManagedResource object itself.
-
withTags
Set the tags property: Resource tags.- Overrides:
withTags
in classManagedResource
- Parameters:
tags
- the tags value to set.- Returns:
- the ManagedResource object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classManagedResource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-