Interface AlertBuilder


public interface AlertBuilder
  • Method Details

    • build

      @Nonnull Alert build()
      Builds the alert
      Returns:
      the alert
    • details

      @Nonnull AlertBuilder details(@Nullable Object details)
      Parameters:
      details - alert details
      Returns:
      the builder
    • detailsAsJson

      @Nonnull AlertBuilder detailsAsJson(@Nullable String json)
      Parameters:
      json - JSON representation of the alert details
      Returns:
      the builder
    • timestamp

      @Nonnull AlertBuilder timestamp(@Nonnull Instant timestamp)
      Parameters:
      timestamp - the alert timestamp
      Returns:
      the builder
    • trigger

      @Nonnull AlertBuilder trigger(@Nullable AlertTrigger trigger)
      Parameters:
      trigger - the alert trigger
      Returns:
      the builder