public static final class CfnAppMonitor.MetricDefinitionProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnAppMonitor.MetricDefinitionProperty
CfnAppMonitor.MetricDefinitionProperty
CfnAppMonitor.MetricDefinitionProperty.Builder, CfnAppMonitor.MetricDefinitionProperty.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
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(java.lang.Object o) |
java.lang.Object |
getDimensionKeys()
This field is a map of field paths to dimension names.
|
java.lang.String |
getEventPattern()
The pattern that defines the metric.
|
java.lang.String |
getName()
The name of the metric that is defined in this structure.
|
java.lang.String |
getUnitLabel()
Use this field only if you are sending this metric to CloudWatch .
|
java.lang.String |
getValueKey()
The field within the event object that the metric value is sourced from.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.String getName()
CfnAppMonitor.MetricDefinitionProperty
getName
in interface CfnAppMonitor.MetricDefinitionProperty
public final java.lang.Object getDimensionKeys()
CfnAppMonitor.MetricDefinitionProperty
It defines the dimensions to associate with this metric in CloudWatch The value of this field is used only if the metric destination is CloudWatch
. If the metric destination is Evidently
, the value of DimensionKeys
is ignored.
getDimensionKeys
in interface CfnAppMonitor.MetricDefinitionProperty
public final java.lang.String getEventPattern()
CfnAppMonitor.MetricDefinitionProperty
RUM checks events that happen in a user's session against the pattern, and events that match the pattern are sent to the metric destination.
If the metrics destination is CloudWatch
and the event also matches a value in DimensionKeys
, then the metric is published with the specified dimensions.
getEventPattern
in interface CfnAppMonitor.MetricDefinitionProperty
public final java.lang.String getUnitLabel()
CfnAppMonitor.MetricDefinitionProperty
It defines the CloudWatch metric unit that this metric is measured in.
getUnitLabel
in interface CfnAppMonitor.MetricDefinitionProperty
public final java.lang.String getValueKey()
CfnAppMonitor.MetricDefinitionProperty
getValueKey
in interface CfnAppMonitor.MetricDefinitionProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()