Class CfnCustomMetricProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.iot.CfnCustomMetricProps.Jsii$Proxy
- All Implemented Interfaces:
CfnCustomMetricProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnCustomMetricProps
@Stability(Stable)
@Internal
public static final class CfnCustomMetricProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnCustomMetricProps
An implementation for
CfnCustomMetricProps
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.iot.CfnCustomMetricProps
CfnCustomMetricProps.Builder, CfnCustomMetricProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(CfnCustomMetricProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnCustomMetricProps.Builder
.protected
Jsii$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.JsonNode
final boolean
final String
The friendly name in the console for the custom metric.final String
The name of the custom metric.final String
The type of the custom metric.getTags()
Metadata that can be used to manage the custom metric.final int
hashCode()
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 theCfnCustomMetricProps.Builder
.
-
-
Method Details
-
getMetricType
Description copied from interface:CfnCustomMetricProps
The type of the custom metric. Types includestring-list
,ip-address-list
,number-list
, andnumber
.The type
number
only 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.- Specified by:
getMetricType
in interfaceCfnCustomMetricProps
- See Also:
-
getDisplayName
Description copied from interface:CfnCustomMetricProps
The friendly name in the console for the custom metric.This 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.
- Specified by:
getDisplayName
in interfaceCfnCustomMetricProps
- See Also:
-
getMetricName
Description copied from interface:CfnCustomMetricProps
The name of the custom metric.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.- Specified by:
getMetricName
in interfaceCfnCustomMetricProps
- See Also:
-
getTags
Description copied from interface:CfnCustomMetricProps
Metadata that can be used to manage the custom metric.- Specified by:
getTags
in interfaceCfnCustomMetricProps
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-