Class NotificationPreference

java.lang.Object
com.azure.resourcemanager.databox.models.NotificationPreference

public final class NotificationPreference extends Object
Notification preference for a job stage.
  • Constructor Details

    • NotificationPreference

      public NotificationPreference()
      Creates an instance of NotificationPreference class.
  • Method Details

    • stageName

      public NotificationStageName stageName()
      Get the stageName property: Name of the stage.
      Returns:
      the stageName value.
    • withStageName

      public NotificationPreference withStageName(NotificationStageName stageName)
      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

      public NotificationPreference withSendNotification(boolean sendNotification)
      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.