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

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

The newest version!






DatabaseInstance.FailoverReplica (Cloud SQL Admin API v1-rev20241108-2.0.0)












com.google.api.services.sqladmin.model

Class DatabaseInstance.FailoverReplica

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>
    Enclosing class:
    DatabaseInstance


    public static final class DatabaseInstance.FailoverReplica
    extends com.google.api.client.json.GenericJson
    The name and status of the failover replica.
    • Constructor Detail

      • FailoverReplica

        public FailoverReplica()
    • Method Detail

      • getAvailable

        public Boolean getAvailable()
        The availability status of the failover replica. A false status indicates that the failover replica is out of sync. The primary instance can only failover to the failover replica when the status is true.
        Returns:
        value or null for none
      • setAvailable

        public DatabaseInstance.FailoverReplica setAvailable(Boolean available)
        The availability status of the failover replica. A false status indicates that the failover replica is out of sync. The primary instance can only failover to the failover replica when the status is true.
        Parameters:
        available - available or null for none
      • getName

        public String getName()
        The name of the failover replica. If specified at instance creation, a failover replica is created for the instance. The name doesn't include the project ID.
        Returns:
        value or null for none
      • setName

        public DatabaseInstance.FailoverReplica setName(String name)
        The name of the failover replica. If specified at instance creation, a failover replica is created for the instance. The name doesn't include the project ID.
        Parameters:
        name - name or null for none

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy