[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eConnectorConfig.Builder\u003c/code\u003e class is used to construct instances of \u003ccode\u003eConnectionConfig\u003c/code\u003e for the AlloyDB JDBC connector.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for the connector is 0.2.0, and it can be accessed at the provided link.\u003c/p\u003e\n"],["\u003cp\u003eThe builder inherits from \u003ccode\u003ejava.lang.Object\u003c/code\u003e and provides methods to manage the configuration of the \u003ccode\u003eConnectionConfig\u003c/code\u003e, including setting the admin service endpoint, delegates, and Google credentials.\u003c/p\u003e\n"],["\u003cp\u003eYou can use the \u003ccode\u003ebuild()\u003c/code\u003e method to create a new \u003ccode\u003eConnectionConfig\u003c/code\u003e object after you've set all the properties with the different parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe builder offers various methods like \u003ccode\u003ewithAdminServiceEndpoint\u003c/code\u003e, \u003ccode\u003ewithDelegates\u003c/code\u003e, and several options for specifying Google credentials, such as \u003ccode\u003ewithGoogleCredentials\u003c/code\u003e, \u003ccode\u003ewithGoogleCredentialsPath\u003c/code\u003e, and \u003ccode\u003ewithGoogleCredentialsSupplier\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Class ConnectorConfig.Builder (0.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.2.0 (latest)](/java/docs/reference/alloydb-jdbc-connector/latest/com.google.cloud.alloydb.ConnectorConfig.Builder)\n- [0.1.2](/java/docs/reference/alloydb-jdbc-connector/0.1.2/com.google.cloud.alloydb.ConnectorConfig.Builder) \n\n public static class ConnectorConfig.Builder\n\nThe builder for the ConnectionConfig. \n\nInheritance\n-----------\n\n[java.lang.Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \\\u003e ConnectorConfig.Builder \n\nInherited Members\n-----------------\n\n[Object.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--) \n[Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-) \n[Object.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--) \n[Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) \n[Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--) \n[Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) \n[Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) \n[Object.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--) \n[Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) \n[Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) \n[Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)\n\nConstructors\n------------\n\n### Builder()\n\n public Builder()\n\nMethods\n-------\n\n### build()\n\n public ConnectorConfig build()\n\nBuilds a new instance of `ConnectionConfig`.\n\n### withAdminServiceEndpoint(String adminServiceEndpoint)\n\n public ConnectorConfig.Builder withAdminServiceEndpoint(String adminServiceEndpoint)\n\n### withDelegates(List\\\u003cString\\\u003e delegates)\n\n public ConnectorConfig.Builder withDelegates(List\u003cString\u003e delegates)\n\n### withGoogleCredentials(GoogleCredentials googleCredentials)\n\n public ConnectorConfig.Builder withGoogleCredentials(GoogleCredentials googleCredentials)\n\n### withGoogleCredentialsPath(String googleCredentialsPath)\n\n public ConnectorConfig.Builder withGoogleCredentialsPath(String googleCredentialsPath)\n\n### withGoogleCredentialsSupplier(Supplier\\\u003cGoogleCredentials\\\u003e googleCredentialsSupplier)\n\n public ConnectorConfig.Builder withGoogleCredentialsSupplier(Supplier\u003cGoogleCredentials\u003e googleCredentialsSupplier)\n\n### withTargetPrincipal(String targetPrincipal)\n\n public ConnectorConfig.Builder withTargetPrincipal(String targetPrincipal)"]]