Class KpiUnit
- java.lang.Object
-
- com.cloudera.cdp.dfworkload.model.KpiUnit
-
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2023-09-14T10:47:19.979-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 Summary
Constructors Constructor Description KpiUnit()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Long
getFactor()
Getter for factor.String
getId()
Getter for id.String
getLabel()
Getter for label.int
hashCode()
void
setFactor(Long factor)
Setter for factor.void
setId(String id)
Setter for id.void
setLabel(String label)
Setter for label.String
toString()
-
-
-
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
-
-