Class RepositoryName.Builder (3.82.0)

publicstaticclass RepositoryName.Builder

Builder for projects/{project}/locations/{location}/connections/{connection}/repositories/{repository}.

Inheritance

java.lang.Object > RepositoryName.Builder

Constructors

Builder()

protectedBuilder()

Methods

build()

publicRepositoryNamebuild()
Returns
Type Description
RepositoryName

getConnection()

publicStringgetConnection()
Returns
Type Description
String

getLocation()

publicStringgetLocation()
Returns
Type Description
String

getProject()

publicStringgetProject()
Returns
Type Description
String

getRepository()

publicStringgetRepository()
Returns
Type Description
String

setConnection(String connection)

publicRepositoryName.BuildersetConnection(Stringconnection)
Parameter
Name Description
connection String
Returns
Type Description
RepositoryName.Builder

setLocation(String location)

publicRepositoryName.BuildersetLocation(Stringlocation)
Parameter
Name Description
location String
Returns
Type Description
RepositoryName.Builder

setProject(String project)

publicRepositoryName.BuildersetProject(Stringproject)
Parameter
Name Description
project String
Returns
Type Description
RepositoryName.Builder

setRepository(String repository)

publicRepositoryName.BuildersetRepository(Stringrepository)
Parameter
Name Description
repository String
Returns
Type Description
RepositoryName.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年11月19日 UTC.