Class DatabaseName.Builder (6.55.0)

public static class DatabaseName.Builder

Builder for projects/{project}/instances/{instance}/databases/{database}.

Inheritance

java.lang.Object > DatabaseName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public DatabaseName build()
Returns
TypeDescription
DatabaseName

getDatabase()

public String getDatabase()
Returns
TypeDescription
String

getInstance()

public String getInstance()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

setDatabase(String database)

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

setInstance(String instance)

public DatabaseName.Builder setInstance(String instance)
Parameter
NameDescription
instanceString
Returns
TypeDescription
DatabaseName.Builder

setProject(String project)

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