mirror of https://github.com/apache/jclouds.git
Issue 922: Add missing javadoc to CloudWatch.listMetrics(MetricClient, ListMetricsOption).
* Follow-up to b820b326b4
This commit is contained in:
parent
b820b326b4
commit
934b8388e6
|
@ -33,6 +33,14 @@ import java.util.Iterator;
|
|||
*/
|
||||
public class CloudWatch {
|
||||
|
||||
/**
|
||||
* List metrics based on the criteria in the {@link ListMetricsOptions} passed in.
|
||||
*
|
||||
* @param metricClient the {@link MetricClient} to use for the request
|
||||
* @param options the {@link ListMetricsOptions} describing the ListMetrics request
|
||||
*
|
||||
* @return iterable of metrics fitting the criteria
|
||||
*/
|
||||
public static Iterable<Metric> listMetrics(final MetricClient metricClient, final ListMetricsOptions options) {
|
||||
return new Iterable<Metric>() {
|
||||
public Iterator<Metric> iterator() {
|
||||
|
@ -76,7 +84,7 @@ public class CloudWatch {
|
|||
/**
|
||||
* List metrics based on the criteria in the {@link ListMetricsOptions} passed in.
|
||||
*
|
||||
* @param cloudWatchClient the CloudWatch client
|
||||
* @param cloudWatchClient the {@link CloudWatchClient} to use for the request
|
||||
* @param region the region to list metrics in
|
||||
* @param options the options describing the ListMetrics request
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue