@port.setter<EOL><INDENT>def port(self, port):<DEDENT>
self._port = port<EOL>
Sets the port of this V1beta1NetworkPolicyPort.
If specified, the port on the given protocol.  This can either be a numerical or named port on a pod.  If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched.

:param port: The port of this V1beta1NetworkPolicyPort.
:type: object