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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionSupplies credentials configuration.boolean
void
setAdminServiceEndpoint
(String adminServiceEndpoint) void
setDatabaseName
(String databaseName) void
setDelegates
(String delegates) void
setEnableIamAuth
(boolean enableIamAuth) void
setInstanceConnectionUri
(String instanceConnectionUri) void
void
setNamedConnector
(String namedConnector) void
setProjectId
(String projectId) void
setQuotaProject
(String quotaProject) void
setTargetPrincipal
(String targetPrincipal)
-
Constructor Details
-
AlloyDbProperties
public AlloyDbProperties()
-
-
Method Details
-
getCredentials
Description copied from interface:CredentialsSupplier
Supplies credentials configuration.- Specified by:
getCredentials
in interfaceCredentialsSupplier
- Returns:
- a POJO containing Google Cloud credentials location and scopes
-
getProjectId
-
setProjectId
-
getDatabaseName
-
setDatabaseName
-
getInstanceConnectionUri
-
setInstanceConnectionUri
-
isEnableIamAuth
public boolean isEnableIamAuth() -
setEnableIamAuth
public void setEnableIamAuth(boolean enableIamAuth) -
getIpType
-
setIpType
-
getTargetPrincipal
-
setTargetPrincipal
-
getDelegates
-
setDelegates
-
getAdminServiceEndpoint
-
setAdminServiceEndpoint
-
getQuotaProject
-
setQuotaProject
-
getNamedConnector
-
setNamedConnector
-