public final class ConnectionProfile 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 |
|---|
ConnectionProfile() |
| Modifier and Type | Method and Description |
|---|---|
ConnectionProfile |
clone() |
CloudSqlConnectionProfile |
getCloudsql()
A CloudSQL database connection profile.
|
String |
getCreateTime()
Output only.
|
String |
getDisplayName()
The connection profile display name.
|
Status |
getError()
Output only.
|
Map<String,String> |
getLabels()
The resource labels for connection profile to use to annotate any related underlying resources
such as Compute Engine VMs.
|
MySqlConnectionProfile |
getMysql()
A MySQL database connection profile.
|
String |
getName()
The name of this connection profile resource in the form of
projects/{project}/locations/{location}/instances/{instance}.
|
PostgreSqlConnectionProfile |
getPostgresql()
A PostgreSQL database connection profile.
|
String |
getProvider()
The database provider.
|
String |
getState()
The current connection profile state (e.g.
|
String |
getUpdateTime()
Output only.
|
ConnectionProfile |
set(String fieldName,
Object value) |
ConnectionProfile |
setCloudsql(CloudSqlConnectionProfile cloudsql)
A CloudSQL database connection profile.
|
ConnectionProfile |
setCreateTime(String createTime)
Output only.
|
ConnectionProfile |
setDisplayName(String displayName)
The connection profile display name.
|
ConnectionProfile |
setError(Status error)
Output only.
|
ConnectionProfile |
setLabels(Map<String,String> labels)
The resource labels for connection profile to use to annotate any related underlying resources
such as Compute Engine VMs.
|
ConnectionProfile |
setMysql(MySqlConnectionProfile mysql)
A MySQL database connection profile.
|
ConnectionProfile |
setName(String name)
The name of this connection profile resource in the form of
projects/{project}/locations/{location}/instances/{instance}.
|
ConnectionProfile |
setPostgresql(PostgreSqlConnectionProfile postgresql)
A PostgreSQL database connection profile.
|
ConnectionProfile |
setProvider(String provider)
The database provider.
|
ConnectionProfile |
setState(String state)
The current connection profile state (e.g.
|
ConnectionProfile |
setUpdateTime(String updateTime)
Output only.
|
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 CloudSqlConnectionProfile getCloudsql()
null for nonepublic ConnectionProfile setCloudsql(CloudSqlConnectionProfile cloudsql)
cloudsql - cloudsql or null for nonepublic String getCreateTime()
null for nonepublic ConnectionProfile setCreateTime(String createTime)
createTime - createTime or null for nonepublic String getDisplayName()
null for nonepublic ConnectionProfile setDisplayName(String displayName)
displayName - displayName or null for nonepublic Status getError()
null for nonepublic ConnectionProfile setError(Status error)
error - error or null for nonepublic Map<String,String> getLabels()
null for nonepublic ConnectionProfile setLabels(Map<String,String> labels)
labels - labels or null for nonepublic MySqlConnectionProfile getMysql()
null for nonepublic ConnectionProfile setMysql(MySqlConnectionProfile mysql)
mysql - mysql or null for nonepublic String getName()
null for nonepublic ConnectionProfile setName(String name)
name - name or null for nonepublic PostgreSqlConnectionProfile getPostgresql()
null for nonepublic ConnectionProfile setPostgresql(PostgreSqlConnectionProfile postgresql)
postgresql - postgresql or null for nonepublic String getProvider()
null for nonepublic ConnectionProfile setProvider(String provider)
provider - provider or null for nonepublic String getState()
null for nonepublic ConnectionProfile setState(String state)
state - state or null for nonepublic String getUpdateTime()
null for nonepublic ConnectionProfile setUpdateTime(String updateTime)
updateTime - updateTime or null for nonepublic ConnectionProfile set(String fieldName, Object value)
set in class GenericJsonpublic ConnectionProfile clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.