Class Notification


  • @Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
               date="2022-08-18T19:29:52.275-07:00")
    public class Notification
    extends Object
    A notification for an event
    • Constructor Detail

      • Notification

        public Notification()
    • Method Detail

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

        public int hashCode()
        Overrides:
        hashCode in class Object