Class IndexName.Builder (3.10.0)

public static class IndexName.Builder

Builder for projects/{project}/databases/{database}/collectionGroups/{collection}/indexes/{index}.

Inheritance

java.lang.Object > IndexName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public IndexName build()
Returns
TypeDescription
IndexName

getCollection()

public String getCollection()
Returns
TypeDescription
String

getDatabase()

public String getDatabase()
Returns
TypeDescription
String

getIndex()

public String getIndex()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

setCollection(String collection)

public IndexName.Builder setCollection(String collection)
Parameter
NameDescription
collectionString
Returns
TypeDescription
IndexName.Builder

setDatabase(String database)

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

setIndex(String index)

public IndexName.Builder setIndex(String index)
Parameter
NameDescription
indexString
Returns
TypeDescription
IndexName.Builder

setProject(String project)

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