public final class MetricAlertStatusProperties extends Object
| Constructor and Description |
|---|
MetricAlertStatusProperties() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
dimensions()
Get the dimensions property: An object describing the type of the dimensions.
|
String |
status()
Get the status property: status value.
|
OffsetDateTime |
timestamp()
Get the timestamp property: UTC time when the status was checked.
|
void |
validate()
Validates the instance.
|
MetricAlertStatusProperties |
withDimensions(Map<String,String> dimensions)
Set the dimensions property: An object describing the type of the dimensions.
|
MetricAlertStatusProperties |
withStatus(String status)
Set the status property: status value.
|
MetricAlertStatusProperties |
withTimestamp(OffsetDateTime timestamp)
Set the timestamp property: UTC time when the status was checked.
|
public Map<String,String> dimensions()
public MetricAlertStatusProperties withDimensions(Map<String,String> dimensions)
dimensions - the dimensions value to set.public String status()
public MetricAlertStatusProperties withStatus(String status)
status - the status value to set.public OffsetDateTime timestamp()
public MetricAlertStatusProperties withTimestamp(OffsetDateTime timestamp)
timestamp - the timestamp value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.