Interface MetricValue.Builder

    • Method Detail

      • count

        MetricValue.Builder count​(Long count)

        If the comparisonOperator calls for a numeric value, use this to specify that numeric value to be compared with the metric.

        Parameters:
        count - If the comparisonOperator calls for a numeric value, use this to specify that numeric value to be compared with the metric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cidrs

        MetricValue.Builder cidrs​(Collection<String> cidrs)

        If the comparisonOperator calls for a set of CIDRs, use this to specify that set to be compared with the metric.

        Parameters:
        cidrs - If the comparisonOperator calls for a set of CIDRs, use this to specify that set to be compared with the metric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cidrs

        MetricValue.Builder cidrs​(String... cidrs)

        If the comparisonOperator calls for a set of CIDRs, use this to specify that set to be compared with the metric.

        Parameters:
        cidrs - If the comparisonOperator calls for a set of CIDRs, use this to specify that set to be compared with the metric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ports

        MetricValue.Builder ports​(Collection<Integer> ports)

        If the comparisonOperator calls for a set of ports, use this to specify that set to be compared with the metric.

        Parameters:
        ports - If the comparisonOperator calls for a set of ports, use this to specify that set to be compared with the metric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ports

        MetricValue.Builder ports​(Integer... ports)

        If the comparisonOperator calls for a set of ports, use this to specify that set to be compared with the metric.

        Parameters:
        ports - If the comparisonOperator calls for a set of ports, use this to specify that set to be compared with the metric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • number

        MetricValue.Builder number​(Double number)

        The numeral value of a metric.

        Parameters:
        number - The numeral value of a metric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • numbers

        MetricValue.Builder numbers​(Collection<Double> numbers)

        The numeral values of a metric.

        Parameters:
        numbers - The numeral values of a metric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • numbers

        MetricValue.Builder numbers​(Double... numbers)

        The numeral values of a metric.

        Parameters:
        numbers - The numeral values of a metric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • strings

        MetricValue.Builder strings​(Collection<String> strings)

        The string values of a metric.

        Parameters:
        strings - The string values of a metric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • strings

        MetricValue.Builder strings​(String... strings)

        The string values of a metric.

        Parameters:
        strings - The string values of a metric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.