Send feedback
Class ConnectionConfig (1.15.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
public class ConnectionConfig
ConnectionConfig is an immutable configuration value object that holds the entire configuration
of a CloudSqlInstance connection.
WARNING: This is an internal class. The API is subject to change without notice.
Inheritance
Object >
ConnectionConfig
Static Fields
CLOUD_SQL_ADMIN_ROOT_URL_PROPERTY
public static final String CLOUD_SQL_ADMIN_ROOT_URL_PROPERTY
Field Value Type Description String
CLOUD_SQL_ADMIN_SERVICE_PATH_PROPERTY
public static final String CLOUD_SQL_ADMIN_SERVICE_PATH_PROPERTY
Field Value Type Description String
CLOUD_SQL_DELEGATES_PROPERTY
public static final String CLOUD_SQL_DELEGATES_PROPERTY
Field Value Type Description String
CLOUD_SQL_GOOGLE_CREDENTIALS_PATH
public static final String CLOUD_SQL_GOOGLE_CREDENTIALS_PATH
Field Value Type Description String
CLOUD_SQL_INSTANCE_PROPERTY
public static final String CLOUD_SQL_INSTANCE_PROPERTY
Field Value Type Description String
CLOUD_SQL_NAMED_CONNECTOR_PROPERTY
public static final String CLOUD_SQL_NAMED_CONNECTOR_PROPERTY
Field Value Type Description String
CLOUD_SQL_TARGET_PRINCIPAL_PROPERTY
public static final String CLOUD_SQL_TARGET_PRINCIPAL_PROPERTY
Field Value Type Description String
DEFAULT_AUTH_TYPE
public static final AuthType DEFAULT_AUTH_TYPE
DEFAULT_IP_TYPES
public static final String DEFAULT_IP_TYPES
Field Value Type Description String
DEFAULT_IP_TYPE_LIST
public static final List<IpType> DEFAULT_IP_TYPE_LIST
ENABLE_IAM_AUTH_PROPERTY
public static final String ENABLE_IAM_AUTH_PROPERTY
Field Value Type Description String
IP_TYPES_PROPERTY
public static final String IP_TYPES_PROPERTY
Field Value Type Description String
UNIX_SOCKET_PATH_SUFFIX_PROPERTY
public static final String UNIX_SOCKET_PATH_SUFFIX_PROPERTY
Field Value Type Description String
UNIX_SOCKET_PROPERTY
public static final String UNIX_SOCKET_PROPERTY
Field Value Type Description String
Static Methods
fromConnectionProperties(Properties props)
public static ConnectionConfig fromConnectionProperties ( Properties props )
Create a new ConnectionConfig from the well known JDBC Connection properties.
Methods
equals(Object o)
public boolean equals ( Object o )
Parameter Name Description o
Object
Overrides
getAuthType()
public AuthType getAuthType ()
getCloudSqlInstance()
public String getCloudSqlInstance ()
getConnectorConfig()
public ConnectorConfig getConnectorConfig ()
getIpTypes()
public List<IpType> getIpTypes ()
getNamedConnector()
public String getNamedConnector ()
getUnixSocketPath()
public String getUnixSocketPath ()
getUnixSocketPathSuffix()
public String getUnixSocketPathSuffix ()
hashCode()
Returns Type Description int
Overrides
withConnectorConfig(ConnectorConfig config)
public ConnectionConfig withConnectorConfig ( ConnectorConfig config )
Creates a new instance of the ConnectionConfig with an updated connectorConfig.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-19 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-19 UTC."],[],[]]