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
User Vapp 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.booleanWhether the alert should be cloned to child VMs.booleanSet 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
-
UserVappResourceAlertCreateRequest
-
-
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
-