Class MetricGranularityType
java.lang.Object
com.amazonaws.services.autoscaling.model.MetricGranularityType
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a granularity of a metric.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The granularity.int
hashCode()
void
setGranularity
(String granularity) The granularity.toString()
Returns a string representation of this object; useful for testing and debugging.withGranularity
(String granularity) The granularity.
-
Constructor Details
-
MetricGranularityType
public MetricGranularityType()
-
-
Method Details
-
setGranularity
The granularity. The only valid value is
1Minute
.- Parameters:
granularity
- The granularity. The only valid value is1Minute
.
-
getGranularity
The granularity. The only valid value is
1Minute
.- Returns:
- The granularity. The only valid value is
1Minute
.
-
withGranularity
The granularity. The only valid value is
1Minute
.- Parameters:
granularity
- The granularity. The only valid value is1Minute
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-