Interface AlarmNotification.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AlarmNotification.Builder,AlarmNotification>, SdkBuilder<AlarmNotification.Builder,AlarmNotification>, SdkPojo
Enclosing class:
AlarmNotification

public static interface AlarmNotification.Builder extends SdkPojo, CopyableBuilder<AlarmNotification.Builder,AlarmNotification>
  • Method Details

    • notificationActions

      AlarmNotification.Builder notificationActions(Collection<NotificationAction> notificationActions)

      Contains the notification settings of an alarm model. The settings apply to all alarms that were created based on this alarm model.

      Parameters:
      notificationActions - Contains the notification settings of an alarm model. The settings apply to all alarms that were created based on this alarm model.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • notificationActions

      AlarmNotification.Builder notificationActions(NotificationAction... notificationActions)

      Contains the notification settings of an alarm model. The settings apply to all alarms that were created based on this alarm model.

      Parameters:
      notificationActions - Contains the notification settings of an alarm model. The settings apply to all alarms that were created based on this alarm model.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • notificationActions

      AlarmNotification.Builder notificationActions(Consumer<NotificationAction.Builder>... notificationActions)

      Contains the notification settings of an alarm model. The settings apply to all alarms that were created based on this alarm model.

      This is a convenience method that creates an instance of the NotificationAction.Builder avoiding the need to create one manually via NotificationAction.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to notificationActions(List<NotificationAction>).

      Parameters:
      notificationActions - a consumer that will call methods on NotificationAction.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: