ConnectorConfig is an immutable configuration value object that holds the entire configuration of
a AlloyDB Connector that may be used to connect to multiple AlloyDB Instances.
[[["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\u003e\u003ccode\u003eConnectorConfig\u003c/code\u003e is an immutable configuration object used for connecting to multiple AlloyDB instances.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits properties and methods from the \u003ccode\u003eObject\u003c/code\u003e class, including \u003ccode\u003eclone\u003c/code\u003e, \u003ccode\u003eequals\u003c/code\u003e, \u003ccode\u003ehashCode\u003c/code\u003e and \u003ccode\u003etoString\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eequals(Object o)\u003c/code\u003e method overrides the parent \u003ccode\u003eObject\u003c/code\u003e class and is used to compare \u003ccode\u003eConnectorConfig\u003c/code\u003e objects, with a return of boolean.\u003c/p\u003e\n"],["\u003cp\u003eMethods such as \u003ccode\u003egetAdminServiceEndpoint\u003c/code\u003e, \u003ccode\u003egetDelegates\u003c/code\u003e, \u003ccode\u003egetGoogleCredentials\u003c/code\u003e, \u003ccode\u003egetGoogleCredentialsPath\u003c/code\u003e, \u003ccode\u003egetGoogleCredentialsSupplier\u003c/code\u003e, and \u003ccode\u003egetTargetPrincipal\u003c/code\u003e are available for retrieving configuration details.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ehashCode()\u003c/code\u003e method, which also overrides the \u003ccode\u003eObject\u003c/code\u003e class version, is used for hashing the \u003ccode\u003eConnectorConfig\u003c/code\u003e object, and returns an integer value.\u003c/p\u003e\n"]]],[],null,["# Class ConnectorConfig (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)\n- [0.1.2](/java/docs/reference/alloydb-jdbc-connector/0.1.2/com.google.cloud.alloydb.ConnectorConfig) \n\n public class ConnectorConfig\n\nConnectorConfig is an immutable configuration value object that holds the entire configuration of\na AlloyDB Connector that may be used to connect to multiple AlloyDB Instances. \n\nInheritance\n-----------\n\n[Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \\\u003e ConnectorConfig \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\nMethods\n-------\n\n### equals(Object o)\n\n public boolean equals(Object o)\n\n**Overrides** \n[Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-)\n\n### getAdminServiceEndpoint()\n\n public String getAdminServiceEndpoint()\n\n### getDelegates()\n\n public List\u003cString\u003e getDelegates()\n\n### getGoogleCredentials()\n\n public GoogleCredentials getGoogleCredentials()\n\n### getGoogleCredentialsPath()\n\n public String getGoogleCredentialsPath()\n\n### getGoogleCredentialsSupplier()\n\n public Supplier\u003cGoogleCredentials\u003e getGoogleCredentialsSupplier()\n\n### getTargetPrincipal()\n\n public String getTargetPrincipal()\n\n### hashCode()\n\n public int hashCode()\n\n**Overrides** \n[Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--)"]]