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-createdListMetricsOptions
based 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
Builder
object
-
metricName
The name of the metric to filter against.- Parameters:
metricName
- the metric name to filter against- Returns:
- this
Builder
object
-
dimensions
A list of dimensions to filter against.- Parameters:
dimensions
- the dimensions to filter against- Returns:
- this
Builder
object
-
dimension
A dimension to filter the available metrics by.- Parameters:
dimension
- a dimension to filter the returned metrics by- Returns:
- this
Builder
object
-
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
Builder
object
-
buildFormParameters
Returns a newly-createdListMetricsOptions
based on the contents of theBuilder
.- Specified by:
buildFormParameters
in interfaceHttpRequestOptions
- Overrides:
buildFormParameters
in classBaseHttpRequestOptions
- Returns:
- map that may contain query parameters.
-
clone
-