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
  • 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

      protected Jsii$Proxy(CfnCustomMetricProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnCustomMetricProps.Builder.
  • Method Details

    • getMetricType

      public final String getMetricType()
      Description copied from interface: CfnCustomMetricProps
      The type of the custom metric. Types include string-list , ip-address-list , number-list , and number .

      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 interface CfnCustomMetricProps
    • getDisplayName

      public final String 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 interface CfnCustomMetricProps
    • getMetricName

      public final String 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 interface CfnCustomMetricProps
    • getTags

      public final List<CfnTag> getTags()
      Description copied from interface: CfnCustomMetricProps
      Metadata that can be used to manage the custom metric.
      Specified by:
      getTags in interface CfnCustomMetricProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object