public NetworkPolicyPort build() {
            final var _resultValue = new NetworkPolicyPort();
            _resultValue.port = port;
            _resultValue.protocol = protocol;
            return _resultValue;
        }
@return Optional.  The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP.
sdk/java/src/main/java/com/pulumi/kubernetes/extensions/v1beta1/outputs/NetworkPolicyPort.java