public Builder port(@Nullable Output<Either<Integer,String>> port) {
            $.port = port;
            return this;
        }
@param port port represents 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.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/networking/v1/inputs/NetworkPolicyPortPatchArgs.java