Class NotificationPreference
java.lang.Object
com.azure.resourcemanager.databox.models.NotificationPreference
Notification preference for a job stage.
-
Constructor Summary
ConstructorDescriptionCreates an instance of NotificationPreference class. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Get the sendNotification property: Notification is required or not.Get the stageName property: Name of the stage.void
validate()
Validates the instance.withSendNotification
(boolean sendNotification) Set the sendNotification property: Notification is required or not.withStageName
(NotificationStageName stageName) Set the stageName property: Name of the stage.
-
Constructor Details
-
NotificationPreference
public NotificationPreference()Creates an instance of NotificationPreference class.
-
-
Method Details
-
stageName
Get the stageName property: Name of the stage.- Returns:
- the stageName value.
-
withStageName
Set the stageName property: Name of the stage.- Parameters:
stageName
- the stageName value to set.- Returns:
- the NotificationPreference object itself.
-
sendNotification
public boolean sendNotification()Get the sendNotification property: Notification is required or not.- Returns:
- the sendNotification value.
-
withSendNotification
Set the sendNotification property: Notification is required or not.- Parameters:
sendNotification
- the sendNotification value to set.- Returns:
- the NotificationPreference object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-