Interface EventItemResponse.Builder

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

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

    • message

      A custom message that's returned in the response as a result of processing the event.

      Parameters:
      message - A custom message that's returned in the response as a result of processing the event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statusCode

      EventItemResponse.Builder statusCode(Integer statusCode)

      The status code that's returned in the response as a result of processing the event. Possible values are: 202, for events that were accepted; and, 400, for events that weren't valid.

      Parameters:
      statusCode - The status code that's returned in the response as a result of processing the event. Possible values are: 202, for events that were accepted; and, 400, for events that weren't valid.
      Returns:
      Returns a reference to this object so that method calls can be chained together.