target.apidocs.com.google.api.services.sqladmin.model.DemoteMasterMySqlReplicaConfiguration.html Maven / Gradle / Ivy
The newest version!
DemoteMasterMySqlReplicaConfiguration (Cloud SQL Admin API v1-rev20241108-2.0.0)
com.google.api.services.sqladmin.model
Class DemoteMasterMySqlReplicaConfiguration
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.sqladmin.model.DemoteMasterMySqlReplicaConfiguration
-
public final class DemoteMasterMySqlReplicaConfiguration
extends com.google.api.client.json.GenericJson
Read-replica configuration specific to MySQL databases.
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 Cloud SQL Admin API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
DemoteMasterMySqlReplicaConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
DemoteMasterMySqlReplicaConfiguration
clone()
String
getCaCertificate()
PEM representation of the trusted CA's x509 certificate.
String
getClientCertificate()
PEM representation of the replica's x509 certificate.
String
getClientKey()
PEM representation of the replica's private key.
String
getKind()
This is always `sql#demoteMasterMysqlReplicaConfiguration`.
String
getPassword()
The password for the replication connection.
String
getUsername()
The username for the replication connection.
DemoteMasterMySqlReplicaConfiguration
set(String fieldName,
Object value)
DemoteMasterMySqlReplicaConfiguration
setCaCertificate(String caCertificate)
PEM representation of the trusted CA's x509 certificate.
DemoteMasterMySqlReplicaConfiguration
setClientCertificate(String clientCertificate)
PEM representation of the replica's x509 certificate.
DemoteMasterMySqlReplicaConfiguration
setClientKey(String clientKey)
PEM representation of the replica's private key.
DemoteMasterMySqlReplicaConfiguration
setKind(String kind)
This is always `sql#demoteMasterMysqlReplicaConfiguration`.
DemoteMasterMySqlReplicaConfiguration
setPassword(String password)
The password for the replication connection.
DemoteMasterMySqlReplicaConfiguration
setUsername(String username)
The username for the replication connection.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Constructor Detail
-
DemoteMasterMySqlReplicaConfiguration
public DemoteMasterMySqlReplicaConfiguration()
-
Method Detail
-
getCaCertificate
public String getCaCertificate()
PEM representation of the trusted CA's x509 certificate.
- Returns:
- value or
null
for none
-
setCaCertificate
public DemoteMasterMySqlReplicaConfiguration setCaCertificate(String caCertificate)
PEM representation of the trusted CA's x509 certificate.
- Parameters:
caCertificate
- caCertificate or null
for none
-
getClientCertificate
public String getClientCertificate()
PEM representation of the replica's x509 certificate.
- Returns:
- value or
null
for none
-
setClientCertificate
public DemoteMasterMySqlReplicaConfiguration setClientCertificate(String clientCertificate)
PEM representation of the replica's x509 certificate.
- Parameters:
clientCertificate
- clientCertificate or null
for none
-
getClientKey
public String getClientKey()
PEM representation of the replica's private key. The corresponsing public key is encoded in the
client's certificate. The format of the replica's private key can be either PKCS #1 or PKCS #8.
- Returns:
- value or
null
for none
-
setClientKey
public DemoteMasterMySqlReplicaConfiguration setClientKey(String clientKey)
PEM representation of the replica's private key. The corresponsing public key is encoded in the
client's certificate. The format of the replica's private key can be either PKCS #1 or PKCS #8.
- Parameters:
clientKey
- clientKey or null
for none
-
getKind
public String getKind()
This is always `sql#demoteMasterMysqlReplicaConfiguration`.
- Returns:
- value or
null
for none
-
setKind
public DemoteMasterMySqlReplicaConfiguration setKind(String kind)
This is always `sql#demoteMasterMysqlReplicaConfiguration`.
- Parameters:
kind
- kind or null
for none
-
getPassword
public String getPassword()
The password for the replication connection.
- Returns:
- value or
null
for none
-
setPassword
public DemoteMasterMySqlReplicaConfiguration setPassword(String password)
The password for the replication connection.
- Parameters:
password
- password or null
for none
-
getUsername
public String getUsername()
The username for the replication connection.
- Returns:
- value or
null
for none
-
setUsername
public DemoteMasterMySqlReplicaConfiguration setUsername(String username)
The username for the replication connection.
- Parameters:
username
- username or null
for none
-
set
public DemoteMasterMySqlReplicaConfiguration set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public DemoteMasterMySqlReplicaConfiguration clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy