Interface EventPayload.Builder

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

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

    • contentType

      EventPayload.Builder contentType(String contentType)

      The type of content in the event payload.

      Parameters:
      contentType - The type of content in the event payload.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • data

      The data included in the event payload.

      Parameters:
      data - The data included in the event payload.
      Returns:
      Returns a reference to this object so that method calls can be chained together.