Class ConnectionProperty.Builder (2.48.1)

publicstaticfinalclass ConnectionProperty.Builder

A builder for ConnectionProperty objects.

Inheritance

java.lang.Object > ConnectionProperty.Builder

Methods

build()

publicConnectionPropertybuild()

Creates a ConnectionProperty object.

Returns
Type Description
ConnectionProperty

setKey(String key)

publicConnectionProperty.BuildersetKey(Stringkey)

[Required] Name of the connection property to set.

Parameter
Name Description
key String
Returns
Type Description
ConnectionProperty.Builder

setValue(String value)

publicConnectionProperty.BuildersetValue(Stringvalue)

[Required] Value of the connection property.

Parameter
Name Description
value String
Returns
Type Description
ConnectionProperty.Builder

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.