@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MetricInfo extends Object implements Serializable, Cloneable, StructuredPojo
A structure that uses CloudWatch metrics to gather data about the service quota.
Constructor and Description |
---|
MetricInfo() |
Modifier and Type | Method and Description |
---|---|
MetricInfo |
addMetricDimensionsEntry(String key,
String value) |
MetricInfo |
clearMetricDimensionsEntries()
Removes all the entries added into MetricDimensions.
|
MetricInfo |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getMetricDimensions()
A dimension is a name/value pair that is part of the identity of a metric.
|
String |
getMetricName()
The name of the CloudWatch metric that measures usage of a service quota.
|
String |
getMetricNamespace()
The namespace of the metric.
|
String |
getMetricStatisticRecommendation()
Statistics are metric data aggregations over specified periods of time.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMetricDimensions(Map<String,String> metricDimensions)
A dimension is a name/value pair that is part of the identity of a metric.
|
void |
setMetricName(String metricName)
The name of the CloudWatch metric that measures usage of a service quota.
|
void |
setMetricNamespace(String metricNamespace)
The namespace of the metric.
|
void |
setMetricStatisticRecommendation(String metricStatisticRecommendation)
Statistics are metric data aggregations over specified periods of time.
|
String |
toString()
Returns a string representation of this object.
|
MetricInfo |
withMetricDimensions(Map<String,String> metricDimensions)
A dimension is a name/value pair that is part of the identity of a metric.
|
MetricInfo |
withMetricName(String metricName)
The name of the CloudWatch metric that measures usage of a service quota.
|
MetricInfo |
withMetricNamespace(String metricNamespace)
The namespace of the metric.
|
MetricInfo |
withMetricStatisticRecommendation(String metricStatisticRecommendation)
Statistics are metric data aggregations over specified periods of time.
|
public void setMetricNamespace(String metricNamespace)
The namespace of the metric. The namespace is a container for CloudWatch metrics. You can specify a name for the namespace when you create a metric.
metricNamespace
- The namespace of the metric. The namespace is a container for CloudWatch metrics. You can specify a name
for the namespace when you create a metric.public String getMetricNamespace()
The namespace of the metric. The namespace is a container for CloudWatch metrics. You can specify a name for the namespace when you create a metric.
public MetricInfo withMetricNamespace(String metricNamespace)
The namespace of the metric. The namespace is a container for CloudWatch metrics. You can specify a name for the namespace when you create a metric.
metricNamespace
- The namespace of the metric. The namespace is a container for CloudWatch metrics. You can specify a name
for the namespace when you create a metric.public void setMetricName(String metricName)
The name of the CloudWatch metric that measures usage of a service quota. This is a required field.
metricName
- The name of the CloudWatch metric that measures usage of a service quota. This is a required field.public String getMetricName()
The name of the CloudWatch metric that measures usage of a service quota. This is a required field.
public MetricInfo withMetricName(String metricName)
The name of the CloudWatch metric that measures usage of a service quota. This is a required field.
metricName
- The name of the CloudWatch metric that measures usage of a service quota. This is a required field.public Map<String,String> getMetricDimensions()
A dimension is a name/value pair that is part of the identity of a metric. Every metric has specific characteristics that describe it, and you can think of dimensions as categories for those characteristics. These dimensions are part of the CloudWatch Metric Identity that measures usage against a particular service quota.
public void setMetricDimensions(Map<String,String> metricDimensions)
A dimension is a name/value pair that is part of the identity of a metric. Every metric has specific characteristics that describe it, and you can think of dimensions as categories for those characteristics. These dimensions are part of the CloudWatch Metric Identity that measures usage against a particular service quota.
metricDimensions
- A dimension is a name/value pair that is part of the identity of a metric. Every metric has specific
characteristics that describe it, and you can think of dimensions as categories for those characteristics.
These dimensions are part of the CloudWatch Metric Identity that measures usage against a particular
service quota.public MetricInfo withMetricDimensions(Map<String,String> metricDimensions)
A dimension is a name/value pair that is part of the identity of a metric. Every metric has specific characteristics that describe it, and you can think of dimensions as categories for those characteristics. These dimensions are part of the CloudWatch Metric Identity that measures usage against a particular service quota.
metricDimensions
- A dimension is a name/value pair that is part of the identity of a metric. Every metric has specific
characteristics that describe it, and you can think of dimensions as categories for those characteristics.
These dimensions are part of the CloudWatch Metric Identity that measures usage against a particular
service quota.public MetricInfo addMetricDimensionsEntry(String key, String value)
public MetricInfo clearMetricDimensionsEntries()
public void setMetricStatisticRecommendation(String metricStatisticRecommendation)
Statistics are metric data aggregations over specified periods of time. This is the recommended statistic to use when comparing usage in the CloudWatch Metric against your Service Quota.
metricStatisticRecommendation
- Statistics are metric data aggregations over specified periods of time. This is the recommended statistic
to use when comparing usage in the CloudWatch Metric against your Service Quota.public String getMetricStatisticRecommendation()
Statistics are metric data aggregations over specified periods of time. This is the recommended statistic to use when comparing usage in the CloudWatch Metric against your Service Quota.
public MetricInfo withMetricStatisticRecommendation(String metricStatisticRecommendation)
Statistics are metric data aggregations over specified periods of time. This is the recommended statistic to use when comparing usage in the CloudWatch Metric against your Service Quota.
metricStatisticRecommendation
- Statistics are metric data aggregations over specified periods of time. This is the recommended statistic
to use when comparing usage in the CloudWatch Metric against your Service Quota.public String toString()
toString
in class Object
Object.toString()
public MetricInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.