Interface ServiceEvent.Builder

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

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

    • 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.