Class AlloyDbProperties

java.lang.Object
com.google.cloud.spring.autoconfigure.alloydb.AlloyDbProperties
All Implemented Interfaces:
CredentialsSupplier

@ConfigurationProperties("spring.cloud.gcp.alloydb") public class AlloyDbProperties extends Object implements CredentialsSupplier
  • Constructor Details

    • AlloyDbProperties

      public AlloyDbProperties()
  • Method Details

    • getCredentials

      public Credentials getCredentials()
      Description copied from interface: CredentialsSupplier
      Supplies credentials configuration.
      Specified by:
      getCredentials in interface CredentialsSupplier
      Returns:
      a POJO containing Google Cloud credentials location and scopes
    • getProjectId

      public String getProjectId()
    • setProjectId

      public void setProjectId(String projectId)
    • getDatabaseName

      public String getDatabaseName()
    • setDatabaseName

      public void setDatabaseName(String databaseName)
    • getInstanceConnectionUri

      public String getInstanceConnectionUri()
    • setInstanceConnectionUri

      public void setInstanceConnectionUri(String instanceConnectionUri)
    • isEnableIamAuth

      public boolean isEnableIamAuth()
    • setEnableIamAuth

      public void setEnableIamAuth(boolean enableIamAuth)
    • getIpType

      public String getIpType()
    • setIpType

      public void setIpType(String ipType)
    • getTargetPrincipal

      public String getTargetPrincipal()
    • setTargetPrincipal

      public void setTargetPrincipal(String targetPrincipal)
    • getDelegates

      public String getDelegates()
    • setDelegates

      public void setDelegates(String delegates)
    • getAdminServiceEndpoint

      public String getAdminServiceEndpoint()
    • setAdminServiceEndpoint

      public void setAdminServiceEndpoint(String adminServiceEndpoint)
    • getQuotaProject

      public String getQuotaProject()
    • setQuotaProject

      public void setQuotaProject(String quotaProject)
    • getNamedConnector

      public String getNamedConnector()
    • setNamedConnector

      public void setNamedConnector(String namedConnector)