Interface ResourceMetricSelection.Builder

  • Method Details

    • includeMetrics

      ResourceMetricSelection.Builder includeMetrics(Collection<String> includeMetrics)

      The names of the metrics to collect for the resource. Amazon CloudWatch collects only the metrics that you list here.

      Parameters:
      includeMetrics - The names of the metrics to collect for the resource. Amazon CloudWatch collects only the metrics that you list here.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • includeMetrics

      ResourceMetricSelection.Builder includeMetrics(String... includeMetrics)

      The names of the metrics to collect for the resource. Amazon CloudWatch collects only the metrics that you list here.

      Parameters:
      includeMetrics - The names of the metrics to collect for the resource. Amazon CloudWatch collects only the metrics that you list here.
      Returns:
      Returns a reference to this object so that method calls can be chained together.