Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.autoscaling.model
Class MetricGranularityType

java.lang.Object
  extended by com.amazonaws.services.autoscaling.model.MetricGranularityType
All Implemented Interfaces:
java.io.Serializable

public class MetricGranularityType
extends java.lang.Object
implements java.io.Serializable

The MetricGranularityType data type.

See Also:
Serialized Form

Constructor Summary
MetricGranularityType()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getGranularity()
          The granularity of a Metric.
 int hashCode()
           
 void setGranularity(java.lang.String granularity)
          The granularity of a Metric.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 MetricGranularityType withGranularity(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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