Class UserVappResourceAlertResponse
java.lang.Object
com.iland.core.web.rest.response.notification.AbstractResourceAlertResponse
com.iland.core.web.rest.response.notification.UserVappResourceAlertResponse
- All Implemented Interfaces:
Serializable
User Vapp Resource Alert Response.
- Author:
- Nick Kasprzak
- See Also:
-
Field Summary
FieldsFields inherited from class com.iland.core.web.rest.response.notification.AbstractResourceAlertResponse
action, breachPeriod, enabled, equalityRelation, group, name, type, username -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.iland.core.web.rest.response.notification.AbstractResourceAlertResponse
getAction, getBreachPeriod, getGroup, getName, getRelation, getType, getUsername, isEnabled, toStringHelper
-
Field Details
-
threshold
@Since(1.0) @Expose protected long threshold
-
-
Constructor Details
-
UserVappResourceAlertResponse
-
-
Method Details
-
getVappUuid
Get the Vapp uuid attached to this alert.- Returns:
Stringvapp uuid
-
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
-
equals
- Overrides:
equalsin classAbstractResourceAlertResponse
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractResourceAlertResponse
-
toString
- Overrides:
toStringin classAbstractResourceAlertResponse
-