Package com.cloudera.cdp.df.model
Class MetricUnit
java.lang.Object
com.cloudera.cdp.df.model.MetricUnit
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
date="2024-09-27T08:40:28.348-07:00")
public class MetricUnit
extends Object
Metric unit
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Getter for abbreviation.Getter for conversionValue.Getter for displayLabel.getId()
Getter for id.Getter for metricUnitType.getName()
Getter for name.Getter for ordinal.int
hashCode()
void
setAbbreviation
(String abbreviation) Setter for abbreviation.void
setConversionValue
(Long conversionValue) Setter for conversionValue.void
setDisplayLabel
(String displayLabel) Setter for displayLabel.void
Setter for id.void
setMetricUnitType
(String metricUnitType) Setter for metricUnitType.void
Setter for name.void
setOrdinal
(Integer ordinal) Setter for ordinal.toString()
-
Constructor Details
-
MetricUnit
public MetricUnit()
-
-
Method Details
-
getId
Getter for id. Id of the metric unit -
setId
Setter for id. Id of the metric unit -
getName
Getter for name. Name of the unit -
setName
Setter for name. Name of the unit -
getDisplayLabel
Getter for displayLabel. display label for the unit -
setDisplayLabel
Setter for displayLabel. display label for the unit -
getAbbreviation
Getter for abbreviation. abbreviation used for this unit -
setAbbreviation
Setter for abbreviation. abbreviation used for this unit -
getOrdinal
Getter for ordinal. ordinal used when positioning the unit in a list (sort order) -
setOrdinal
Setter for ordinal. ordinal used when positioning the unit in a list (sort order) -
getConversionValue
Getter for conversionValue. conversion value to use when converting between units -
setConversionValue
Setter for conversionValue. conversion value to use when converting between units -
getMetricUnitType
Getter for metricUnitType. type of unit (DURATION, RATIO, SIZE, RATE, COUNT) -
setMetricUnitType
Setter for metricUnitType. type of unit (DURATION, RATIO, SIZE, RATE, COUNT) -
equals
-
hashCode
public int hashCode() -
toString
-