public class DescribeAlarmsForMetricRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
DescribeAlarmsForMetricRequest() |
| Modifier and Type | Method and Description |
|---|---|
DescribeAlarmsForMetricRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
List<Dimension> |
getDimensions()
The list of dimensions associated with the metric.
|
String |
getMetricName()
The name of the metric.
|
String |
getNamespace()
The namespace of the metric.
|
Integer |
getPeriod()
The period in seconds over which the statistic is applied.
|
String |
getStatistic()
The statistic for the metric.
|
String |
getUnit()
The unit for the metric.
|
int |
hashCode() |
void |
setDimensions(Collection<Dimension> dimensions)
The list of dimensions associated with the metric.
|
void |
setMetricName(String metricName)
The name of the metric.
|
void |
setNamespace(String namespace)
The namespace of the metric.
|
void |
setPeriod(Integer period)
The period in seconds over which the statistic is applied.
|
void |
setStatistic(Statistic statistic)
The statistic for the metric.
|
void |
setStatistic(String statistic)
The statistic for the metric.
|
void |
setUnit(StandardUnit unit)
The unit for the metric.
|
void |
setUnit(String unit)
The unit for the metric.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeAlarmsForMetricRequest |
withDimensions(Collection<Dimension> dimensions)
The list of dimensions associated with the metric.
|
DescribeAlarmsForMetricRequest |
withDimensions(Dimension... dimensions)
The list of dimensions associated with the metric.
|
DescribeAlarmsForMetricRequest |
withMetricName(String metricName)
The name of the metric.
|
DescribeAlarmsForMetricRequest |
withNamespace(String namespace)
The namespace of the metric.
|
DescribeAlarmsForMetricRequest |
withPeriod(Integer period)
The period in seconds over which the statistic is applied.
|
DescribeAlarmsForMetricRequest |
withStatistic(Statistic statistic)
The statistic for the metric.
|
DescribeAlarmsForMetricRequest |
withStatistic(String statistic)
The statistic for the metric.
|
DescribeAlarmsForMetricRequest |
withUnit(StandardUnit unit)
The unit for the metric.
|
DescribeAlarmsForMetricRequest |
withUnit(String unit)
The unit for the metric.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setMetricName(String metricName)
The name of the metric.
metricName - The name of the metric.public String getMetricName()
The name of the metric.
public DescribeAlarmsForMetricRequest withMetricName(String metricName)
The name of the metric.
metricName - The name of the metric.public void setNamespace(String namespace)
The namespace of the metric.
namespace - The namespace of the metric.public String getNamespace()
The namespace of the metric.
public DescribeAlarmsForMetricRequest withNamespace(String namespace)
The namespace of the metric.
namespace - The namespace of the metric.public void setStatistic(String statistic)
The statistic for the metric.
statistic - The statistic for the metric.Statisticpublic String getStatistic()
The statistic for the metric.
Statisticpublic DescribeAlarmsForMetricRequest withStatistic(String statistic)
The statistic for the metric.
statistic - The statistic for the metric.Statisticpublic void setStatistic(Statistic statistic)
The statistic for the metric.
statistic - The statistic for the metric.Statisticpublic DescribeAlarmsForMetricRequest withStatistic(Statistic statistic)
The statistic for the metric.
statistic - The statistic for the metric.Statisticpublic List<Dimension> getDimensions()
The list of dimensions associated with the metric.
public void setDimensions(Collection<Dimension> dimensions)
The list of dimensions associated with the metric.
dimensions - The list of dimensions associated with the metric.public DescribeAlarmsForMetricRequest withDimensions(Dimension... dimensions)
The list of dimensions associated with the metric.
NOTE: This method appends the values to the existing list (if
any). Use setDimensions(java.util.Collection) or
withDimensions(java.util.Collection) if you want to override the
existing values.
dimensions - The list of dimensions associated with the metric.public DescribeAlarmsForMetricRequest withDimensions(Collection<Dimension> dimensions)
The list of dimensions associated with the metric.
dimensions - The list of dimensions associated with the metric.public void setPeriod(Integer period)
The period in seconds over which the statistic is applied.
period - The period in seconds over which the statistic is applied.public Integer getPeriod()
The period in seconds over which the statistic is applied.
public DescribeAlarmsForMetricRequest withPeriod(Integer period)
The period in seconds over which the statistic is applied.
period - The period in seconds over which the statistic is applied.public void setUnit(String unit)
The unit for the metric.
unit - The unit for the metric.StandardUnitpublic String getUnit()
The unit for the metric.
StandardUnitpublic DescribeAlarmsForMetricRequest withUnit(String unit)
The unit for the metric.
unit - The unit for the metric.StandardUnitpublic void setUnit(StandardUnit unit)
The unit for the metric.
unit - The unit for the metric.StandardUnitpublic DescribeAlarmsForMetricRequest withUnit(StandardUnit unit)
The unit for the metric.
unit - The unit for the metric.StandardUnitpublic String toString()
toString in class ObjectObject.toString()public DescribeAlarmsForMetricRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.