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="2025-10-28T14:00:30.597-07:00")
public class MetricUnit
extends Object
Metric unit
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGetter for abbreviation.Getter for conversionValue.Getter for displayLabel.getId()Getter for id.Getter for metricUnitType.getName()Getter for name.Getter for ordinal.inthashCode()voidsetAbbreviation(String abbreviation) Setter for abbreviation.voidsetConversionValue(Long conversionValue) Setter for conversionValue.voidsetDisplayLabel(String displayLabel) Setter for displayLabel.voidSetter for id.voidsetMetricUnitType(String metricUnitType) Setter for metricUnitType.voidSetter for name.voidsetOrdinal(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
-