public class ListMetricsOptions extends BaseHttpRequestOptions implements Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
ListMetricsOptions.Builder |
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
Constructor and Description |
---|
ListMetricsOptions() |
Modifier and Type | Method and Description |
---|---|
ListMetricsOptions |
afterMarker(Object afterMarker)
The token returned by a previous call to indicate that there is more data available.
|
com.google.common.collect.Multimap<String,String> |
buildFormParameters()
Returns a newly-created
ListMetricsOptions based on the contents of
the Builder . |
ListMetricsOptions |
clone() |
ListMetricsOptions |
dimension(Dimension dimension)
A dimension to filter the available metrics by.
|
ListMetricsOptions |
dimensions(Iterable<Dimension> dimensions)
A list of dimensions to filter against.
|
ListMetricsOptions |
metricName(String metricName)
The name of the metric to filter against.
|
ListMetricsOptions |
namespace(String namespace)
The namespace to filter against.
|
buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
public ListMetricsOptions namespace(String namespace)
namespace
- the namespace to filter againstBuilder
objectpublic ListMetricsOptions metricName(String metricName)
metricName
- the metric name to filter againstBuilder
objectpublic ListMetricsOptions dimensions(Iterable<Dimension> dimensions)
dimensions
- the dimensions to filter againstBuilder
objectpublic ListMetricsOptions dimension(Dimension dimension)
dimension
- a dimension to filter the returned metrics byBuilder
objectpublic ListMetricsOptions afterMarker(Object afterMarker)
afterMarker
- the next token indicating that there is more data availableBuilder
objectpublic com.google.common.collect.Multimap<String,String> buildFormParameters()
ListMetricsOptions
based on the contents of
the Builder
.buildFormParameters
in interface HttpRequestOptions
buildFormParameters
in class BaseHttpRequestOptions
public ListMetricsOptions clone()
Copyright © 2009-2013 jclouds. All Rights Reserved.