Class ModelName.Builder (2.42.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
Type Description
ModelName

getLocation()

public String getLocation()
Returns
Type Description
String

getModel()

public String getModel()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

setLocation(String location)

public ModelName.Builder setLocation(String location)
Parameter
Name Description
location String
Returns
Type Description
ModelName.Builder

setModel(String model)

public ModelName.Builder setModel(String model)
Parameter
Name Description
model String
Returns
Type Description
ModelName.Builder

setProject(String project)

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