Class ErrorResponse.Builder

java.lang.Object
com.sportradar.mbs.sdk.entities.response.ErrorResponse.Builder
Enclosing class:
ErrorResponse

public static class ErrorResponse.Builder extends Object
Builder class for ErrorResponse.
  • Method Details

    • build

      public ErrorResponse build()
      Builds the ErrorResponse instance.
      Returns:
      The built ErrorResponse instance.
    • setErrorMessage

      public ErrorResponse.Builder setErrorMessage(String value)
      Sets the error message.
      Parameters:
      value - The error message to set.
      Returns:
      The Builder instance.
    • setErrorCode

      public ErrorResponse.Builder setErrorCode(int value)
      Sets the error code.
      Parameters:
      value - The error code to set.
      Returns:
      The Builder instance.