Class KpiUnit


  • @Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
               date="2024-03-13T13:08:48.887-07:00")
    public class KpiUnit
    extends Object
    Captures the legal units for a metric, a means to avoid large numbers either before or after a decimal point
    • Constructor Detail

      • KpiUnit

        public KpiUnit()
    • Method Detail

      • getId

        public String getId()
        Getter for id. The internal ID of the unit
      • setId

        public void setId​(String id)
        Setter for id. The internal ID of the unit
      • getLabel

        public String getLabel()
        Getter for label. The user-visible label of the unit
      • setLabel

        public void setLabel​(String label)
        Setter for label. The user-visible label of the unit
      • getFactor

        public Long getFactor()
        Getter for factor. The conversion factor to use to normalize values with this unit into a common unit
      • setFactor

        public void setFactor​(Long factor)
        Setter for factor. The conversion factor to use to normalize values with this unit into a common unit
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object