Class DatabaseName.Builder (0.23.0)

public static class DatabaseName.Builder

Builder for projects/{project}/locations/{location}/clusters/{cluster}/databases/{database}.

Inheritance

java.lang.Object > DatabaseName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public DatabaseName build()
Returns
Type Description
DatabaseName

getCluster()

public String getCluster()
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

setCluster(String cluster)

public DatabaseName.Builder setCluster(String cluster)
Parameter
Name Description
cluster 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