Well, ultimatums are useless unless you are willing to follow through with the "or"......
In other words, are you telling him this in an effort to force him, manipulate him into changing, or are you truly telling him what the choices are and what the consequences will be.
"I need X, Y, and Z in order to continue on in this marriage. If that does not happen, then I will A, B, and C." Are you prepared for the A, B, and C......?
If yes, then it is not a bad thing, just a boundary for yourself that has been enforced.
Hugs, HG