public final class PostgreSqlConnectionProfile 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 |
|---|
PostgreSqlConnectionProfile() |
| Modifier and Type | Method and Description |
|---|---|
PostgreSqlConnectionProfile |
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.
|
PostgreSqlConnectionProfile |
set(String fieldName,
Object value) |
PostgreSqlConnectionProfile |
setCloudSqlId(String cloudSqlId)
If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of
the source.
|
PostgreSqlConnectionProfile |
setHost(String host)
Required.
|
PostgreSqlConnectionProfile |
setPassword(String password)
Required.
|
PostgreSqlConnectionProfile |
setPasswordSet(Boolean passwordSet)
Output only.
|
PostgreSqlConnectionProfile |
setPort(Integer port)
Required.
|
PostgreSqlConnectionProfile |
setSsl(SslConfig ssl)
SSL configuration for the destination to connect to the source database.
|
PostgreSqlConnectionProfile |
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 PostgreSqlConnectionProfile setCloudSqlId(String cloudSqlId)
cloudSqlId - cloudSqlId or null for nonepublic String getHost()
null for nonepublic PostgreSqlConnectionProfile setHost(String host)
host - host or null for nonepublic String getPassword()
null for nonepublic PostgreSqlConnectionProfile setPassword(String password)
password - password or null for nonepublic Boolean getPasswordSet()
null for nonepublic PostgreSqlConnectionProfile setPasswordSet(Boolean passwordSet)
passwordSet - passwordSet or null for nonepublic Integer getPort()
null for nonepublic PostgreSqlConnectionProfile setPort(Integer port)
port - port or null for nonepublic SslConfig getSsl()
null for nonepublic PostgreSqlConnectionProfile setSsl(SslConfig ssl)
ssl - ssl or null for nonepublic String getUsername()
null for nonepublic PostgreSqlConnectionProfile setUsername(String username)
username - username or null for nonepublic PostgreSqlConnectionProfile set(String fieldName, Object value)
set in class GenericJsonpublic PostgreSqlConnectionProfile clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.