@affinity.setter<EOL><INDENT>def affinity(self, affinity):<DEDENT>
self._affinity = affinity<EOL>
Sets the affinity of this V1PodSpec.
If specified, the pod's scheduling constraints

:param affinity: The affinity of this V1PodSpec.
:type: V1Affinity