Interface ServiceEvent.Builder

    • Method Detail

      • id

        ServiceEvent.Builder id​(String id)

        The ID string for the event.

        Parameters:
        id - The ID string for the event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdAt

        ServiceEvent.Builder createdAt​(Instant createdAt)

        The Unix timestamp for the time when the event was triggered.

        Parameters:
        createdAt - The Unix timestamp for the time when the event was triggered.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • message

        ServiceEvent.Builder message​(String message)

        The event message.

        Parameters:
        message - The event message.
        Returns:
        Returns a reference to this object so that method calls can be chained together.