public final class MySqlConnectionProfile extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Database Migration API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
MySqlConnectionProfile() |
| Modifier and Type | Method and Description |
|---|---|
MySqlConnectionProfile |
clone() |
String |
getCloudSqlId()
If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of
the source.
|
String |
getHost()
Required.
|
String |
getPassword()
Required.
|
Boolean |
getPasswordSet()
Output only.
|
Integer |
getPort()
Required.
|
SslConfig |
getSsl()
SSL configuration for the destination to connect to the source database.
|
String |
getUsername()
Required.
|
MySqlConnectionProfile |
set(String fieldName,
Object value) |
MySqlConnectionProfile |
setCloudSqlId(String cloudSqlId)
If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of
the source.
|
MySqlConnectionProfile |
setHost(String host)
Required.
|
MySqlConnectionProfile |
setPassword(String password)
Required.
|
MySqlConnectionProfile |
setPasswordSet(Boolean passwordSet)
Output only.
|
MySqlConnectionProfile |
setPort(Integer port)
Required.
|
MySqlConnectionProfile |
setSsl(SslConfig ssl)
SSL configuration for the destination to connect to the source database.
|
MySqlConnectionProfile |
setUsername(String username)
Required.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getCloudSqlId()
null for nonepublic MySqlConnectionProfile setCloudSqlId(String cloudSqlId)
cloudSqlId - cloudSqlId or null for nonepublic String getHost()
null for nonepublic MySqlConnectionProfile setHost(String host)
host - host or null for nonepublic String getPassword()
null for nonepublic MySqlConnectionProfile setPassword(String password)
password - password or null for nonepublic Boolean getPasswordSet()
null for nonepublic MySqlConnectionProfile setPasswordSet(Boolean passwordSet)
passwordSet - passwordSet or null for nonepublic Integer getPort()
null for nonepublic MySqlConnectionProfile setPort(Integer port)
port - port or null for nonepublic SslConfig getSsl()
null for nonepublic MySqlConnectionProfile setSsl(SslConfig ssl)
ssl - ssl or null for nonepublic String getUsername()
null for nonepublic MySqlConnectionProfile setUsername(String username)
username - username or null for nonepublic MySqlConnectionProfile set(String fieldName, Object value)
set in class GenericJsonpublic MySqlConnectionProfile clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.