public class EnabledMetric extends Object implements Serializable
The EnabledMetric
data type.
Constructor and Description |
---|
EnabledMetric() |
Modifier and Type | Method and Description |
---|---|
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.
|
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 Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.