final MetricApi metricApi = api.getMetricApiForRegion(arg0);
return new Function<Object, IterableWithMarker<Metric>>() {
@Override
public IterableWithMarker<Metric> apply(Object input) {
return metricApi.list(ListMetricsOptions.Builder.afterMarker(input.toString()));
}
@Override
public String toString() {
return "listMetricsInRegion(" + arg0 + ")";