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

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

The newest version!






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












com.google.api.services.sqladmin.model

Class DemoteContext

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


    public final class DemoteContext
    extends com.google.api.client.json.GenericJson
    This context is used to demote an existing standalone instance to be a Cloud SQL read replica for an external database server.

    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.
    • Constructor Detail

      • DemoteContext

        public DemoteContext()
    • Method Detail

      • getKind

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

        public DemoteContext setKind(String kind)
        This is always `sql#demoteContext`.
        Parameters:
        kind - kind or null for none
      • getSourceRepresentativeInstanceName

        public String getSourceRepresentativeInstanceName()
        Required. The name of the instance which acts as the on-premises primary instance in the replication setup.
        Returns:
        value or null for none
      • setSourceRepresentativeInstanceName

        public DemoteContext setSourceRepresentativeInstanceName(String sourceRepresentativeInstanceName)
        Required. The name of the instance which acts as the on-premises primary instance in the replication setup.
        Parameters:
        sourceRepresentativeInstanceName - sourceRepresentativeInstanceName or null for none
      • set

        public DemoteContext set(String fieldName,
                                 Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

        public DemoteContext 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