@node_affinity.setter<EOL><INDENT>def node_affinity(self, node_affinity):<DEDENT>
self._node_affinity = node_affinity<EOL>
Sets the node_affinity of this V1PersistentVolumeSpec.
NodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume.

:param node_affinity: The node_affinity of this V1PersistentVolumeSpec.
:type: V1VolumeNodeAffinity