Interface MetricStreamFilter.Builder

    • Method Detail

      • namespace

        MetricStreamFilter.Builder namespace​(String namespace)

        The name of the metric namespace for this filter.

        The namespace can contain only ASCII printable characters (ASCII range 32 through 126). It must contain at least one non-whitespace character.

        Parameters:
        namespace - The name of the metric namespace for this filter.

        The namespace can contain only ASCII printable characters (ASCII range 32 through 126). It must contain at least one non-whitespace character.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metricNames

        MetricStreamFilter.Builder metricNames​(Collection<String> metricNames)

        The names of the metrics to either include or exclude from the metric stream.

        If you omit this parameter, all metrics in the namespace are included or excluded, depending on whether this filter is specified as an exclude filter or an include filter.

        Each metric name can contain only ASCII printable characters (ASCII range 32 through 126). Each metric name must contain at least one non-whitespace character.

        Parameters:
        metricNames - The names of the metrics to either include or exclude from the metric stream.

        If you omit this parameter, all metrics in the namespace are included or excluded, depending on whether this filter is specified as an exclude filter or an include filter.

        Each metric name can contain only ASCII printable characters (ASCII range 32 through 126). Each metric name must contain at least one non-whitespace character.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metricNames

        MetricStreamFilter.Builder metricNames​(String... metricNames)

        The names of the metrics to either include or exclude from the metric stream.

        If you omit this parameter, all metrics in the namespace are included or excluded, depending on whether this filter is specified as an exclude filter or an include filter.

        Each metric name can contain only ASCII printable characters (ASCII range 32 through 126). Each metric name must contain at least one non-whitespace character.

        Parameters:
        metricNames - The names of the metrics to either include or exclude from the metric stream.

        If you omit this parameter, all metrics in the namespace are included or excluded, depending on whether this filter is specified as an exclude filter or an include filter.

        Each metric name can contain only ASCII printable characters (ASCII range 32 through 126). Each metric name must contain at least one non-whitespace character.

        Returns:
        Returns a reference to this object so that method calls can be chained together.