NotificationsSourceAlert Class

public final class NotificationsSourceAlert
extends NotificationsSource

Alert notification source.

Constructor Summary

Constructor Description
NotificationsSourceAlert()

Creates an instance of NotificationsSourceAlert class.

Method Summary

Modifier and Type Method and Description
MinimalSeverity minimalSeverity()

Get the minimalSeverity property: Defines the minimal alert severity which will be sent as email notifications.

void validate()

Validates the instance.

NotificationsSourceAlert withMinimalSeverity(MinimalSeverity minimalSeverity)

Set the minimalSeverity property: Defines the minimal alert severity which will be sent as email notifications.

Methods inherited from NotificationsSource

Methods inherited from java.lang.Object

Constructor Details

NotificationsSourceAlert

public NotificationsSourceAlert()

Creates an instance of NotificationsSourceAlert class.

Method Details

minimalSeverity

public MinimalSeverity minimalSeverity()

Get the minimalSeverity property: Defines the minimal alert severity which will be sent as email notifications.

Returns:

the minimalSeverity value.

validate

public void validate()

Validates the instance.

Overrides:

NotificationsSourceAlert.validate()

withMinimalSeverity

public NotificationsSourceAlert withMinimalSeverity(MinimalSeverity minimalSeverity)

Set the minimalSeverity property: Defines the minimal alert severity which will be sent as email notifications.

Parameters:

minimalSeverity - the minimalSeverity value to set.

Returns:

the NotificationsSourceAlert object itself.

Applies to