Model.Builder

  • The Model.Builder class is used to construct a Model object.

  • You can set the model's unique ID and version using setModelId.

  • The location of the model can be set using setModelLocation.

  • The model namespace can be set using setModelNamespace.

  • The build method is used to create the final Model object from the builder.

public static class Model.Builder extends Object

Builder class.

Public Constructor Summary

Builder()
Creates the model builder.

Public Method Summary

Model
build()
Builds the Model class.
Model.Builder
setModelId(String value)
Sets the unique ID of the model and version.
Model.Builder
setModelLocation(Model.ModelLocation value)
Sets location of the model.
Model.Builder
setModelNamespace(String value)
Sets the model namespace.

Inherited Method Summary

Public Constructors

public Builder ()

Creates the model builder.

Public Methods

public Model build ()

Builds the Model class.

public Model.Builder setModelId (String value)

Sets the unique ID of the model and version. Used for monitoring.

public Model.Builder setModelLocation (Model.ModelLocation value)

Sets location of the model.

public Model.Builder setModelNamespace (String value)

Sets the model namespace. Used for monitoring.