public class MetricCollectionType extends Object implements Serializable
The MetricCollectionType data type.
| Constructor and Description |
|---|
MetricCollectionType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getMetric()
Constraints:
Length: 1 - 255 Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]* |
int |
hashCode() |
void |
setMetric(String metric)
Constraints:
Length: 1 - 255 Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]* |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
MetricCollectionType |
withMetric(String metric)
Returns a reference to this object so that method calls can be chained together.
|
public String getMetric()
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setMetric(String metric)
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
metric - public MetricCollectionType withMetric(String metric)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
metric - public String toString()
toString in class ObjectObject.toString()Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.