Class DataSourceName.ProjectLocationDataSourceBuilder (2.9.0)

publicstaticclass DataSourceName.ProjectLocationDataSourceBuilder

Builder for projects/{project}/locations/{location}/dataSources/{data_source}.

Inheritance

java.lang.Object > DataSourceName.ProjectLocationDataSourceBuilder

Constructors

ProjectLocationDataSourceBuilder()

protectedProjectLocationDataSourceBuilder()

Methods

build()

publicDataSourceNamebuild()
Returns
Type Description

getDataSource()

publicStringgetDataSource()
Returns
Type Description

getLocation()

publicStringgetLocation()
Returns
Type Description

getProject()

publicStringgetProject()
Returns
Type Description

setDataSource(String dataSource)

publicDataSourceName.ProjectLocationDataSourceBuildersetDataSource(StringdataSource)
Parameter
Name Description
dataSource String
Returns
Type Description

setLocation(String location)

publicDataSourceName.ProjectLocationDataSourceBuildersetLocation(Stringlocation)
Parameter
Name Description
location String
Returns
Type Description

setProject(String project)

publicDataSourceName.ProjectLocationDataSourceBuildersetProject(Stringproject)
Parameter
Name Description
project 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.