Class OperationNotification

    • Field Detail

      • account

        protected Account account
      • category

        protected java.lang.String category
      • eventKey

        protected java.lang.String eventKey
      • acknowledged

        protected java.lang.Boolean acknowledged
      • acknowledgedDate

        protected java.util.Date acknowledgedDate
      • acknowledgedByUser

        protected java.lang.String acknowledgedByUser
      • startDate

        protected java.util.Date startDate
      • resourceName

        protected java.lang.String resourceName
      • status

        protected java.lang.String status
      • statusMessage

        protected java.lang.String statusMessage
      • uniqueId

        protected java.lang.String uniqueId
      • refType

        protected java.lang.String refType
      • refId

        protected java.lang.Long refId
    • Constructor Detail

      • OperationNotification

        public OperationNotification()
    • Method Detail

      • getAccount

        public Account getAccount()
        The account related to this OperationNotification
        Returns:
        the Account
      • setAccount

        public void setAccount​(Account account)
        Sets the account related to this OperationNotification
        Parameters:
        account - Account
      • getCategory

        public java.lang.String getCategory()
        The category related to this OperationNotification
        Returns:
        category
      • setCategory

        public void setCategory​(java.lang.String category)
        Sets the category for this OperationNotification
        Parameters:
        category - Category
      • getEventKey

        public java.lang.String getEventKey()
        The key for this OperationNotification
        Returns:
        eventKey
      • setEventKey

        public void setEventKey​(java.lang.String eventKey)
        Sets a key for this OperationNotification. For example, the VMware alarm key
        Parameters:
        eventKey - the event key
      • getAcknowledged

        public java.lang.Boolean getAcknowledged()
        Returns if this OperationNotification has been acknowledged
        Returns:
        acknowledged
      • setAcknowledged

        public void setAcknowledged​(java.lang.Boolean acknowledged)
        Sets whether the OperationNotification has been acknowledged
        Parameters:
        acknowledged - acknowledged
      • getAcknowledgedDate

        public java.util.Date getAcknowledgedDate()
        Returns the date that this OperationNotification was acknowledged
        Returns:
        acknowledgedDate
      • setAcknowledgedDate

        public void setAcknowledgedDate​(java.util.Date acknowledgedDate)
        Sets the date that this OperationNotification was acknowledged.
        Parameters:
        acknowledgedDate - acknowledgedDate
      • getAcknowledgedByUser

        public java.lang.String getAcknowledgedByUser()
        Returns the user that acknowledged this OperationNotification
        Returns:
        acknowledgedByUser
      • setAcknowledgedByUser

        public void setAcknowledgedByUser​(java.lang.String acknowledgedByUser)
        Sets the user that acknowledged this this OperationNotification.
        Parameters:
        acknowledgedByUser - acknowledgedByUser
      • getStartDate

        public java.util.Date getStartDate()
        Returns the date that this OperationNotification started
        Returns:
        startDate
      • setStartDate

        public void setStartDate​(java.util.Date startDate)
        Sets the date that this OperationNotification started
        Parameters:
        startDate - startDate
      • getResourceName

        public java.lang.String getResourceName()
        Returns the underlying resource name for this OperationNotification
        Returns:
        resourceName
      • setResourceName

        public void setResourceName​(java.lang.String resourceName)
        Sets the underlying resource name for this OperationNotification.
        Parameters:
        resourceName - resourceName
      • getStatus

        public java.lang.String getStatus()
        Returns the status for this OperationNotification
        Returns:
        status
      • setStatus

        public void setStatus​(java.lang.String status)
        Sets the status for this OperationNotification. Should be ok, unknown, warning, or error.
        Parameters:
        status - status
      • getStatusMessage

        public java.lang.String getStatusMessage()
        Returns the status message for this OperationNotification
        Returns:
        statusMessage
      • setStatusMessage

        public void setStatusMessage​(java.lang.String statusMessage)
        Sets the status message for this OperationNotification.
        Parameters:
        statusMessage - statusMessage
      • getUniqueId

        public java.lang.String getUniqueId()
        Returns the uniqueId for this OperationNotification
        Returns:
        uniqueId
      • setUniqueId

        public void setUniqueId​(java.lang.String uniqueId)
        Sets uniqueId for the OperationNotification. Morpheus ignores this value.
        Parameters:
        uniqueId - uniqueId
      • getRefType

        public java.lang.String getRefType()
        Returns the refType for this this OperationNotification.
        Returns:
        refType
      • setRefType

        public void setRefType​(java.lang.String refType)
        Sets the refType for this OperationNotification. Set to the camelcase class name related to this OperationNotification. For example, 'computeZone', 'networkLoadBalancer', 'computeServer', 'datastore', etc
        Parameters:
        refType - refType
      • getRefId

        public java.lang.Long getRefId()
        Returns the refId for this OperationNotification
        Returns:
        refId
      • setRefId

        public void setRefId​(java.lang.Long refId)
        Sets the refId for this OperationNotification. Set to the id of the object related to this OperationNotification.
        Parameters:
        refId - refId