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="2023-09-27T13:27:54.329-07:00") public class MetricUnit extends Object
Metric unit
-
-
Constructor Summary
Constructors Constructor Description MetricUnit()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getAbbreviation()
Getter for abbreviation.Long
getConversionValue()
Getter for conversionValue.String
getDisplayLabel()
Getter for displayLabel.String
getId()
Getter for id.String
getMetricUnitType()
Getter for metricUnitType.String
getName()
Getter for name.Integer
getOrdinal()
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
setId(String id)
Setter for id.void
setMetricUnitType(String metricUnitType)
Setter for metricUnitType.void
setName(String name)
Setter for name.void
setOrdinal(Integer ordinal)
Setter for ordinal.String
toString()
-
-
-
Method Detail
-
getId
public String getId()
Getter for id. Id of the metric unit
-
setId
public void setId(String id)
Setter for id. Id of the metric unit
-
getName
public String getName()
Getter for name. Name of the unit
-
setName
public void setName(String name)
Setter for name. Name of the unit
-
getDisplayLabel
public String getDisplayLabel()
Getter for displayLabel. display label for the unit
-
setDisplayLabel
public void setDisplayLabel(String displayLabel)
Setter for displayLabel. display label for the unit
-
getAbbreviation
public String getAbbreviation()
Getter for abbreviation. abbreviation used for this unit
-
setAbbreviation
public void setAbbreviation(String abbreviation)
Setter for abbreviation. abbreviation used for this unit
-
getOrdinal
public Integer getOrdinal()
Getter for ordinal. ordinal used when positioning the unit in a list (sort order)
-
setOrdinal
public void setOrdinal(Integer ordinal)
Setter for ordinal. ordinal used when positioning the unit in a list (sort order)
-
getConversionValue
public Long getConversionValue()
Getter for conversionValue. conversion value to use when converting between units
-
setConversionValue
public void setConversionValue(Long conversionValue)
Setter for conversionValue. conversion value to use when converting between units
-
getMetricUnitType
public String getMetricUnitType()
Getter for metricUnitType. type of unit (DURATION, RATIO, SIZE, RATE, COUNT)
-
setMetricUnitType
public void setMetricUnitType(String metricUnitType)
Setter for metricUnitType. type of unit (DURATION, RATIO, SIZE, RATE, COUNT)
-
-