Package com.cloudera.cdp.df.model
Class Event
java.lang.Object
com.cloudera.cdp.df.model.Event
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
date="2024-09-27T08:40:28.348-07:00")
public class Event
extends Object
An event
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Getter for alertType.getCrn()
Getter for crn.Getter for description.Getter for eventType.Getter for eventValue.Getter for firstOccurrence.Getter for lastOccurrence.Getter for lowerThreshold.Getter for lowerThresholdUnit.getName()
Getter for name.Getter for referenceType.Getter for severity.Getter for timeToleranceMillis.Getter for upperThreshold.Getter for upperThresholdUnit.Getter for userName.int
hashCode()
void
setAlertType
(String alertType) Setter for alertType.void
Setter for crn.void
setDescription
(String description) Setter for description.void
setEventType
(String eventType) Setter for eventType.void
setEventValue
(Double eventValue) Setter for eventValue.void
setFirstOccurrence
(Long firstOccurrence) Setter for firstOccurrence.void
setLastOccurrence
(Long lastOccurrence) Setter for lastOccurrence.void
setLowerThreshold
(Double lowerThreshold) Setter for lowerThreshold.void
setLowerThresholdUnit
(String lowerThresholdUnit) Setter for lowerThresholdUnit.void
Setter for name.void
setReferenceType
(String referenceType) Setter for referenceType.void
setSeverity
(String severity) Setter for severity.void
setTimeToleranceMillis
(Long timeToleranceMillis) Setter for timeToleranceMillis.void
setUpperThreshold
(Double upperThreshold) Setter for upperThreshold.void
setUpperThresholdUnit
(String upperThresholdUnit) Setter for upperThresholdUnit.void
setUserName
(String userName) Setter for userName.toString()
-
Constructor Details
-
Event
public Event()
-
-
Method Details
-
getCrn
Getter for crn. The CRN of the event -
setCrn
Setter for crn. The CRN of the event -
getName
Getter for name. Name of the event -
setName
Setter for name. Name of the event -
getSeverity
Getter for severity. The severity of the event -
setSeverity
Setter for severity. The severity of the event -
getEventType
Getter for eventType. The type of event that occurred -
setEventType
Setter for eventType. The type of event that occurred -
getFirstOccurrence
Getter for firstOccurrence. Timestamp of the first occurrence of this event -
setFirstOccurrence
Setter for firstOccurrence. Timestamp of the first occurrence of this event -
getReferenceType
Getter for referenceType. Type of component that is identified by the referenceId. -
setReferenceType
Setter for referenceType. Type of component that is identified by the referenceId. -
getLastOccurrence
Getter for lastOccurrence. Timestamp of the last occurrence of this event -
setLastOccurrence
Setter for lastOccurrence. Timestamp of the last occurrence of this event -
getDescription
Getter for description. Description of the event -
setDescription
Setter for description. Description of the event -
getUserName
Getter for userName. The user associated with creating the event. Null for user-agnostic events. -
setUserName
Setter for userName. The user associated with creating the event. Null for user-agnostic events. -
getEventValue
Getter for eventValue. Optional value of the event when it was triggered -
setEventValue
Setter for eventValue. Optional value of the event when it was triggered -
getLowerThreshold
Getter for lowerThreshold. Optional value of the low end of the threshold that defines the event triggering condition -
setLowerThreshold
Setter for lowerThreshold. Optional value of the low end of the threshold that defines the event triggering condition -
getUpperThreshold
Getter for upperThreshold. Optional value of the high end of the threshold that defines the event triggering condition -
setUpperThreshold
Setter for upperThreshold. Optional value of the high end of the threshold that defines the event triggering condition -
getTimeToleranceMillis
Getter for timeToleranceMillis. Optional number of milliseconds tolerated outside the threshold bounds before the event is triggered -
setTimeToleranceMillis
Setter for timeToleranceMillis. Optional number of milliseconds tolerated outside the threshold bounds before the event is triggered -
getLowerThresholdUnit
Getter for lowerThresholdUnit. Optional value of the units for the lower bound of the threshold -
setLowerThresholdUnit
Setter for lowerThresholdUnit. Optional value of the units for the lower bound of the threshold -
getUpperThresholdUnit
Getter for upperThresholdUnit. Optional value of the units for the upper bound of the threshold -
setUpperThresholdUnit
Setter for upperThresholdUnit. Optional value of the units for the upper bound of the threshold -
getAlertType
Getter for alertType. Optional value for alerts -
setAlertType
Setter for alertType. Optional value for alerts -
equals
-
hashCode
public int hashCode() -
toString
-