Uses of Class
com.google.cloud.spanner.connection.ConnectionOptions.Builder
Packages that use ConnectionOptions.Builder
-
Uses of ConnectionOptions.Builder in com.google.cloud.spanner.connection
Methods in com.google.cloud.spanner.connection that return ConnectionOptions.BuilderModifier and TypeMethodDescriptionstatic ConnectionOptions.Builder
ConnectionOptions.newBuilder()
Create aConnectionOptions.Builder
forConnectionOptions
.ConnectionOptions.Builder.setCredentialsUrl
(String credentialsUrl) Sets the URL of the credentials file to use for this connection.ConnectionOptions.Builder.setOAuthToken
(String oauthToken) Sets the OAuth token to use with this connection.ConnectionOptions.Builder.setSessionPoolOptions
(SessionPoolOptions sessionPoolOptions) Sets theSessionPoolOptions
to use for the connection.Sets the URI of the Cloud Spanner database to connect to.