public NetworkPolicyPortPatch build() {
            final var _resultValue = new NetworkPolicyPortPatch();
            _resultValue.endPort = endPort;
            _resultValue.port = port;
            _resultValue.protocol = protocol;
            return _resultValue;
        }
@return protocol represents 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/networking/v1/outputs/NetworkPolicyPortPatch.java