/AWS1/CL_IOTMETRICTORETAIN¶
The metric you want to retain. Dimensions are optional.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_metric TYPE /AWS1/IOTBEHAVIORMETRIC /AWS1/IOTBEHAVIORMETRIC¶
What is measured by the behavior.
Optional arguments:¶
io_metricdimension TYPE REF TO /AWS1/CL_IOTMETRICDIMENSION /AWS1/CL_IOTMETRICDIMENSION¶
The dimension of a metric. This can't be used with custom metrics.
iv_exportmetric TYPE /AWS1/IOTEXPORTMETRIC /AWS1/IOTEXPORTMETRIC¶
The value indicates exporting metrics related to the
MetricToRetainwhen it's true.
Queryable Attributes¶
metric¶
What is measured by the behavior.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_METRIC() |
Getter for METRIC, with configurable default |
ASK_METRIC() |
Getter for METRIC w/ exceptions if field has no value |
HAS_METRIC() |
Determine if METRIC has a value |
metricDimension¶
The dimension of a metric. This can't be used with custom metrics.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_METRICDIMENSION() |
Getter for METRICDIMENSION |
exportMetric¶
The value indicates exporting metrics related to the
MetricToRetainwhen it's true.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_EXPORTMETRIC() |
Getter for EXPORTMETRIC, with configurable default |
ASK_EXPORTMETRIC() |
Getter for EXPORTMETRIC w/ exceptions if field has no value |
HAS_EXPORTMETRIC() |
Determine if EXPORTMETRIC has a value |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_ADDLMETRICSTORETAINV2LIST¶
TYPES TT_ADDLMETRICSTORETAINV2LIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_IOTMETRICTORETAIN WITH DEFAULT KEY
.