So in building a melee character for either the adventure path or Starfinder society the max level is 12. So I would like to focus on the playable levels 3-12. Having an awesome AC or other defenses at level 15 or 20 does not help this character.
I'm defining a tank build as a pc that can stand in melee a long time without help and keep the npcs off the ranged party members as much as possible. Its more of a defensive build than a dps build. There is enough dps in the party already.
1 Bad guys on average need to roll 15+ to hit
2 High Stamina/ HP
3 high DR or Resistances.
4 Enough melee damage to not be ignored. This is not a max melee damage build.
Class ideally soldier, solarion or exo-cortex mechanic but I'm open if there is a better option. I'm open to light, heavy or powered armor.
Due to party composition and flavor it would be ideal if is a Vesk or Ysoki but I'm open to any of the non-AA races as our GM isn't allowing any AA races at this time. However if there is an awesome AA option I may be able to swing it.
Its possible that High AC is not really possible or achievable. In that case I would rather have High DR/Resistance and Stamina to last through the fight.
I understand that many saving throws are going to be failed and accept that as likely so don't be too concerned about saving throws this is more about melee toughness and tankiness. If there is room I'm totally down for taking iron will etc but I'm more focused right now on the tankiness aspect of it.