Class ListMetricsRequest

    • Constructor Detail

      • ListMetricsRequest

        public ListMetricsRequest()
    • Method Detail

      • setNamespace

        public void setNamespace​(String namespace)

        The namespace to filter against.

        Parameters:
        namespace - The namespace to filter against.
      • getNamespace

        public String getNamespace()

        The namespace to filter against.

        Returns:
        The namespace to filter against.
      • withNamespace

        public ListMetricsRequest withNamespace​(String namespace)

        The namespace to filter against.

        Parameters:
        namespace - The namespace to filter against.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setMetricName

        public void setMetricName​(String metricName)

        The name of the metric to filter against.

        Parameters:
        metricName - The name of the metric to filter against.
      • getMetricName

        public String getMetricName()

        The name of the metric to filter against.

        Returns:
        The name of the metric to filter against.
      • withMetricName

        public ListMetricsRequest withMetricName​(String metricName)

        The name of the metric to filter against.

        Parameters:
        metricName - The name of the metric to filter against.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getDimensions

        public List<DimensionFilter> getDimensions()

        A list of dimensions to filter against.

        Returns:
        A list of dimensions to filter against.
      • setDimensions

        public void setDimensions​(Collection<DimensionFilter> dimensions)

        A list of dimensions to filter against.

        Parameters:
        dimensions - A list of dimensions to filter against.
      • withDimensions

        public ListMetricsRequest withDimensions​(Collection<DimensionFilter> dimensions)

        A list of dimensions to filter against.

        Parameters:
        dimensions - A list of dimensions to filter against.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setNextToken

        public void setNextToken​(String nextToken)

        The token returned by a previous call to indicate that there is more data available.

        Parameters:
        nextToken - The token returned by a previous call to indicate that there is more data available.
      • getNextToken

        public String getNextToken()

        The token returned by a previous call to indicate that there is more data available.

        Returns:
        The token returned by a previous call to indicate that there is more data available.
      • withNextToken

        public ListMetricsRequest withNextToken​(String nextToken)

        The token returned by a previous call to indicate that there is more data available.

        Parameters:
        nextToken - The token returned by a previous call to indicate that there is more data available.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object