public class MetricAlertStatusProperties extends Object
Constructor and Description |
---|
MetricAlertStatusProperties() |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
dimensions()
Get an object describing the type of the dimensions.
|
String |
status()
Get status value.
|
org.joda.time.DateTime |
timestamp()
Get uTC time when the status was checked.
|
MetricAlertStatusProperties |
withDimensions(Map<String,String> dimensions)
Set an object describing the type of the dimensions.
|
MetricAlertStatusProperties |
withStatus(String status)
Set status value.
|
MetricAlertStatusProperties |
withTimestamp(org.joda.time.DateTime timestamp)
Set uTC time when the status was checked.
|
public Map<String,String> dimensions()
public MetricAlertStatusProperties withDimensions(Map<String,String> dimensions)
dimensions
- the dimensions value to setpublic String status()
public MetricAlertStatusProperties withStatus(String status)
status
- the status value to setpublic org.joda.time.DateTime timestamp()
public MetricAlertStatusProperties withTimestamp(org.joda.time.DateTime timestamp)
timestamp
- the timestamp value to setCopyright © 2019. All rights reserved.