public Optional<String> kubeconfig() {
        return Codegen.stringProp("kubeconfig").config(config).get();
    }
The contents of a kubeconfig file or the path to a kubeconfig file. If this is set, this config will be used instead of $KUBECONFIG.
sdk/java/src/main/java/com/pulumi/kubernetes/Config.java