Class ModelName.Builder (2.22.0)

public static class ModelName.Builder

Builder for projects/{project}/locations/{location}/models/{model}.

Inheritance

java.lang.Object > ModelName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public ModelName build()
Returns
TypeDescription
ModelName

getLocation()

public String getLocation()
Returns
TypeDescription
String

getModel()

public String getModel()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

setLocation(String location)

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

setModel(String model)

public ModelName.Builder setModel(String model)
Parameter
NameDescription
modelString
Returns
TypeDescription
ModelName.Builder

setProject(String project)

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