I tried to find out which API and configuration objects are used to configure this, but I'm afraid that I couldn't find it.
These Nexus related objects are afaik not documented.
I have the impression that an important part of the Nexus config is done through the vendor "blobs".
Sorry I couldn't help you here.