com.amazonaws.services.autoscaling.model
Class MetricCollectionType

java.lang.Object
  extended by com.amazonaws.services.autoscaling.model.MetricCollectionType

public class MetricCollectionType
extends Object

The MetricCollectionType data type.


Constructor Summary
MetricCollectionType()
           
 
Method Summary
 String getMetric()
           Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
 void setMetric(String metric)
           Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 MetricCollectionType withMetric(String metric)
           Returns a reference to this object so that method calls can be chained together.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MetricCollectionType

public MetricCollectionType()
Method Detail

getMetric

public String getMetric()

Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*

Returns:

setMetric

public void setMetric(String metric)

Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*

Parameters:
metric -

withMetric

public MetricCollectionType withMetric(String metric)

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*

Parameters:
metric -
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.