Package com.google.cloud.alloydb
Class ConnectorConfig.Builder
java.lang.Object
com.google.cloud.alloydb.ConnectorConfig.Builder
- Enclosing class:
- ConnectorConfig
The builder for the ConnectionConfig.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a new instance ofConnectionConfig.withAdminServiceEndpoint(String adminServiceEndpoint) withDelegates(List<String> delegates) withGoogleCredentials(com.google.auth.oauth2.GoogleCredentials googleCredentials) withGoogleCredentialsPath(String googleCredentialsPath) withGoogleCredentialsSupplier(Supplier<com.google.auth.oauth2.GoogleCredentials> googleCredentialsSupplier) withQuotaProject(String quotaProject) withTargetPrincipal(String targetPrincipal)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
withTargetPrincipal
-
withDelegates
-
withAdminServiceEndpoint
-
withGoogleCredentialsSupplier
public ConnectorConfig.Builder withGoogleCredentialsSupplier(Supplier<com.google.auth.oauth2.GoogleCredentials> googleCredentialsSupplier) -
withGoogleCredentials
public ConnectorConfig.Builder withGoogleCredentials(com.google.auth.oauth2.GoogleCredentials googleCredentials) -
withGoogleCredentialsPath
-
withQuotaProject
-
build
Builds a new instance ofConnectionConfig.
-