Class MetricAlertStatusProperties
- java.lang.Object
-
- com.microsoft.azure.management.monitor.MetricAlertStatusProperties
-
public class MetricAlertStatusProperties extends Object
An alert status properties.
-
-
Constructor Summary
Constructors Constructor Description MetricAlertStatusProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>dimensions()Get an object describing the type of the dimensions.Stringstatus()Get status value.org.joda.time.DateTimetimestamp()Get uTC time when the status was checked.MetricAlertStatusPropertieswithDimensions(Map<String,String> dimensions)Set an object describing the type of the dimensions.MetricAlertStatusPropertieswithStatus(String status)Set status value.MetricAlertStatusPropertieswithTimestamp(org.joda.time.DateTime timestamp)Set uTC time when the status was checked.
-
-
-
Method Detail
-
dimensions
public Map<String,String> dimensions()
Get an object describing the type of the dimensions.- Returns:
- the dimensions value
-
withDimensions
public MetricAlertStatusProperties withDimensions(Map<String,String> dimensions)
Set an object describing the type of the dimensions.- Parameters:
dimensions- the dimensions value to set- Returns:
- the MetricAlertStatusProperties object itself.
-
status
public String status()
Get status value.- Returns:
- the status value
-
withStatus
public MetricAlertStatusProperties withStatus(String status)
Set status value.- Parameters:
status- the status value to set- Returns:
- the MetricAlertStatusProperties object itself.
-
timestamp
public org.joda.time.DateTime timestamp()
Get uTC time when the status was checked.- Returns:
- the timestamp value
-
withTimestamp
public MetricAlertStatusProperties withTimestamp(org.joda.time.DateTime timestamp)
Set uTC time when the status was checked.- Parameters:
timestamp- the timestamp value to set- Returns:
- the MetricAlertStatusProperties object itself.
-
-