@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MetricGranularityType extends Object implements Serializable, Cloneable
Describes a granularity of a metric.
Constructor and Description |
---|
MetricGranularityType() |
Modifier and Type | Method and Description |
---|---|
MetricGranularityType |
clone() |
boolean |
equals(Object obj) |
String |
getGranularity()
The granularity.
|
int |
hashCode() |
void |
setGranularity(String granularity)
The granularity.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
MetricGranularityType |
withGranularity(String granularity)
The granularity.
|
public void setGranularity(String granularity)
The granularity. The only valid value is 1Minute
.
granularity
- The granularity. The only valid value is 1Minute
.public String getGranularity()
The granularity. The only valid value is 1Minute
.
1Minute
.public MetricGranularityType withGranularity(String granularity)
The granularity. The only valid value is 1Minute
.
granularity
- The granularity. The only valid value is 1Minute
.public String toString()
toString
in class Object
Object.toString()
public MetricGranularityType clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.