public class GetMetricStatisticsOptions extends BaseHttpRequestOptions
Modifier and Type | Class and Description |
---|---|
static class |
GetMetricStatisticsOptions.Builder |
formParameters, headers, pathSuffix, payload, queryParameters
Constructor and Description |
---|
GetMetricStatisticsOptions() |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.Multimap<String,String> |
buildFormParameters()
Builds form parameters representing options.
|
GetMetricStatisticsOptions |
dimension(Dimension dimension)
A dimension describing qualities of the metric.
|
GetMetricStatisticsOptions |
dimensions(Set<Dimension> dimensions)
A list of dimensions describing qualities of the metric.
|
GetMetricStatisticsOptions |
instanceId(String instanceId) |
GetMetricStatisticsOptions |
unit(Unit unit) |
buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
public GetMetricStatisticsOptions dimension(Dimension dimension)
dimension
- the dimension describing the qualities of the metricBuilder
objectpublic GetMetricStatisticsOptions dimensions(Set<Dimension> dimensions)
dimensions
- the dimensions describing the qualities of the metricBuilder
objectpublic GetMetricStatisticsOptions instanceId(String instanceId)
instanceId
- filter metrics by instance Idpublic GetMetricStatisticsOptions unit(Unit unit)
unit
- the unit of the metricpublic com.google.common.collect.Multimap<String,String> buildFormParameters()
HttpRequestOptions
buildFormParameters
in interface HttpRequestOptions
buildFormParameters
in class BaseHttpRequestOptions
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.