com.amazonaws.services.autoscaling.model
Class MetricGranularityType

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

public class MetricGranularityType
extends Object

The MetricGranularityType data type.


Constructor Summary
MetricGranularityType()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getGranularity()
          The granularity of a Metric.
 int hashCode()
           
 void setGranularity(String granularity)
          The granularity of a Metric.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 MetricGranularityType withGranularity(String granularity)
          The granularity of a Metric.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MetricGranularityType

public MetricGranularityType()
Method Detail

getGranularity

public String getGranularity()
The granularity of a Metric.

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Returns:
The granularity of a Metric.

setGranularity

public void setGranularity(String granularity)
The granularity of a Metric.

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
granularity - The granularity of a Metric.

withGranularity

public MetricGranularityType withGranularity(String granularity)
The granularity of a Metric.

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

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
granularity - The granularity of a 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.