Class ConnectionOptions.Builder (0.15.0)

publicstaticclass ConnectionOptions.Builder

Inheritance

java.lang.Object > ConnectionOptions.Builder

Static Fields

SPANNER_URI_FORMAT

publicstaticfinalStringSPANNER_URI_FORMAT
Field Value
Type Description

Methods

build()

publicConnectionOptionsbuild()
Returns
Type Description

setCredentialsUrl(String arg0)

publicConnectionOptions.BuildersetCredentialsUrl(Stringarg0)
Parameter
Name Description
arg0 String
Returns
Type Description

setOAuthToken(String arg0)

publicConnectionOptions.BuildersetOAuthToken(Stringarg0)
Parameter
Name Description
arg0 String
Returns
Type Description

setSessionPoolOptions(SessionPoolOptions arg0)

publicConnectionOptions.BuildersetSessionPoolOptions(SessionPoolOptionsarg0)
Parameter
Name Description
arg0 com.google.cloud.spanner.SessionPoolOptions
Returns
Type Description

setUri(String arg0)

publicConnectionOptions.BuildersetUri(Stringarg0)
Parameter
Name Description
arg0 String
Returns
Type Description

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.