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
 boolean equals(Object obj)
           
 String getMetric()
           Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*
 int hashCode()
           
 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
getClass, 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()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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