@Stability(value=Stable) @Internal public static final class CfnAnomalyDetector.MetricStatProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnAnomalyDetector.MetricStatProperty
CfnAnomalyDetector.MetricStatPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnAnomalyDetector.MetricStatProperty.Builder, CfnAnomalyDetector.MetricStatProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnAnomalyDetector.MetricStatProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnAnomalyDetector.ConfigurationProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Object |
getMetric()
The metric to return, including the metric name, namespace, and dimensions.
|
Number |
getPeriod()
The granularity, in seconds, of the returned data points.
|
String |
getStat()
The statistic to return.
|
String |
getUnit()
When you are using a `Put` operation, this defines what unit you want to use when storing the metric.
|
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(CfnAnomalyDetector.MetricStatProperty.Builder builder)
CfnAnomalyDetector.ConfigurationProperty.Builder.public final Object getMetric()
CfnAnomalyDetector.MetricStatPropertygetMetric in interface CfnAnomalyDetector.MetricStatPropertypublic final Number getPeriod()
CfnAnomalyDetector.MetricStatProperty
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 PutMetricData call that includes a StorageResolution of 1 second.
If the StartTime parameter specifies a time stamp that is greater than 3 hours ago, you must specify the period as follows or no data points in that time range is returned:
getPeriod in interface CfnAnomalyDetector.MetricStatPropertypublic final String getStat()
CfnAnomalyDetector.MetricStatPropertyIt can include any CloudWatch statistic or extended statistic.
getStat in interface CfnAnomalyDetector.MetricStatPropertypublic final String getUnit()
CfnAnomalyDetector.MetricStatProperty
In a Get operation, if you omit Unit then 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.
getUnit in interface CfnAnomalyDetector.MetricStatProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2023. All rights reserved.