@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MetricCollectionType extends Object implements Serializable, Cloneable
Describes a metric.
| Constructor and Description | 
|---|
MetricCollectionType()  | 
| Modifier and Type | Method and Description | 
|---|---|
MetricCollectionType | 
clone()  | 
boolean | 
equals(Object obj)  | 
String | 
getMetric()
 One of the following metrics: 
 | 
int | 
hashCode()  | 
void | 
setMetric(String metric)
 One of the following metrics: 
 | 
String | 
toString()
Returns a string representation of this object; useful for testing and debugging. 
 | 
MetricCollectionType | 
withMetric(String metric)
 One of the following metrics: 
 | 
public void setMetric(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 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(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 String toString()
toString in class ObjectObject.toString()public MetricCollectionType clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.