Package com.iland.core.api.notification
Class Alert
java.lang.Object
com.iland.core.api.notification.Alert
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AdvancedBackupsAlertTrigger,AntimalwarelAlert,BurstSummaryAlert,CloudTenantAlert,CohesityContinuityStorageAlertTrigger,FirewallAlert,InitialBurstAlert,IntegrityAlert,IntrusionProtectionAlert,LogInspectionAlert,NearBurstAlert,ObjectStorageAlert,VappPowerStatusAlert,VdcOverConfiguredAlert,VmPowerStatusAlert,VulnerabilityAlert,WebReputationAlert
Alert.
- Author:
- Brett Snyder
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAlert(String username, AlertDeliverySpec deliverySpec, boolean enabled, AlertType type) Alert(String uuid, String username, AlertDeliverySpec deliverySpec, boolean enabled, AlertType type) -
Method Summary
-
Field Details
-
ALERT_UUID_PREFIX
- See Also:
-
-
Constructor Details
-
Alert
-
Alert
public Alert(String uuid, String username, AlertDeliverySpec deliverySpec, boolean enabled, AlertType type)
-
-
Method Details
-
getDeliverySpec
Get the delivery spec.- Returns:
AlertDeliverySpecdelivery spec
-
getUsername
Get the username.- Returns:
Stringusername
-
isEnabled
public boolean isEnabled()Set whether the alert is enabled.- Returns:
- enabled
-
getType
Get the alert type- Returns:
- type of alert
-
getUuid
Get the uuid.- Returns:
- uuid
-
getEntityUuid
Get the entity's uuid.- Returns:
- entity uuid
-
equals
-
hashCode
public int hashCode()
-