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

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

The newest version!






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












com.google.api.services.sqladmin.model

Class OnPremisesConfiguration

    • Constructor Detail

      • OnPremisesConfiguration

        public OnPremisesConfiguration()
    • Method Detail

      • getCaCertificate

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

        public OnPremisesConfiguration 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 OnPremisesConfiguration 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 OnPremisesConfiguration 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
      • getDumpFilePath

        public String getDumpFilePath()
        The dump file to create the Cloud SQL replica.
        Returns:
        value or null for none
      • setDumpFilePath

        public OnPremisesConfiguration setDumpFilePath(String dumpFilePath)
        The dump file to create the Cloud SQL replica.
        Parameters:
        dumpFilePath - dumpFilePath or null for none
      • getHostPort

        public String getHostPort()
        The host and port of the on-premises instance in host:port format
        Returns:
        value or null for none
      • setHostPort

        public OnPremisesConfiguration setHostPort(String hostPort)
        The host and port of the on-premises instance in host:port format
        Parameters:
        hostPort - hostPort or null for none
      • getKind

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

        public OnPremisesConfiguration setKind(String kind)
        This is always `sql#onPremisesConfiguration`.
        Parameters:
        kind - kind or null for none
      • getPassword

        public String getPassword()
        The password for connecting to on-premises instance.
        Returns:
        value or null for none
      • setPassword

        public OnPremisesConfiguration setPassword(String password)
        The password for connecting to on-premises instance.
        Parameters:
        password - password or null for none
      • getSelectedObjects

        public List<SelectedObjects> getSelectedObjects()
        Optional. A list of objects that the user selects for replication from an external source instance.
        Returns:
        value or null for none
      • setSelectedObjects

        public OnPremisesConfiguration setSelectedObjects(List<SelectedObjects> selectedObjects)
        Optional. A list of objects that the user selects for replication from an external source instance.
        Parameters:
        selectedObjects - selectedObjects or null for none
      • getSourceInstance

        public InstanceReference getSourceInstance()
        The reference to Cloud SQL instance if the source is Cloud SQL.
        Returns:
        value or null for none
      • setSourceInstance

        public OnPremisesConfiguration setSourceInstance(InstanceReference sourceInstance)
        The reference to Cloud SQL instance if the source is Cloud SQL.
        Parameters:
        sourceInstance - sourceInstance or null for none
      • getSslOption

        public String getSslOption()
        Optional. SSL option for replica connection to the on-premises source.
        Returns:
        value or null for none
      • setSslOption

        public OnPremisesConfiguration setSslOption(String sslOption)
        Optional. SSL option for replica connection to the on-premises source.
        Parameters:
        sslOption - sslOption or null for none
      • getUsername

        public String getUsername()
        The username for connecting to on-premises instance.
        Returns:
        value or null for none
      • setUsername

        public OnPremisesConfiguration setUsername(String username)
        The username for connecting to on-premises instance.
        Parameters:
        username - username or null for none
      • clone

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