Class AbstractResourceAlertRequest

java.lang.Object
com.iland.core.web.rest.request.notification.AbstractResourceAlertRequest
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
UserEdgeResourceAlertCreateRequest, UserEdgeResourceAlertDeleteRequest, UserEdgeResourceAlertUpdateRequest, UserExtNetworkResourceAlertCreateRequest, UserExtNetworkResourceAlertDeleteRequest, UserExtNetworkResourceAlertUpdateRequest, UserVappResourceAlertCreateRequest, UserVappResourceAlertDeleteRequest, UserVappResourceAlertUpdateRequest, UserVdcResourceAlertCreateRequest, UserVdcResourceAlertDeleteRequest, UserVdcResourceAlertUpdateRequest, UserVmResourceAlertCreateRequest, UserVmResourceAlertDeleteRequest, UserVmResourceAlertUpdateRequest

public abstract class AbstractResourceAlertRequest extends Object implements Serializable
Abstract Resource Alert Request.
Author:
Nick Kasprzak
See Also:
  • Field Details

    • group

      @Since(1.0) @Expose protected String group
    • name

      @Since(1.0) @Expose protected String name
    • type

      @Since(1.0) @Expose protected String type
    • equalityRelation

      @Since(1.0) @Expose @SerializedName("equality") protected String equalityRelation
    • breachPeriod

      @Since(1.0) @Expose @SerializedName("breach") protected int breachPeriod
    • action

      @Since(1.0) @Expose protected String action
  • Constructor Details

    • AbstractResourceAlertRequest

      public AbstractResourceAlertRequest(String group, String name, String type, String equalityRelation, int breachPeriod, String action)
  • Method Details

    • getGroup

      public String getGroup()
      Get the performance counter group attached to this alert.
      Returns:
      String performance counter group
    • getName

      public String getName()
      Get the performance counter name attached to this alert.
      Returns:
      String performance counter name
    • getType

      public String getType()
      Get the performance counter type attached to this alert.
      Returns:
      String performance counter type
    • getRelation

      public String getRelation()
      Get equality relation.

      e.g. '<=' or '>='

      Returns:
      String equality relation
    • getBreachPeriod

      public int getBreachPeriod()
      Get the breach period that is required in order for the alert to be triggered.

      i.e. the number of consecutive periods in which the threshold must be met before alert is sent.

      Returns:
      breach period
    • getAction

      public String getAction()
      Get the alert action.
      Returns:
      String alert action