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 Details

    • MetricUnit

      public MetricUnit()
  • Method Details

    • 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)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object