Class EventBodyResponse.EventBodyResponseBuilder

  • Enclosing class:
    EventBodyResponse

    public static class EventBodyResponse.EventBodyResponseBuilder
    extends java.lang.Object
    • Method Detail

      • message

        public EventBodyResponse.EventBodyResponseBuilder message​(java.lang.String message)
        This message should be set if something goes wrong. It should typically describe what went wrong, for example a stack trace or an error message.
        Returns:
        this.
      • statusCode

        public EventBodyResponse.EventBodyResponseBuilder statusCode​(java.lang.String statusCode)
        This status code should be set to some code that can be used to trace the origin of the error in the back end system.
        Returns:
        this.
      • problems

        public EventBodyResponse.EventBodyResponseBuilder problems​(java.util.List<org.springframework.beans.factory.parsing.Problem> problems)
        Shows the problems the system has found when processing this event's request.
        Returns:
        this.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object