Package org.jclouds.cloudwatch.options
Class ListAlarmsForMetric
- java.lang.Object
-
- org.jclouds.http.options.BaseHttpRequestOptions
-
- org.jclouds.cloudwatch.options.ListAlarmsForMetric
-
-
Constructor Summary
Constructors Constructor Description ListAlarmsForMetric()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListAlarmsForMetricdimension(Dimension dimension)The dimension associated with the metric.ListAlarmsForMetricdimensions(Set<Dimension> dimensions)The list of dimensions associated with the metric.ListAlarmsForMetricmetricName(String metricName)The name of the metric.ListAlarmsForMetricnamespace(String namespace)The namespace of the metric.ListAlarmsForMetricperiod(int period)The period in seconds over which the statistic is applied.ListAlarmsForMetricstatistic(Statistics statistic)The statistic for the metric.ListAlarmsForMetricunit(Unit unit)The unit for the metric.
-
-
-
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
ListAlarmsForMetricobject
-
dimension
public ListAlarmsForMetric dimension(Dimension dimension)
The dimension associated with the metric.- Parameters:
dimension- the dimension associated with the metric- Returns:
- this
ListAlarmsForMetricobject
-
metricName
public ListAlarmsForMetric metricName(String metricName)
The name of the metric.- Parameters:
metricName- the name of the metric- Returns:
- this
ListAlarmsForMetricobject
-
namespace
public ListAlarmsForMetric namespace(String namespace)
The namespace of the metric.- Parameters:
namespace- namespace of the metric- Returns:
- this
ListAlarmsForMetricobject
-
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
ListAlarmsForMetricobject
-
statistic
public ListAlarmsForMetric statistic(Statistics statistic)
The statistic for the metric.- Parameters:
statistic- statistic for the metric- Returns:
- this
ListAlarmsForMetricobject
-
unit
public ListAlarmsForMetric unit(Unit unit)
The unit for the metric.- Parameters:
unit- unit for the metric- Returns:
- this
ListAlarmsForMetricobject
-
-