|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.services.autoscaling.model.EnabledMetric
public class EnabledMetric
The EnabledMetric data type.
| Constructor Summary | |
|---|---|
EnabledMetric()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getGranularity()
The granularity of the enabled metric. |
String |
getMetric()
The name of the enabled metric. |
int |
hashCode()
|
void |
setGranularity(String granularity)
The granularity of the enabled metric. |
void |
setMetric(String metric)
The name of the enabled metric. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
EnabledMetric |
withGranularity(String granularity)
The granularity of the enabled metric. |
EnabledMetric |
withMetric(String metric)
The name of the enabled metric. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EnabledMetric()
| Method Detail |
|---|
public String getMetric()
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
public void setMetric(String metric)
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
metric - The name of the enabled metric.public EnabledMetric 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]*
metric - The name of the enabled metric.
public String getGranularity()
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
public void setGranularity(String granularity)
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
granularity - The granularity of the enabled metric.public EnabledMetric withGranularity(String granularity)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
granularity - The granularity of the enabled metric.
public String toString()
toString in class ObjectObject.toString()public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||