Class LaunchMetricMonitorMetricDefinition


  • public final class LaunchMetricMonitorMetricDefinition
    extends java.lang.Object
    • Method Detail

      • entityIdKey

        public java.lang.String entityIdKey()
        Returns:
        Specifies the entity, such as a user or session, that does an action that causes a metric value to be recorded. An example is `userDetails.userID`.
      • eventPattern

        public java.util.Optional<java.lang.String> eventPattern()
        Returns:
        Specifies The EventBridge event pattern that defines how the metric is recorded.
      • name

        public java.lang.String name()
        Returns:
        Specifies the name for the metric.
      • unitLabel

        public java.util.Optional<java.lang.String> unitLabel()
        Returns:
        Specifies a label for the units that the metric is measuring.
      • valueKey

        public java.lang.String valueKey()
        Returns:
        Specifies the value that is tracked to produce the metric.