org.jclouds.cloudwatch.options
Class ListAlarmsForMetric

java.lang.Object
  extended by org.jclouds.http.options.BaseHttpRequestOptions
      extended by org.jclouds.cloudwatch.options.ListAlarmsForMetric
All Implemented Interfaces:
org.jclouds.http.options.HttpRequestOptions

@Beta
public class ListAlarmsForMetric
extends org.jclouds.http.options.BaseHttpRequestOptions

Options used to describe alarms for metric.

Author:
Jeremy Whitlock
See Also:

Field Summary
 
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
 
Constructor Summary
ListAlarmsForMetric()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ListAlarmsForMetric

public ListAlarmsForMetric()
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


Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.