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.