Class CfnServiceLevelObjective.MetricDataQueryProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnServiceLevelObjective.MetricDataQueryProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnServiceLevelObjective.MetricDataQueryProperty
CfnServiceLevelObjective.MetricDataQueryProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.applicationsignals.CfnServiceLevelObjective.MetricDataQueryProperty
CfnServiceLevelObjective.MetricDataQueryProperty.Builder, CfnServiceLevelObjective.MetricDataQueryProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnServiceLevelObjective.MetricDataQueryProperty.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal StringThe ID of the account where this metric is located.final StringThis field can contain a metric math expression to be performed on the other metrics that you are retrieving within thisMetricDataQueriesstructure.final StringgetId()A short name used to tie this object to the results in the response.final ObjectA metric to be used directly for the SLO, or to be used in the math expression that will be used for the SLO.final ObjectUse this only if you are using a metric math expression for the SLO.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnServiceLevelObjective.MetricDataQueryProperty.Builder.
-
-
Method Details
-
getId
Description copied from interface:CfnServiceLevelObjective.MetricDataQueryPropertyA short name used to tie this object to the results in the response.This
Idmust be unique within aMetricDataQueriesarray. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the metric math expression. The valid characters are letters, numbers, and underscore. The first character must be a lowercase letter.- Specified by:
getIdin interfaceCfnServiceLevelObjective.MetricDataQueryProperty- See Also:
-
getAccountId
Description copied from interface:CfnServiceLevelObjective.MetricDataQueryPropertyThe ID of the account where this metric is located.If you are performing this operation in a monitoring account, use this to specify which source account to retrieve this metric from.
- Specified by:
getAccountIdin interfaceCfnServiceLevelObjective.MetricDataQueryProperty- See Also:
-
getExpression
Description copied from interface:CfnServiceLevelObjective.MetricDataQueryPropertyThis field can contain a metric math expression to be performed on the other metrics that you are retrieving within thisMetricDataQueriesstructure.A math expression can use the
Idof the other metrics or queries to refer to those metrics, and can also use theIdof other expressions to use the result of those expressions. For more information about metric math expressions, see Metric Math Syntax and Functions in the Amazon CloudWatch User Guide .Within each
MetricDataQueryobject, you must specify eitherExpressionorMetricStatbut not both.- Specified by:
getExpressionin interfaceCfnServiceLevelObjective.MetricDataQueryProperty- See Also:
-
getMetricStat
Description copied from interface:CfnServiceLevelObjective.MetricDataQueryPropertyA metric to be used directly for the SLO, or to be used in the math expression that will be used for the SLO.Within one
MetricDataQueryobject, you must specify eitherExpressionorMetricStatbut not both.Returns union: either
IResolvableorCfnServiceLevelObjective.MetricStatProperty- Specified by:
getMetricStatin interfaceCfnServiceLevelObjective.MetricDataQueryProperty- See Also:
-
getReturnData
Description copied from interface:CfnServiceLevelObjective.MetricDataQueryPropertyUse this only if you are using a metric math expression for the SLO.Specify
trueforReturnDatafor only the one expression result to use as the alarm. For all other metrics and expressions in the sameCreateServiceLevelObjectiveoperation, specifyReturnDataasfalse.Returns union: either
BooleanorIResolvable- Specified by:
getReturnDatain interfaceCfnServiceLevelObjective.MetricDataQueryProperty- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-