Configuration of objects is typically done by accessing an object's public API to change the values of member variables. That is no different in ns-3 but the design tries to ease this for users with the following techniques.