|
|||||||
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(java.lang.Object obj)
|
java.lang.String |
getGranularity()
The granularity of the enabled metric. |
java.lang.String |
getMetric()
The name of the enabled metric. |
int |
hashCode()
|
void |
setGranularity(java.lang.String granularity)
The granularity of the enabled metric. |
void |
setMetric(java.lang.String metric)
The name of the enabled metric. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
EnabledMetric |
withGranularity(java.lang.String granularity)
The granularity of the enabled metric. |
EnabledMetric |
withMetric(java.lang.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 java.lang.String getMetric()
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setMetric(java.lang.String metric)
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
metric
- The name of the enabled metric.public EnabledMetric withMetric(java.lang.String metric)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
metric
- The name of the enabled metric.
public java.lang.String getGranularity()
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setGranularity(java.lang.String granularity)
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
granularity
- The granularity of the enabled metric.public EnabledMetric withGranularity(java.lang.String granularity)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
granularity
- The granularity of the enabled metric.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |