All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.sqladmin.model.MySqlReplicaConfiguration.html Maven / Gradle / Ivy

The newest version!






MySqlReplicaConfiguration (Cloud SQL Admin API v1-rev20241108-2.0.0)












com.google.api.services.sqladmin.model

Class MySqlReplicaConfiguration

    • Constructor Detail

      • MySqlReplicaConfiguration

        public MySqlReplicaConfiguration()
    • Method Detail

      • getCaCertificate

        public String getCaCertificate()
        PEM representation of the trusted CA's x509 certificate.
        Returns:
        value or null for none
      • setCaCertificate

        public MySqlReplicaConfiguration 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 MySqlReplicaConfiguration 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.
        Returns:
        value or null for none
      • setClientKey

        public MySqlReplicaConfiguration setClientKey(String clientKey)
        PEM representation of the replica's private key. The corresponsing public key is encoded in the client's certificate.
        Parameters:
        clientKey - clientKey or null for none
      • getConnectRetryInterval

        public Integer getConnectRetryInterval()
        Seconds to wait between connect retries. MySQL's default is 60 seconds.
        Returns:
        value or null for none
      • setConnectRetryInterval

        public MySqlReplicaConfiguration setConnectRetryInterval(Integer connectRetryInterval)
        Seconds to wait between connect retries. MySQL's default is 60 seconds.
        Parameters:
        connectRetryInterval - connectRetryInterval or null for none
      • getDumpFilePath

        public String getDumpFilePath()
        Path to a SQL dump file in Google Cloud Storage from which the replica instance is to be created. The URI is in the form gs://bucketName/fileName. Compressed gzip files (.gz) are also supported. Dumps have the binlog co-ordinates from which replication begins. This can be accomplished by setting --master-data to 1 when using mysqldump.
        Returns:
        value or null for none
      • setDumpFilePath

        public MySqlReplicaConfiguration setDumpFilePath(String dumpFilePath)
        Path to a SQL dump file in Google Cloud Storage from which the replica instance is to be created. The URI is in the form gs://bucketName/fileName. Compressed gzip files (.gz) are also supported. Dumps have the binlog co-ordinates from which replication begins. This can be accomplished by setting --master-data to 1 when using mysqldump.
        Parameters:
        dumpFilePath - dumpFilePath or null for none
      • getKind

        public String getKind()
        This is always `sql#mysqlReplicaConfiguration`.
        Returns:
        value or null for none
      • setKind

        public MySqlReplicaConfiguration setKind(String kind)
        This is always `sql#mysqlReplicaConfiguration`.
        Parameters:
        kind - kind or null for none
      • getMasterHeartbeatPeriod

        public Long getMasterHeartbeatPeriod()
        Interval in milliseconds between replication heartbeats.
        Returns:
        value or null for none
      • setMasterHeartbeatPeriod

        public MySqlReplicaConfiguration setMasterHeartbeatPeriod(Long masterHeartbeatPeriod)
        Interval in milliseconds between replication heartbeats.
        Parameters:
        masterHeartbeatPeriod - masterHeartbeatPeriod or null for none
      • getPassword

        public String getPassword()
        The password for the replication connection.
        Returns:
        value or null for none
      • setPassword

        public MySqlReplicaConfiguration setPassword(String password)
        The password for the replication connection.
        Parameters:
        password - password or null for none
      • getSslCipher

        public String getSslCipher()
        A list of permissible ciphers to use for SSL encryption.
        Returns:
        value or null for none
      • setSslCipher

        public MySqlReplicaConfiguration setSslCipher(String sslCipher)
        A list of permissible ciphers to use for SSL encryption.
        Parameters:
        sslCipher - sslCipher or null for none
      • getUsername

        public String getUsername()
        The username for the replication connection.
        Returns:
        value or null for none
      • setUsername

        public MySqlReplicaConfiguration setUsername(String username)
        The username for the replication connection.
        Parameters:
        username - username or null for none
      • getVerifyServerCertificate

        public Boolean getVerifyServerCertificate()
        Whether or not to check the primary instance's Common Name value in the certificate that it sends during the SSL handshake.
        Returns:
        value or null for none
      • setVerifyServerCertificate

        public MySqlReplicaConfiguration setVerifyServerCertificate(Boolean verifyServerCertificate)
        Whether or not to check the primary instance's Common Name value in the certificate that it sends during the SSL handshake.
        Parameters:
        verifyServerCertificate - verifyServerCertificate or null for none

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy