Package org.jclouds.cloudwatch.options
Class ListMetricsOptions
java.lang.Object
org.jclouds.http.options.BaseHttpRequestOptions
org.jclouds.cloudwatch.options.ListMetricsOptions
- All Implemented Interfaces:
Cloneable,HttpRequestOptions
Options used to list available metrics.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionafterMarker(Object afterMarker) The token returned by a previous call to indicate that there is more data available.Returns a newly-createdListMetricsOptionsbased on the contents of theBuilder.clone()A dimension to filter the available metrics by.dimensions(Iterable<Dimension> dimensions) A list of dimensions to filter against.metricName(String metricName) The name of the metric to filter against.The namespace to filter against.Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
-
Constructor Details
-
ListMetricsOptions
public ListMetricsOptions()
-
-
Method Details
-
namespace
The namespace to filter against.- Parameters:
namespace- the namespace to filter against- Returns:
- this
Builderobject
-
metricName
The name of the metric to filter against.- Parameters:
metricName- the metric name to filter against- Returns:
- this
Builderobject
-
dimensions
A list of dimensions to filter against.- Parameters:
dimensions- the dimensions to filter against- Returns:
- this
Builderobject
-
dimension
A dimension to filter the available metrics by.- Parameters:
dimension- a dimension to filter the returned metrics by- Returns:
- this
Builderobject
-
afterMarker
The token returned by a previous call to indicate that there is more data available.- Parameters:
afterMarker- the next token indicating that there is more data available- Returns:
- this
Builderobject
-
buildFormParameters
Returns a newly-createdListMetricsOptionsbased on the contents of theBuilder.- Specified by:
buildFormParametersin interfaceHttpRequestOptions- Overrides:
buildFormParametersin classBaseHttpRequestOptions- Returns:
- map that may contain query parameters.
-
clone
-