@Stability(value=Stable) @Internal public static final class CfnCustomMetricProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnCustomMetricProps
CfnCustomMetricPropssoftware.amazon.jsii.JsiiObject.InitializationModeCfnCustomMetricProps.Builder, CfnCustomMetricProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnCustomMetricProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnCustomMetricProps.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) |
String |
getDisplayName()
The friendly name in the console for the custom metric.
|
String |
getMetricName()
The name of the custom metric.
|
String |
getMetricType()
The type of the custom metric.
|
List<CfnTag> |
getTags()
Metadata that can be used to manage the custom 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(CfnCustomMetricProps.Builder builder)
CfnCustomMetricProps.Builder.public final String getMetricType()
CfnCustomMetricProps
The type
numberonly takes a single metric value as an input, but when you submit the metrics value in the DeviceMetrics report, you must pass it as an array with a single value.
getMetricType in interface CfnCustomMetricPropspublic final String getDisplayName()
CfnCustomMetricPropsThis name doesn't have to be unique. Don't use this name as the metric identifier in the device metric report. You can update the friendly name after you define it.
getDisplayName in interface CfnCustomMetricPropspublic final String getMetricName()
CfnCustomMetricProps
This will be used in the metric report submitted from the device/thing. The name can't begin with aws: . You can’t change the name after you define it.
getMetricName in interface CfnCustomMetricPropspublic final List<CfnTag> getTags()
CfnCustomMetricPropsgetTags in interface CfnCustomMetricProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.