SlaMetric¶
-
public class
SlaMetric
¶ Represents a metric of a SLA contract. Follows the standard defined by AWS Cloudwatch.
For more details, check Raysa Oliveira’s Master Thesis (only in Portuguese).
Author: raysaoliveira
Methods¶
getDimensions¶
-
public List<SlaMetricDimension>
getDimensions
()¶
getMaxDimension¶
-
public SlaMetricDimension
getMaxDimension
()¶ Gets a
SlaMetricDimension
representing the maximum value expected for the metric. If theSlaMetricDimension.getValue()
is equals toDouble.MAX_VALUE
, it means there is no maximum value.
getMinDimension¶
-
public SlaMetricDimension
getMinDimension
()¶ Gets a
SlaMetricDimension
representing the minimum value expected for the metric. If theSlaMetricDimension.getValue()
is a negative number, it means there is no minimum value.
setDimensions¶
-
public SlaMetric
setDimensions
(List<SlaMetricDimension> dimensions)¶