Interface ValidationError.Builder

  • Method Details

    • code

      The error code that indicates why the parameter or parameter combination is not valid. For more information about error codes, see Error codes.

      Parameters:
      code - The error code that indicates why the parameter or parameter combination is not valid. For more information about error codes, see Error codes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • message

      ValidationError.Builder message(String message)

      The error message that describes why the parameter or parameter combination is not valid. For more information about error messages, see Error codes.

      Parameters:
      message - The error message that describes why the parameter or parameter combination is not valid. For more information about error messages, see Error codes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.