Class CfnServiceLevelObjective.MetricStatProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnServiceLevelObjective.MetricStatProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnServiceLevelObjective.MetricStatProperty
CfnServiceLevelObjective.MetricStatProperty-
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.MetricStatProperty
CfnServiceLevelObjective.MetricStatProperty.Builder, CfnServiceLevelObjective.MetricStatProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnServiceLevelObjective.MetricStatProperty.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 ObjectThe metric to use as the service level indicator, including the metric name, namespace, and dimensions.final NumberThe granularity, in seconds, to be used for the metric.final StringgetStat()The statistic to use for comparison to the threshold.final StringgetUnit()If you omitUnitthen all data that was collected with any unit is returned, along with the corresponding units that were specified when the data was reported to CloudWatch.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.MetricStatProperty.Builder.
-
-
Method Details
-
getMetric
Description copied from interface:CfnServiceLevelObjective.MetricStatPropertyThe metric to use as the service level indicator, including the metric name, namespace, and dimensions.Returns union: either
IResolvableorCfnServiceLevelObjective.MetricProperty- Specified by:
getMetricin interfaceCfnServiceLevelObjective.MetricStatProperty- See Also:
-
getPeriod
Description copied from interface:CfnServiceLevelObjective.MetricStatPropertyThe granularity, in seconds, to be used for the metric.For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a
PutMetricDatacall that includes aStorageResolutionof 1 second.- Specified by:
getPeriodin interfaceCfnServiceLevelObjective.MetricStatProperty- See Also:
-
getStat
Description copied from interface:CfnServiceLevelObjective.MetricStatPropertyThe statistic to use for comparison to the threshold.It can be any CloudWatch statistic or extended statistic. For more information about statistics, see CloudWatch statistics definitions .
- Specified by:
getStatin interfaceCfnServiceLevelObjective.MetricStatProperty- See Also:
-
getUnit
Description copied from interface:CfnServiceLevelObjective.MetricStatPropertyIf you omitUnitthen all data that was collected with any unit is returned, along with the corresponding units that were specified when the data was reported to CloudWatch.If you specify a unit, the operation returns only data that was collected with that unit specified. If you specify a unit that does not match the data collected, the results of the operation are null. CloudWatch does not perform unit conversions.
- Specified by:
getUnitin interfaceCfnServiceLevelObjective.MetricStatProperty- 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()
-