Class UserVappResourceAlertResponse

java.lang.Object
com.iland.core.web.rest.response.notification.AbstractResourceAlertResponse
com.iland.core.web.rest.response.notification.UserVappResourceAlertResponse
All Implemented Interfaces:
Serializable

public class UserVappResourceAlertResponse extends AbstractResourceAlertResponse
User Vapp Resource Alert Response.
Author:
Nick Kasprzak
See Also:
  • Field Details

    • threshold

      @Since(1.0) @Expose protected long threshold
  • Constructor Details

    • UserVappResourceAlertResponse

      public UserVappResourceAlertResponse(String group, String name, String type, String username, String action, String equalityRelation, boolean enabled, int breachPeriod, String vappUuid, long threshold, boolean cloneToChildren)
  • Method Details

    • getVappUuid

      public String getVappUuid()
      Get the Vapp uuid attached to this alert.
      Returns:
      String vapp uuid
    • getThreshold

      public long getThreshold()
      Get the alerting threshold at which the user wants to receive alerts for the counter specified by group, name and type.
      Returns:
      alerting threshold
    • isCloneToChildren

      public boolean isCloneToChildren()
      Whether the alert should be cloned to child VMs.
      Returns:
      is clone to children
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class AbstractResourceAlertResponse
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class AbstractResourceAlertResponse
    • toString

      public String toString()
      Overrides:
      toString in class AbstractResourceAlertResponse