Class KpiUnit

java.lang.Object
com.cloudera.cdp.dfworkload.model.KpiUnit

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-09-27T08:40:28.696-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 Details

    • KpiUnit

      public KpiUnit()
  • Method Details

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