Class ListMetricsOptions

    • Constructor Detail

      • ListMetricsOptions

        public ListMetricsOptions()
    • Method Detail

      • namespace

        public ListMetricsOptions namespace​(String namespace)
        The namespace to filter against.
        Parameters:
        namespace - the namespace to filter against
        Returns:
        this Builder object
      • metricName

        public ListMetricsOptions metricName​(String metricName)
        The name of the metric to filter against.
        Parameters:
        metricName - the metric name to filter against
        Returns:
        this Builder object
      • dimensions

        public ListMetricsOptions dimensions​(Iterable<Dimension> dimensions)
        A list of dimensions to filter against.
        Parameters:
        dimensions - the dimensions to filter against
        Returns:
        this Builder object
      • dimension

        public ListMetricsOptions dimension​(Dimension dimension)
        A dimension to filter the available metrics by.
        Parameters:
        dimension - a dimension to filter the returned metrics by
        Returns:
        this Builder object
      • afterMarker

        public ListMetricsOptions afterMarker​(Object afterMarker)
        The token returned by a previous call to indicate that there is more data available.
        Parameters:
        afterMarker - the next token indicating that there is more data available
        Returns:
        this Builder object