Class MetricAlertStatus
- java.lang.Object
-
- com.microsoft.azure.management.monitor.MetricAlertStatus
-
public class MetricAlertStatus extends Object
An alert status.
-
-
Constructor Summary
Constructors Constructor Description MetricAlertStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringid()Get the alert rule arm id.Stringname()Get the status name.MetricAlertStatusPropertiesproperties()Get the alert status properties of the metric alert status.Stringtype()Get the extended resource type name.MetricAlertStatuswithId(String id)Set the alert rule arm id.MetricAlertStatuswithName(String name)Set the status name.MetricAlertStatuswithProperties(MetricAlertStatusProperties properties)Set the alert status properties of the metric alert status.MetricAlertStatuswithType(String type)Set the extended resource type name.
-
-
-
Method Detail
-
name
public String name()
Get the status name.- Returns:
- the name value
-
withName
public MetricAlertStatus withName(String name)
Set the status name.- Parameters:
name- the name value to set- Returns:
- the MetricAlertStatus object itself.
-
id
public String id()
Get the alert rule arm id.- Returns:
- the id value
-
withId
public MetricAlertStatus withId(String id)
Set the alert rule arm id.- Parameters:
id- the id value to set- Returns:
- the MetricAlertStatus object itself.
-
type
public String type()
Get the extended resource type name.- Returns:
- the type value
-
withType
public MetricAlertStatus withType(String type)
Set the extended resource type name.- Parameters:
type- the type value to set- Returns:
- the MetricAlertStatus object itself.
-
properties
public MetricAlertStatusProperties properties()
Get the alert status properties of the metric alert status.- Returns:
- the properties value
-
withProperties
public MetricAlertStatus withProperties(MetricAlertStatusProperties properties)
Set the alert status properties of the metric alert status.- Parameters:
properties- the properties value to set- Returns:
- the MetricAlertStatus object itself.
-
-