public class MetricCollectionType
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes a metric.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
metric
One of the following metrics:
|
Constructor and Description |
---|
MetricCollectionType() |
Modifier and Type | Method and Description |
---|---|
MetricCollectionType |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getMetric()
One of the following metrics:
|
int |
hashCode() |
void |
setMetric(java.lang.String metric)
One of the following metrics:
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
MetricCollectionType |
withMetric(java.lang.String metric)
One of the following metrics:
|
private java.lang.String metric
One of the following metrics:
GroupMinSize
GroupMaxSize
GroupDesiredCapacity
GroupInServiceInstances
GroupPendingInstances
GroupStandbyInstances
GroupTerminatingInstances
GroupTotalInstances
public void setMetric(java.lang.String metric)
One of the following metrics:
GroupMinSize
GroupMaxSize
GroupDesiredCapacity
GroupInServiceInstances
GroupPendingInstances
GroupStandbyInstances
GroupTerminatingInstances
GroupTotalInstances
metric
- One of the following metrics:
GroupMinSize
GroupMaxSize
GroupDesiredCapacity
GroupInServiceInstances
GroupPendingInstances
GroupStandbyInstances
GroupTerminatingInstances
GroupTotalInstances
public java.lang.String getMetric()
One of the following metrics:
GroupMinSize
GroupMaxSize
GroupDesiredCapacity
GroupInServiceInstances
GroupPendingInstances
GroupStandbyInstances
GroupTerminatingInstances
GroupTotalInstances
GroupMinSize
GroupMaxSize
GroupDesiredCapacity
GroupInServiceInstances
GroupPendingInstances
GroupStandbyInstances
GroupTerminatingInstances
GroupTotalInstances
public MetricCollectionType withMetric(java.lang.String metric)
One of the following metrics:
GroupMinSize
GroupMaxSize
GroupDesiredCapacity
GroupInServiceInstances
GroupPendingInstances
GroupStandbyInstances
GroupTerminatingInstances
GroupTotalInstances
metric
- One of the following metrics:
GroupMinSize
GroupMaxSize
GroupDesiredCapacity
GroupInServiceInstances
GroupPendingInstances
GroupStandbyInstances
GroupTerminatingInstances
GroupTotalInstances
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public MetricCollectionType clone()
clone
in class java.lang.Object