Interface MetricRenderingProperties
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
MetricRenderingProperties.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:36.900Z")
@Stability(Deprecated)
@Deprecated
public interface MetricRenderingProperties
extends software.amazon.jsii.JsiiSerializable
Deprecated.
Replaced by MetricConfig.
(deprecated) Custom rendering properties that override the default rendering properties specified in the yAxis parameter of the widget object.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.cloudwatch.*; MetricRenderingProperties metricRenderingProperties = MetricRenderingProperties.builder() .period(123) // the properties below are optional .color("color") .label("label") .stat("stat") .build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
Deprecated.static final class
Deprecated. -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPeriod
Deprecated.(deprecated) How many seconds to aggregate over. -
getColor
Deprecated.(deprecated) The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. TheColor
class has a set of standard colors that can be used here. -
getLabel
Deprecated.(deprecated) Label for the metric. -
getStat
Deprecated.(deprecated) Aggregation function to use (can be either simple or a percentile). -
builder
Deprecated.- Returns:
- a
MetricRenderingProperties.Builder
ofMetricRenderingProperties
-