public class MetricGranularityType extends Object implements Serializable
The MetricGranularityType data type.
| Constructor and Description |
|---|
MetricGranularityType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getGranularity()
The granularity of a Metric.
|
int |
hashCode() |
void |
setGranularity(String granularity)
The granularity of a Metric.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
MetricGranularityType |
withGranularity(String granularity)
The granularity of a Metric.
|
public String getGranularity()
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
public void setGranularity(String granularity)
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
granularity - The granularity of a Metric.public MetricGranularityType withGranularity(String granularity)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
granularity - The granularity of a Metric.public String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.