Class IndexName.Builder (2.4.0)

public static class IndexName.Builder

Builder for projects/{project}/locations/{location}/indexes/{index}.

Inheritance

java.lang.Object > IndexName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public IndexName build()
Returns
TypeDescription
IndexName

getIndex()

public String getIndex()
Returns
TypeDescription
String

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

setIndex(String index)

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

setLocation(String location)

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

setProject(String project)

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