Class UserVappResourceAlertCreateRequest

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

public class UserVappResourceAlertCreateRequest extends AbstractResourceAlertRequest
User Vapp Resource Alert Create 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

    • UserVappResourceAlertCreateRequest

      public UserVappResourceAlertCreateRequest(String group, String name, String type, String equalityRelation, int breachPeriod, long threshold, boolean cloneToChildren, boolean enabled, String action)
  • 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
    • isCloneToChildren

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

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