Class ConfiguredKpi


  • @Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
               date="2024-03-13T13:08:48.887-07:00")
    public class ConfiguredKpi
    extends Object
    An instantiated KPI specifying a metric on which to alert
    • Constructor Detail

      • ConfiguredKpi

        public ConfiguredKpi()
    • Method Detail

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

        public int hashCode()
        Overrides:
        hashCode in class Object