|
sqladmin
v1beta4
|
#include <demote_master_configuration.h>
Public Member Functions | |
| DemoteMasterConfiguration (const Json::Value &storage) | |
| DemoteMasterConfiguration (Json::Value *storage) | |
| virtual | ~DemoteMasterConfiguration () |
| const StringPiece | GetTypeName () const |
| bool | has_kind () const |
| void | clear_kind () |
| const StringPiece | get_kind () const |
| void | set_kind (const StringPiece &value) |
| bool | has_mysql_replica_configuration () const |
| void | clear_mysql_replica_configuration () |
| const DemoteMasterMySqlReplicaConfiguration | get_mysql_replica_configuration () const |
| DemoteMasterMySqlReplicaConfiguration | mutable_mysqlReplicaConfiguration () |
Static Public Member Functions | |
| static DemoteMasterConfiguration * | New () |
Read-replica configuration for connecting to the on-premises master.
|
explicit |
Standard constructor for an immutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'kind' attribute.
|
inline |
Clears the 'mysqlReplicaConfiguration' attribute.
|
inline |
Get the value of the 'kind' attribute.
| const DemoteMasterMySqlReplicaConfiguration google_sqladmin_api::DemoteMasterConfiguration::get_mysql_replica_configuration | ( | ) | const |
Get a reference to the value of the 'mysqlReplicaConfiguration' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'kind' attribute was set.
kind' attribute was set.
|
inline |
Determine if the 'mysqlReplicaConfiguration' attribute was set.
mysqlReplicaConfiguration' attribute was set. | DemoteMasterMySqlReplicaConfiguration google_sqladmin_api::DemoteMasterConfiguration::mutable_mysqlReplicaConfiguration | ( | ) |
Gets a reference to a mutable value of the 'mysqlReplicaConfiguration' property.
MySQL specific configuration when replicating from a MySQL on-premises master. Replication configuration information such as the username, password, certificates, and keys are not stored in the instance metadata. The configuration information is used only to set up the replication connection and is stored by MySQL in a file named master.info in the data directory.
|
static |
Creates a new default instance.
|
inline |
Change the 'kind' attribute.
This is always sql::demoteMasterConfiguration.
| [in] | value | The new value. |