Class ConnectorConfig.Builder (0.2.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

withAdminServiceEndpoint(String adminServiceEndpoint)

public ConnectorConfig.Builder withAdminServiceEndpoint(String adminServiceEndpoint)
Parameter
NameDescription
adminServiceEndpointString
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