Class UserVmResourceAlertCreateRequest
java.lang.Object
com.iland.core.web.rest.request.notification.AbstractResourceAlertRequest
com.iland.core.web.rest.request.notification.UserVmResourceAlertCreateRequest
- All Implemented Interfaces:
Serializable
User Vm Resource Alert Create Request.
- Author:
- Nick Kasprzak
- See Also:
-
Field Summary
FieldsFields inherited from class com.iland.core.web.rest.request.notification.AbstractResourceAlertRequest
action, breachPeriod, equalityRelation, group, name, type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongGet the alerting threshold at which the user wants to receive alerts for the counter specified by group, name and type.booleanGet whether the alert is enabled.Methods inherited from class com.iland.core.web.rest.request.notification.AbstractResourceAlertRequest
getAction, getBreachPeriod, getGroup, getName, getRelation, getType
-
Field Details
-
threshold
@Since(1.0) @Expose protected long threshold -
enabled
@Since(1.0) @Expose protected boolean enabled
-
-
Constructor Details
-
UserVmResourceAlertCreateRequest
-
-
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
-