Interface EventItemResponse.Builder

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