It's not a major, it's a minor. The relative minor of B major is G# minor.
The notes in a B major triad are B, D# and F#. The notes in a Bb major triad are Bb, D and F.
If you mean the 4th diatonic chord of B Major the answer is E major, B, C#, D#, E and when the triad is built it comes out as E-G#-B
In order to change a major (M) triad to a Minor (m) triad, simply lower the middle note a half step. For example, if you have the CM triad, you have Root (the bottom note): C 3rd (the middle note): E...
I think its all 5 of them?