Class DatabaseName.Builder (0.32.0)

public static class DatabaseName.Builder

Builder for projects/{project}/locations/{location}/catalogs/{catalog}/databases/{database}.

Inheritance

java.lang.Object > DatabaseName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public DatabaseName build()
Returns
Type Description
DatabaseName

getCatalog()

public String getCatalog()
Returns
Type Description
String

getDatabase()

public String getDatabase()
Returns
Type Description
String

getLocation()

public String getLocation()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

setCatalog(String catalog)

public DatabaseName.Builder setCatalog(String catalog)
Parameter
Name Description
catalog String
Returns
Type Description
DatabaseName.Builder

setDatabase(String database)

public DatabaseName.Builder setDatabase(String database)
Parameter
Name Description
database String
Returns
Type Description
DatabaseName.Builder

setLocation(String location)

public DatabaseName.Builder setLocation(String location)
Parameter
Name Description
location String
Returns
Type Description
DatabaseName.Builder

setProject(String project)

public DatabaseName.Builder setProject(String project)
Parameter
Name Description
project String
Returns
Type Description
DatabaseName.Builder