Alan Dunbar of Northern Ireland defeated Austria's Matthias Schwab 1 up in the final of the 117th Amateur Championship at Royal Troon Golf Club in Ayrshire, Scotland.