Interface TestRunEvent.Builder

  • Method Details

    • eventId

      TestRunEvent.Builder eventId(String eventId)

      The unique identifier of the event.

      Parameters:
      eventId - The unique identifier of the event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventType

      TestRunEvent.Builder eventType(String eventType)

      The type of the event, such as action_started, action_completed, or rto_recovery_detected.

      Parameters:
      eventType - The type of the event, such as action_started, action_completed, or rto_recovery_detected.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • message

      TestRunEvent.Builder message(String message)

      A human-readable description of what happened.

      Parameters:
      message - A human-readable description of what happened.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timestamp

      TestRunEvent.Builder timestamp(Instant timestamp)

      The timestamp when the event occurred.

      Parameters:
      timestamp - The timestamp when the event occurred.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attributes

      TestRunEvent.Builder attributes(Map<String,String> attributes)

      Machine-parseable key-value attributes for the event.

      Parameters:
      attributes - Machine-parseable key-value attributes for the event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.