Class ConnectionOptions.Builder (2.17.0)

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

Methods

build()

public ConnectionOptions build()
Returns
Type Description
ConnectionOptions

setCredentialsUrl(String arg0)

public ConnectionOptions.Builder setCredentialsUrl(String arg0)
Parameter
Name Description
arg0 String
Returns
Type Description
ConnectionOptions.Builder

setOAuthToken(String arg0)

public ConnectionOptions.Builder setOAuthToken(String arg0)
Parameter
Name Description
arg0 String
Returns
Type Description
ConnectionOptions.Builder

setOpenTelemetry(OpenTelemetry arg0)

public ConnectionOptions.Builder setOpenTelemetry(OpenTelemetry arg0)
Parameter
Name Description
arg0 io.opentelemetry.api.OpenTelemetry
Returns
Type Description
ConnectionOptions.Builder

setSessionPoolOptions(SessionPoolOptions arg0)

public ConnectionOptions.Builder setSessionPoolOptions(SessionPoolOptions arg0)
Parameter
Name Description
arg0 SessionPoolOptions
Returns
Type Description
ConnectionOptions.Builder

setUri(String arg0)

public ConnectionOptions.Builder setUri(String arg0)
Parameter
Name Description
arg0 String
Returns
Type Description
ConnectionOptions.Builder