Class ListAlarmsForMetric

    • Constructor Detail

      • ListAlarmsForMetric

        public ListAlarmsForMetric()
    • Method Detail

      • dimensions

        public ListAlarmsForMetric dimensions​(Set<Dimension> dimensions)
        The list of dimensions associated with the metric.
        Parameters:
        dimensions - the list of dimensions associated with the metric
        Returns:
        this ListAlarmsForMetric object
      • dimension

        public ListAlarmsForMetric dimension​(Dimension dimension)
        The dimension associated with the metric.
        Parameters:
        dimension - the dimension associated with the metric
        Returns:
        this ListAlarmsForMetric object
      • metricName

        public ListAlarmsForMetric metricName​(String metricName)
        The name of the metric.
        Parameters:
        metricName - the name of the metric
        Returns:
        this ListAlarmsForMetric object
      • namespace

        public ListAlarmsForMetric namespace​(String namespace)
        The namespace of the metric.
        Parameters:
        namespace - namespace of the metric
        Returns:
        this ListAlarmsForMetric object
      • period

        public ListAlarmsForMetric period​(int period)
        The period in seconds over which the statistic is applied.
        Parameters:
        period - period in seconds over which the statistic is applied
        Returns:
        this ListAlarmsForMetric object
      • statistic

        public ListAlarmsForMetric statistic​(Statistics statistic)
        The statistic for the metric.
        Parameters:
        statistic - statistic for the metric
        Returns:
        this ListAlarmsForMetric object
      • unit

        public ListAlarmsForMetric unit​(Unit unit)
        The unit for the metric.
        Parameters:
        unit - unit for the metric
        Returns:
        this ListAlarmsForMetric object