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

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

There is a newer version: v1-rev20241108-2.0.0
Show newest version






InstancesDemoteRequest (Cloud SQL Admin API v1-rev20240925-2.0.0)












com.google.api.services.sqladmin.model

Class InstancesDemoteRequest

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


    public final class InstancesDemoteRequest
    extends com.google.api.client.json.GenericJson
    This request 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

      • InstancesDemoteRequest

        public InstancesDemoteRequest()
    • Method Detail

      • getDemoteContext

        public DemoteContext getDemoteContext()
        Required. Contains details about the demote operation.
        Returns:
        value or null for none
      • setDemoteContext

        public InstancesDemoteRequest setDemoteContext(DemoteContext demoteContext)
        Required. Contains details about the demote operation.
        Parameters:
        demoteContext - demoteContext or null for none
      • clone

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