Class DatabaseName.Builder (0.19.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
TypeDescription
DatabaseName

getCatalog()

public String getCatalog()
Returns
TypeDescription
String

getDatabase()

public String getDatabase()
Returns
TypeDescription
String

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

setCatalog(String catalog)

public DatabaseName.Builder setCatalog(String catalog)
Parameter
NameDescription
catalogString
Returns
TypeDescription
DatabaseName.Builder

setDatabase(String database)

public DatabaseName.Builder setDatabase(String database)
Parameter
NameDescription
databaseString
Returns
TypeDescription
DatabaseName.Builder

setLocation(String location)

public DatabaseName.Builder setLocation(String location)
Parameter
NameDescription
locationString
Returns
TypeDescription
DatabaseName.Builder

setProject(String project)

public DatabaseName.Builder setProject(String project)
Parameter
NameDescription
projectString
Returns
TypeDescription
DatabaseName.Builder