Class EnabledMetric
- All Implemented Interfaces:
Serializable
,Cloneable
Describes an enabled metric.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The granularity of the metric.One of the following metrics:int
hashCode()
void
setGranularity
(String granularity) The granularity of the metric.void
One of the following metrics:toString()
Returns a string representation of this object; useful for testing and debugging.withGranularity
(String granularity) The granularity of the metric.withMetric
(String metric) One of the following metrics:
-
Constructor Details
-
EnabledMetric
public EnabledMetric()
-
-
Method Details
-
setMetric
One of the following metrics:
-
GroupMinSize
-
GroupMaxSize
-
GroupDesiredCapacity
-
GroupInServiceInstances
-
GroupPendingInstances
-
GroupStandbyInstances
-
GroupTerminatingInstances
-
GroupTotalInstances
- Parameters:
metric
- One of the following metrics:-
GroupMinSize
-
GroupMaxSize
-
GroupDesiredCapacity
-
GroupInServiceInstances
-
GroupPendingInstances
-
GroupStandbyInstances
-
GroupTerminatingInstances
-
GroupTotalInstances
-
-
-
getMetric
One of the following metrics:
-
GroupMinSize
-
GroupMaxSize
-
GroupDesiredCapacity
-
GroupInServiceInstances
-
GroupPendingInstances
-
GroupStandbyInstances
-
GroupTerminatingInstances
-
GroupTotalInstances
- Returns:
- One of the following metrics:
-
GroupMinSize
-
GroupMaxSize
-
GroupDesiredCapacity
-
GroupInServiceInstances
-
GroupPendingInstances
-
GroupStandbyInstances
-
GroupTerminatingInstances
-
GroupTotalInstances
-
-
-
withMetric
One of the following metrics:
-
GroupMinSize
-
GroupMaxSize
-
GroupDesiredCapacity
-
GroupInServiceInstances
-
GroupPendingInstances
-
GroupStandbyInstances
-
GroupTerminatingInstances
-
GroupTotalInstances
- Parameters:
metric
- One of the following metrics:-
GroupMinSize
-
GroupMaxSize
-
GroupDesiredCapacity
-
GroupInServiceInstances
-
GroupPendingInstances
-
GroupStandbyInstances
-
GroupTerminatingInstances
-
GroupTotalInstances
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
setGranularity
The granularity of the metric. The only valid value is
1Minute
.- Parameters:
granularity
- The granularity of the metric. The only valid value is1Minute
.
-
getGranularity
The granularity of the metric. The only valid value is
1Minute
.- Returns:
- The granularity of the metric. The only valid value is
1Minute
.
-
withGranularity
The granularity of the metric. The only valid value is
1Minute
.- Parameters:
granularity
- The granularity of the metric. 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
-