Class AlertInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.alertsmanagement.fluent.models.AlertInner
public final class AlertInner
extends com.azure.core.management.ProxyResource
An alert created in alert management service.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the properties property: Alert property bag.void
validate()
Validates the instance.withProperties
(AlertProperties properties) Set the properties property: Alert property bag.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
AlertInner
public AlertInner()
-
-
Method Details
-
properties
Get the properties property: Alert property bag.- Returns:
- the properties value.
-
withProperties
Set the properties property: Alert property bag.- Parameters:
properties
- the properties value to set.- Returns:
- the AlertInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-