Package org.jclouds.cloudwatch.options
Class ListAlarmsForMetric
- java.lang.Object
-
- org.jclouds.http.options.BaseHttpRequestOptions
-
- org.jclouds.cloudwatch.options.ListAlarmsForMetric
-
- All Implemented Interfaces:
HttpRequestOptions
@Beta public class ListAlarmsForMetric extends BaseHttpRequestOptions
Options used to describe alarms for metric.
-
-
Field Summary
-
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
-
Constructor Summary
Constructors Constructor Description ListAlarmsForMetric()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListAlarmsForMetric
dimension(Dimension dimension)
The dimension associated with the metric.ListAlarmsForMetric
dimensions(Set<Dimension> dimensions)
The list of dimensions associated with the metric.ListAlarmsForMetric
metricName(String metricName)
The name of the metric.ListAlarmsForMetric
namespace(String namespace)
The namespace of the metric.ListAlarmsForMetric
period(int period)
The period in seconds over which the statistic is applied.ListAlarmsForMetric
statistic(Statistics statistic)
The statistic for the metric.ListAlarmsForMetric
unit(Unit unit)
The unit for the metric.-
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
-
-
-
-
Method Detail
-
dimensions
public ListAlarmsForMetric dimensions(Set<Dimension> dimensions)
The list of dimensions associated with the metric.- Parameters:
dimensions
- the list of dimensions associated with the metric- Returns:
- this
ListAlarmsForMetric
object
-
dimension
public ListAlarmsForMetric dimension(Dimension dimension)
The dimension associated with the metric.- Parameters:
dimension
- the dimension associated with the metric- Returns:
- this
ListAlarmsForMetric
object
-
metricName
public ListAlarmsForMetric metricName(String metricName)
The name of the metric.- Parameters:
metricName
- the name of the metric- Returns:
- this
ListAlarmsForMetric
object
-
namespace
public ListAlarmsForMetric namespace(String namespace)
The namespace of the metric.- Parameters:
namespace
- namespace of the metric- Returns:
- this
ListAlarmsForMetric
object
-
period
public ListAlarmsForMetric period(int period)
The period in seconds over which the statistic is applied.- Parameters:
period
- period in seconds over which the statistic is applied- Returns:
- this
ListAlarmsForMetric
object
-
statistic
public ListAlarmsForMetric statistic(Statistics statistic)
The statistic for the metric.- Parameters:
statistic
- statistic for the metric- Returns:
- this
ListAlarmsForMetric
object
-
unit
public ListAlarmsForMetric unit(Unit unit)
The unit for the metric.- Parameters:
unit
- unit for the metric- Returns:
- this
ListAlarmsForMetric
object
-
-