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
Abstract Resource Alert Request.
- Author:
- Nick Kasprzak
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the alert action.intGet the breach period that is required in order for the alert to be triggered.getGroup()Get the performance counter group attached to this alert.getName()Get the performance counter name attached to this alert.Get equality relation.getType()Get the performance counter type attached to this alert.
-
Field Details
-
group
-
name
-
type
-
equalityRelation
-
breachPeriod
@Since(1.0) @Expose @SerializedName("breach") protected int breachPeriod -
action
-
-
Constructor Details
-
AbstractResourceAlertRequest
-
-
Method Details
-
getGroup
Get the performance counter group attached to this alert.- Returns:
Stringperformance counter group
-
getName
Get the performance counter name attached to this alert.- Returns:
Stringperformance counter name
-
getType
Get the performance counter type attached to this alert.- Returns:
Stringperformance counter type
-
getRelation
Get equality relation.e.g. '<=' or '>='
- Returns:
Stringequality 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
Get the alert action.- Returns:
Stringalert action
-