public final class MetricAlertStatus extends Object
| Constructor and Description |
|---|
MetricAlertStatus() |
| Modifier and Type | Method and Description |
|---|---|
String |
id()
Get the id property: The alert rule arm id.
|
String |
name()
Get the name property: The status name.
|
MetricAlertStatusProperties |
properties()
Get the properties property: The alert status properties of the metric alert status.
|
String |
type()
Get the type property: The extended resource type name.
|
void |
validate()
Validates the instance.
|
MetricAlertStatus |
withId(String id)
Set the id property: The alert rule arm id.
|
MetricAlertStatus |
withName(String name)
Set the name property: The status name.
|
MetricAlertStatus |
withProperties(MetricAlertStatusProperties properties)
Set the properties property: The alert status properties of the metric alert status.
|
MetricAlertStatus |
withType(String type)
Set the type property: The extended resource type name.
|
public String name()
public MetricAlertStatus withName(String name)
name - the name value to set.public String id()
public MetricAlertStatus withId(String id)
id - the id value to set.public String type()
public MetricAlertStatus withType(String type)
type - the type value to set.public MetricAlertStatusProperties properties()
public MetricAlertStatus withProperties(MetricAlertStatusProperties properties)
properties - the properties value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.