Class UserVdcResourceAlertUpdateRequest

java.lang.Object
com.iland.core.web.rest.request.notification.AbstractResourceAlertRequest
com.iland.core.web.rest.request.notification.UserVdcResourceAlertUpdateRequest
All Implemented Interfaces:
Serializable

public class UserVdcResourceAlertUpdateRequest extends AbstractResourceAlertRequest
User Vdc Resource Alert Update Request.
Author:
Nick Kasprzak
See Also:
  • Field Details

    • enabled

      @Since(1.0) @Expose protected boolean enabled
  • Constructor Details

    • UserVdcResourceAlertUpdateRequest

      public UserVdcResourceAlertUpdateRequest(String group, String name, String type, String action, String equalityRelation, boolean enabled, int breachPeriod, long threshold)
  • Method Details

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

      public boolean isEnabled()
      Set whether the alert is enabled.
      Returns:
      enabled