public class ApiMetricSchema extends Object
Constructor and Description |
---|
ApiMetricSchema() |
ApiMetricSchema(String name,
String displayName,
String description,
boolean isCounter,
String unitNumerator,
String unitDenominator,
List<String> aliases,
Map<String,List<String>> sources) |
Modifier and Type | Method and Description |
---|---|
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) |
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 Map<String,List<String>> getSources()
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.