@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(MathExpressionProps.Builder builder)
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.
|
String |
getSearchAccount()
(experimental) Account to evaluate search expressions within.
|
String |
getSearchRegion()
(experimental) Region to evaluate search expressions within.
|
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.protected Jsii$Proxy(MathExpressionProps.Builder builder)
MathExpressionProps.Builder.public final String getExpression()
MathExpressionPropsWhen an expression contains a SEARCH function, it cannot be used within an Alarm.
getExpression 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.
Default: - Empty map.
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 MathExpressionOptionspublic final String getSearchAccount()
MathExpressionOptionsSpecifying a searchAccount has no effect to the account used for metrics within the expression (passed via usingMetrics).
Default: - Deployment account.
getSearchAccount in interface MathExpressionOptionspublic final String getSearchRegion()
MathExpressionOptionsSpecifying a searchRegion has no effect to the region used for metrics within the expression (passed via usingMetrics).
Default: - Deployment region.
getSearchRegion in interface MathExpressionOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.