Class ConfiguredKpi

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

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-09-27T08:40:28.696-07:00") public class ConfiguredKpi extends Object
An instantiated KPI specifying a metric on which to alert
  • Constructor Details

    • ConfiguredKpi

      public ConfiguredKpi()
  • Method Details

    • getMetricId

      public String getMetricId()
      Getter for metricId. The id of the associated metric
    • setMetricId

      public void setMetricId(String metricId)
      Setter for metricId. The id of the associated metric
    • getId

      public String getId()
      Getter for id. The id of the KPI; used only when viewing and editing existing KPIs
    • setId

      public void setId(String id)
      Setter for id. The id of the KPI; used only when viewing and editing existing KPIs
    • getMetricComponentType

      public String getMetricComponentType()
      Getter for metricComponentType. The component type of the associated metric
    • setMetricComponentType

      public void setMetricComponentType(String metricComponentType)
      Setter for metricComponentType. The component type of the associated metric
    • getAlert

      public ConfiguredAlert getAlert()
      Getter for alert. The alert specification for the associated metric
    • setAlert

      public void setAlert(ConfiguredAlert alert)
      Setter for alert. The alert specification for the associated metric
    • getComponentId

      public String getComponentId()
      Getter for componentId. The optional process group ID, processor ID, or connection ID. This is a composite ID containing a chain of process group IDs representing the component's full ancestry
    • setComponentId

      public void setComponentId(String componentId)
      Setter for componentId. The optional process group ID, processor ID, or connection ID. This is a composite ID containing a chain of process group IDs representing the component's full ancestry
    • 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