|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.cloudera.api.model.ApiMetricSchema
public class ApiMetricSchema
A metric schema represents the schema for a specific metric monitored by the Cloudera Management Services.
Constructor Summary | |
---|---|
ApiMetricSchema()
|
|
ApiMetricSchema(String name,
String displayName,
String description,
boolean isCounter,
String unitNumerator,
String unitDenominator,
List<String> aliases,
Map<String,List<String>> sources)
|
Method Summary | |
---|---|
List<String> |
getAliases()
Aliases for the metric. |
String |
getDescription()
Description of the metric. |
String |
getDisplayName()
Display name of the metric. |
boolean |
getIsCounter()
Is the metric a counter. |
String |
getName()
Name of the metric. |
Map<String,List<String>> |
getSources()
Sources for the metric. |
String |
getUnitDenominator()
Denominator for the unit of the metric. |
String |
getUnitNumerator()
Numerator for the unit of the metric. |
void |
setAliases(List<String> aliases)
|
void |
setDescription(String description)
|
void |
setDisplayName(String displayName)
|
void |
setIsCounter(boolean isCounter)
|
void |
setName(String name)
|
void |
setSources(Map<String,List<String>> sources)
|
void |
setUnitDenominator(String unitDenominator)
|
void |
setUnitNumerator(String unitNumerator)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ApiMetricSchema()
public ApiMetricSchema(String name, String displayName, String description, boolean isCounter, String unitNumerator, String unitDenominator, List<String> aliases, Map<String,List<String>> sources)
Method Detail |
---|
public String getName()
public void setName(String name)
public String getDisplayName()
public void setDisplayName(String displayName)
public String getDescription()
public void setDescription(String description)
public boolean getIsCounter()
public void setIsCounter(boolean isCounter)
public String getUnitNumerator()
public void setUnitNumerator(String unitNumerator)
public String getUnitDenominator()
public void setUnitDenominator(String unitDenominator)
public List<String> getAliases()
public void setAliases(List<String> aliases)
public Map<String,List<String>> getSources()
public void setSources(Map<String,List<String>> sources)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |