Class LogMetricTrigger


  • public class LogMetricTrigger
    extends Object
    A log metrics trigger descriptor.
    • Constructor Detail

      • LogMetricTrigger

        public LogMetricTrigger()
    • Method Detail

      • thresholdOperator

        public ConditionalOperator thresholdOperator()
        Get evaluation operation for Metric -'GreaterThan' or 'LessThan' or 'Equal'. Possible values include: 'GreaterThan', 'LessThan', 'Equal'.
        Returns:
        the thresholdOperator value
      • withThresholdOperator

        public LogMetricTrigger withThresholdOperator​(ConditionalOperator thresholdOperator)
        Set evaluation operation for Metric -'GreaterThan' or 'LessThan' or 'Equal'. Possible values include: 'GreaterThan', 'LessThan', 'Equal'.
        Parameters:
        thresholdOperator - the thresholdOperator value to set
        Returns:
        the LogMetricTrigger object itself.
      • threshold

        public Double threshold()
        Get the threshold of the metric trigger.
        Returns:
        the threshold value
      • withThreshold

        public LogMetricTrigger withThreshold​(Double threshold)
        Set the threshold of the metric trigger.
        Parameters:
        threshold - the threshold value to set
        Returns:
        the LogMetricTrigger object itself.
      • metricTriggerType

        public MetricTriggerType metricTriggerType()
        Get metric Trigger Type - 'Consecutive' or 'Total'. Possible values include: 'Consecutive', 'Total'.
        Returns:
        the metricTriggerType value
      • withMetricTriggerType

        public LogMetricTrigger withMetricTriggerType​(MetricTriggerType metricTriggerType)
        Set metric Trigger Type - 'Consecutive' or 'Total'. Possible values include: 'Consecutive', 'Total'.
        Parameters:
        metricTriggerType - the metricTriggerType value to set
        Returns:
        the LogMetricTrigger object itself.
      • metricColumn

        public String metricColumn()
        Get evaluation of metric on a particular column.
        Returns:
        the metricColumn value
      • withMetricColumn

        public LogMetricTrigger withMetricColumn​(String metricColumn)
        Set evaluation of metric on a particular column.
        Parameters:
        metricColumn - the metricColumn value to set
        Returns:
        the LogMetricTrigger object itself.