Class Notification

java.lang.Object
com.cloudera.cdp.df.model.Notification

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-09-27T08:40:28.348-07:00") public class Notification extends Object
A notification for an event
  • Constructor Details

    • Notification

      public Notification()
  • Method Details

    • getName

      public String getName()
      Getter for name. The name of the notification
    • setName

      public void setName(String name)
      Setter for name. The name of the notification
    • getDescription

      public String getDescription()
      Getter for description. The description of the notification
    • setDescription

      public void setDescription(String description)
      Setter for description. The description of the notification
    • getSeverity

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

      public void setSeverity(String severity)
      Setter for severity. The severity of the notification
    • getReferenceId

      public String getReferenceId()
      Getter for referenceId. The id of the component referenced by this notification
    • setReferenceId

      public void setReferenceId(String referenceId)
      Setter for referenceId. The id of the component referenced by this notification
    • getReferenceType

      public String getReferenceType()
      Getter for referenceType. The type of component referenced by this notification
    • setReferenceType

      public void setReferenceType(String referenceType)
      Setter for referenceType. The type of component referenced by this notification
    • getUsername

      public String getUsername()
      Getter for username. The user associated with the notification
    • setUsername

      public void setUsername(String username)
      Setter for username. The user associated with the notification
    • getEventId

      public String getEventId()
      Getter for eventId. The id of the event that triggered this notification
    • setEventId

      public void setEventId(String eventId)
      Setter for eventId. The id of the event that triggered this notification
    • getTimestamp

      public Long getTimestamp()
      Getter for timestamp. The timestamp of the event that triggered this notification
    • setTimestamp

      public void setTimestamp(Long timestamp)
      Setter for timestamp. The timestamp of the event that triggered this notification
    • 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