#include <demote_master_my_sql_replica_configuration.h>
Read-replica configuration specific to MySQL databases.
◆ DemoteMasterMySqlReplicaConfiguration() [1/2]
| google_sqladmin_api::DemoteMasterMySqlReplicaConfiguration::DemoteMasterMySqlReplicaConfiguration |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ DemoteMasterMySqlReplicaConfiguration() [2/2]
| google_sqladmin_api::DemoteMasterMySqlReplicaConfiguration::DemoteMasterMySqlReplicaConfiguration |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ~DemoteMasterMySqlReplicaConfiguration()
| google_sqladmin_api::DemoteMasterMySqlReplicaConfiguration::~DemoteMasterMySqlReplicaConfiguration |
( |
| ) |
|
|
virtual |
◆ clear_ca_certificate()
| void google_sqladmin_api::DemoteMasterMySqlReplicaConfiguration::clear_ca_certificate |
( |
| ) |
|
|
inline |
Clears the 'caCertificate' attribute.
◆ clear_client_certificate()
| void google_sqladmin_api::DemoteMasterMySqlReplicaConfiguration::clear_client_certificate |
( |
| ) |
|
|
inline |
Clears the 'clientCertificate' attribute.
◆ clear_client_key()
| void google_sqladmin_api::DemoteMasterMySqlReplicaConfiguration::clear_client_key |
( |
| ) |
|
|
inline |
Clears the 'clientKey' attribute.
◆ clear_kind()
| void google_sqladmin_api::DemoteMasterMySqlReplicaConfiguration::clear_kind |
( |
| ) |
|
|
inline |
Clears the 'kind' attribute.
◆ clear_password()
| void google_sqladmin_api::DemoteMasterMySqlReplicaConfiguration::clear_password |
( |
| ) |
|
|
inline |
Clears the 'password' attribute.
◆ clear_username()
| void google_sqladmin_api::DemoteMasterMySqlReplicaConfiguration::clear_username |
( |
| ) |
|
|
inline |
Clears the 'username' attribute.
◆ get_ca_certificate()
| const StringPiece google_sqladmin_api::DemoteMasterMySqlReplicaConfiguration::get_ca_certificate |
( |
| ) |
const |
|
inline |
Get the value of the 'caCertificate' attribute.
◆ get_client_certificate()
| const StringPiece google_sqladmin_api::DemoteMasterMySqlReplicaConfiguration::get_client_certificate |
( |
| ) |
const |
|
inline |
Get the value of the 'clientCertificate' attribute.
◆ get_client_key()
| const StringPiece google_sqladmin_api::DemoteMasterMySqlReplicaConfiguration::get_client_key |
( |
| ) |
const |
|
inline |
Get the value of the 'clientKey' attribute.
◆ get_kind()
| const StringPiece google_sqladmin_api::DemoteMasterMySqlReplicaConfiguration::get_kind |
( |
| ) |
const |
|
inline |
Get the value of the 'kind' attribute.
◆ get_password()
| const StringPiece google_sqladmin_api::DemoteMasterMySqlReplicaConfiguration::get_password |
( |
| ) |
const |
|
inline |
Get the value of the 'password' attribute.
◆ get_username()
| const StringPiece google_sqladmin_api::DemoteMasterMySqlReplicaConfiguration::get_username |
( |
| ) |
const |
|
inline |
Get the value of the 'username' attribute.
◆ GetTypeName()
| const StringPiece google_sqladmin_api::DemoteMasterMySqlReplicaConfiguration::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_ca_certificate()
| bool google_sqladmin_api::DemoteMasterMySqlReplicaConfiguration::has_ca_certificate |
( |
| ) |
const |
|
inline |
Determine if the 'caCertificate' attribute was set.
- Returns
- true if the '
caCertificate' attribute was set.
◆ has_client_certificate()
| bool google_sqladmin_api::DemoteMasterMySqlReplicaConfiguration::has_client_certificate |
( |
| ) |
const |
|
inline |
Determine if the 'clientCertificate' attribute was set.
- Returns
- true if the '
clientCertificate' attribute was set.
◆ has_client_key()
| bool google_sqladmin_api::DemoteMasterMySqlReplicaConfiguration::has_client_key |
( |
| ) |
const |
|
inline |
Determine if the 'clientKey' attribute was set.
- Returns
- true if the '
clientKey' attribute was set.
◆ has_kind()
| bool google_sqladmin_api::DemoteMasterMySqlReplicaConfiguration::has_kind |
( |
| ) |
const |
|
inline |
Determine if the 'kind' attribute was set.
- Returns
- true if the '
kind' attribute was set.
◆ has_password()
| bool google_sqladmin_api::DemoteMasterMySqlReplicaConfiguration::has_password |
( |
| ) |
const |
|
inline |
Determine if the 'password' attribute was set.
- Returns
- true if the '
password' attribute was set.
◆ has_username()
| bool google_sqladmin_api::DemoteMasterMySqlReplicaConfiguration::has_username |
( |
| ) |
const |
|
inline |
Determine if the 'username' attribute was set.
- Returns
- true if the '
username' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_ca_certificate()
| void google_sqladmin_api::DemoteMasterMySqlReplicaConfiguration::set_ca_certificate |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'caCertificate' attribute.
PEM representation of the trusted CA's x509 certificate.
- Parameters
-
◆ set_client_certificate()
| void google_sqladmin_api::DemoteMasterMySqlReplicaConfiguration::set_client_certificate |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'clientCertificate' attribute.
PEM representation of the slave's x509 certificate.
- Parameters
-
◆ set_client_key()
| void google_sqladmin_api::DemoteMasterMySqlReplicaConfiguration::set_client_key |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'clientKey' attribute.
PEM representation of the slave's private key. The corresponsing public key is encoded in the client's certificate. The format of the slave's private key can be either PKCS #1 or PKCS #8.
- Parameters
-
◆ set_kind()
| void google_sqladmin_api::DemoteMasterMySqlReplicaConfiguration::set_kind |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kind' attribute.
This is always sql::demoteMasterMysqlReplicaConfiguration.
- Parameters
-
◆ set_password()
| void google_sqladmin_api::DemoteMasterMySqlReplicaConfiguration::set_password |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'password' attribute.
The password for the replication connection.
- Parameters
-
◆ set_username()
| void google_sqladmin_api::DemoteMasterMySqlReplicaConfiguration::set_username |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'username' attribute.
The username for the replication connection.
- Parameters
-
The documentation for this class was generated from the following files: