Class IndexName.Builder (3.21.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
Type Description
IndexName

getCollection()

public String getCollection()
Returns
Type Description
String

getDatabase()

public String getDatabase()
Returns
Type Description
String

getIndex()

public String getIndex()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

setCollection(String collection)

public IndexName.Builder setCollection(String collection)
Parameter
Name Description
collection String
Returns
Type Description
IndexName.Builder

setDatabase(String database)

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

setIndex(String index)

public IndexName.Builder setIndex(String index)
Parameter
Name Description
index String
Returns
Type Description
IndexName.Builder

setProject(String project)

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