Class UserVmResourceAlertUpdateRequest

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

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

    • threshold

      @Since(1.0) @Expose protected long threshold
    • enabled

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

    • UserVmResourceAlertUpdateRequest

      public UserVmResourceAlertUpdateRequest(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()
      Get whether the alert is enabled.
      Returns:
      enabled