@Stability(value=Experimental) @Internal public static final class MathExpressionProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements MathExpressionProps
MathExpressionPropssoftware.amazon.jsii.JsiiObject.InitializationModeMathExpressionProps.Builder, MathExpressionProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(String expression,
Map<String,? extends IMetric> usingMetrics,
String color,
String label,
Duration period)
Constructor that initializes the object based on literal property values passed by the
MathExpressionProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getColor()
(experimental) Color for this metric when added to a Graph in a Dashboard.
|
String |
getExpression()
(experimental) The expression defining the metric.
|
String |
getLabel()
(experimental) Label for this metric when added to a Graph in a Dashboard.
|
Duration |
getPeriod()
(experimental) The period over which the expression's statistics are applied.
|
Map<String,IMetric> |
getUsingMetrics()
(experimental) The metrics used in the expression, in a map.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.public final String getExpression()
MathExpressionPropsgetExpression in interface MathExpressionPropspublic final Map<String,IMetric> getUsingMetrics()
MathExpressionPropsThe key is the identifier that represents the given metric in the expression, and the value is the actual Metric object.
getUsingMetrics in interface MathExpressionPropspublic final String getColor()
MathExpressionOptionsDefault: - Automatic color
getColor in interface MathExpressionOptionspublic final String getLabel()
MathExpressionOptionsDefault: - Expression value is used as label
getLabel in interface MathExpressionOptionspublic final Duration getPeriod()
MathExpressionOptionsThis period overrides all periods in the metrics used in this math expression.
Default: Duration.minutes(5)
getPeriod in interface MathExpressionOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.