Class ConnectionOptions.Builder (0.18.2)

public static class ConnectionOptions.Builder

Inheritance

java.lang.Object > ConnectionOptions.Builder

Static Fields

SPANNER_URI_FORMAT

public static final String SPANNER_URI_FORMAT
Field Value
TypeDescription
String

Methods

build()

public ConnectionOptions build()
Returns
TypeDescription
ConnectionOptions

setCredentialsUrl(String arg0)

public ConnectionOptions.Builder setCredentialsUrl(String arg0)
Parameter
NameDescription
arg0String
Returns
TypeDescription
ConnectionOptions.Builder

setOAuthToken(String arg0)

public ConnectionOptions.Builder setOAuthToken(String arg0)
Parameter
NameDescription
arg0String
Returns
TypeDescription
ConnectionOptions.Builder

setSessionPoolOptions(SessionPoolOptions arg0)

public ConnectionOptions.Builder setSessionPoolOptions(SessionPoolOptions arg0)
Parameter
NameDescription
arg0com.google.cloud.spanner.SessionPoolOptions
Returns
TypeDescription
ConnectionOptions.Builder

setUri(String arg0)

public ConnectionOptions.Builder setUri(String arg0)
Parameter
NameDescription
arg0String
Returns
TypeDescription
ConnectionOptions.Builder