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
Type Description
ConnectorConfig

withAdminRootUrl(String adminRootUrl)

public ConnectorConfig.Builder withAdminRootUrl(String adminRootUrl)
Parameter
Name Description
adminRootUrl String
Returns
Type Description
ConnectorConfig.Builder

withAdminServicePath(String adminServicePath)

public ConnectorConfig.Builder withAdminServicePath(String adminServicePath)
Parameter
Name Description
adminServicePath String
Returns
Type Description
ConnectorConfig.Builder

withDelegates(List<String> delegates)

public ConnectorConfig.Builder withDelegates(List<String> delegates)
Parameter
Name Description
delegates List<String>
Returns
Type Description
ConnectorConfig.Builder

withGoogleCredentials(GoogleCredentials googleCredentials)

public ConnectorConfig.Builder withGoogleCredentials(GoogleCredentials googleCredentials)
Parameter
Name Description
googleCredentials com.google.auth.oauth2.GoogleCredentials
Returns
Type Description
ConnectorConfig.Builder

withGoogleCredentialsPath(String googleCredentialsPath)

public ConnectorConfig.Builder withGoogleCredentialsPath(String googleCredentialsPath)
Parameter
Name Description
googleCredentialsPath String
Returns
Type Description
ConnectorConfig.Builder

withGoogleCredentialsSupplier(Supplier<GoogleCredentials> googleCredentialsSupplier)

public ConnectorConfig.Builder withGoogleCredentialsSupplier(Supplier<GoogleCredentials> googleCredentialsSupplier)
Parameter
Name Description
googleCredentialsSupplier Supplier<com.google.auth.oauth2.GoogleCredentials>
Returns
Type Description
ConnectorConfig.Builder

withTargetPrincipal(String targetPrincipal)

public ConnectorConfig.Builder withTargetPrincipal(String targetPrincipal)
Parameter
Name Description
targetPrincipal String
Returns
Type Description
ConnectorConfig.Builder