Class Event


  • @Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
               date="2024-03-13T13:08:48.582-07:00")
    public class Event
    extends Object
    An event
    • Constructor Detail

      • Event

        public Event()
    • Method Detail

      • getCrn

        public String getCrn()
        Getter for crn. The CRN of the event
      • setCrn

        public void setCrn​(String crn)
        Setter for crn. The CRN of the event
      • getName

        public String getName()
        Getter for name. Name of the event
      • setName

        public void setName​(String name)
        Setter for name. Name of the event
      • getSeverity

        public String getSeverity()
        Getter for severity. The severity of the event
      • setSeverity

        public void setSeverity​(String severity)
        Setter for severity. The severity of the event
      • getEventType

        public String getEventType()
        Getter for eventType. The type of event that occurred
      • setEventType

        public void setEventType​(String eventType)
        Setter for eventType. The type of event that occurred
      • getFirstOccurrence

        public Long getFirstOccurrence()
        Getter for firstOccurrence. Timestamp of the first occurrence of this event
      • setFirstOccurrence

        public void setFirstOccurrence​(Long firstOccurrence)
        Setter for firstOccurrence. Timestamp of the first occurrence of this event
      • getReferenceType

        public String getReferenceType()
        Getter for referenceType. Type of component that is identified by the referenceId.
      • setReferenceType

        public void setReferenceType​(String referenceType)
        Setter for referenceType. Type of component that is identified by the referenceId.
      • getLastOccurrence

        public Long getLastOccurrence()
        Getter for lastOccurrence. Timestamp of the last occurrence of this event
      • setLastOccurrence

        public void setLastOccurrence​(Long lastOccurrence)
        Setter for lastOccurrence. Timestamp of the last occurrence of this event
      • getDescription

        public String getDescription()
        Getter for description. Description of the event
      • setDescription

        public void setDescription​(String description)
        Setter for description. Description of the event
      • getUserName

        public String getUserName()
        Getter for userName. The user associated with creating the event. Null for user-agnostic events.
      • setUserName

        public void setUserName​(String userName)
        Setter for userName. The user associated with creating the event. Null for user-agnostic events.
      • getEventValue

        public Double getEventValue()
        Getter for eventValue. Optional value of the event when it was triggered
      • setEventValue

        public void setEventValue​(Double eventValue)
        Setter for eventValue. Optional value of the event when it was triggered
      • getLowerThreshold

        public Double getLowerThreshold()
        Getter for lowerThreshold. Optional value of the low end of the threshold that defines the event triggering condition
      • setLowerThreshold

        public void setLowerThreshold​(Double lowerThreshold)
        Setter for lowerThreshold. Optional value of the low end of the threshold that defines the event triggering condition
      • getUpperThreshold

        public Double getUpperThreshold()
        Getter for upperThreshold. Optional value of the high end of the threshold that defines the event triggering condition
      • setUpperThreshold

        public void setUpperThreshold​(Double upperThreshold)
        Setter for upperThreshold. Optional value of the high end of the threshold that defines the event triggering condition
      • getTimeToleranceMillis

        public Long getTimeToleranceMillis()
        Getter for timeToleranceMillis. Optional number of milliseconds tolerated outside the threshold bounds before the event is triggered
      • setTimeToleranceMillis

        public void setTimeToleranceMillis​(Long timeToleranceMillis)
        Setter for timeToleranceMillis. Optional number of milliseconds tolerated outside the threshold bounds before the event is triggered
      • getLowerThresholdUnit

        public String getLowerThresholdUnit()
        Getter for lowerThresholdUnit. Optional value of the units for the lower bound of the threshold
      • setLowerThresholdUnit

        public void setLowerThresholdUnit​(String lowerThresholdUnit)
        Setter for lowerThresholdUnit. Optional value of the units for the lower bound of the threshold
      • getUpperThresholdUnit

        public String getUpperThresholdUnit()
        Getter for upperThresholdUnit. Optional value of the units for the upper bound of the threshold
      • setUpperThresholdUnit

        public void setUpperThresholdUnit​(String upperThresholdUnit)
        Setter for upperThresholdUnit. Optional value of the units for the upper bound of the threshold
      • getAlertType

        public String getAlertType()
        Getter for alertType. Optional value for alerts
      • setAlertType

        public void setAlertType​(String alertType)
        Setter for alertType. Optional value for alerts
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object