Class ConnectorConfig.Builder (1.15.0)

public static class ConnectorConfig.Builder

The builder for the ConnectionConfig.

Inheritance

java.lang.Object > ConnectorConfig.Builder

Constructors

Builder()

public Builder()

Methods

build()

public ConnectorConfig build()

Builds a new instance of ConnectionConfig.

Returns
TypeDescription
ConnectorConfig

withAdminRootUrl(String adminRootUrl)

public ConnectorConfig.Builder withAdminRootUrl(String adminRootUrl)
Parameter
NameDescription
adminRootUrlString
Returns
TypeDescription
ConnectorConfig.Builder

withAdminServicePath(String adminServicePath)

public ConnectorConfig.Builder withAdminServicePath(String adminServicePath)
Parameter
NameDescription
adminServicePathString
Returns
TypeDescription
ConnectorConfig.Builder

withDelegates(List<String> delegates)

public ConnectorConfig.Builder withDelegates(List<String> delegates)
Parameter
NameDescription
delegatesList<String>
Returns
TypeDescription
ConnectorConfig.Builder

withGoogleCredentials(GoogleCredentials googleCredentials)

public ConnectorConfig.Builder withGoogleCredentials(GoogleCredentials googleCredentials)
Parameter
NameDescription
googleCredentialscom.google.auth.oauth2.GoogleCredentials
Returns
TypeDescription
ConnectorConfig.Builder

withGoogleCredentialsPath(String googleCredentialsPath)

public ConnectorConfig.Builder withGoogleCredentialsPath(String googleCredentialsPath)
Parameter
NameDescription
googleCredentialsPathString
Returns
TypeDescription
ConnectorConfig.Builder

withGoogleCredentialsSupplier(Supplier<GoogleCredentials> googleCredentialsSupplier)

public ConnectorConfig.Builder withGoogleCredentialsSupplier(Supplier<GoogleCredentials> googleCredentialsSupplier)
Parameter
NameDescription
googleCredentialsSupplierSupplier<com.google.auth.oauth2.GoogleCredentials>
Returns
TypeDescription
ConnectorConfig.Builder

withTargetPrincipal(String targetPrincipal)

public ConnectorConfig.Builder withTargetPrincipal(String targetPrincipal)
Parameter
NameDescription
targetPrincipalString
Returns
TypeDescription
ConnectorConfig.Builder