Modifier and Type | Method and Description |
---|---|
GetMetricStatisticsResponse |
getMetricStatistics(GetMetricStatistics statistics) |
GetMetricStatisticsResponse |
getMetricStatistics(GetMetricStatistics statistics,
GetMetricStatisticsOptions options)
Gets statistics for the specified metric.
|
PagedIterable<Metric> |
list() |
IterableWithMarker<Metric> |
list(ListMetricsOptions options)
Returns a list of valid metrics stored for the AWS account owner.
|
void |
putMetricsInNamespace(Iterable<MetricDatum> metrics,
String namespace)
Publishes metric data points to Amazon CloudWatch.
|
@Named(value="ListMetrics") IterableWithMarker<Metric> list(ListMetricsOptions options)
ListMetricsResponse.getNextToken()
) value with
subsequent calls .To retrieve all available metrics with one call, use
CloudWatch.listMetrics(MetricApi,
org.jclouds.cloudwatch.options.ListMetricsOptions)
options
- the options describing the metrics query@Named(value="ListMetrics") PagedIterable<Metric> list()
@Named(value="GetMetricStatistics") GetMetricStatisticsResponse getMetricStatistics(GetMetricStatistics statistics, GetMetricStatisticsOptions options)
statistics
- the statistics to gatheroptions
- the options describing the metric statistics query@Named(value="GetMetricStatistics") GetMetricStatisticsResponse getMetricStatistics(GetMetricStatistics statistics)
@Named(value="PutMetricData") void putMetricsInNamespace(Iterable<MetricDatum> metrics, String namespace)
metrics
- the metrics to publishnamespace
- the namespace to publish the metrics toCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.