ModelSettings Class
- java.
lang. Object - com.
azure. resourcemanager. machinelearning. models. ModelSettings
- com.
Implements
public final class ModelSettings
implements JsonSerializable<ModelSettings>
The ModelSettings model.
Constructor Summary
| Constructor | Description |
|---|---|
| ModelSettings() |
Creates an instance of Model |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Model |
fromJson(JsonReader jsonReader)
Reads an instance of Model |
| String |
modelId()
Get the model |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Model |
withModelId(String modelId)
Set the model |
Methods inherited from java.lang.Object
Constructor Details
ModelSettings
public ModelSettings()
Creates an instance of ModelSettings class.
Method Details
fromJson
public static ModelSettings fromJson(JsonReader jsonReader)
Reads an instance of ModelSettings from the JsonReader.
Parameters:
Returns:
Throws:
modelId
public String modelId()
Get the modelId property: The unique model identifier that this ServerlessEndpoint should provision.
Returns:
toJson
validate
public void validate()
Validates the instance.
withModelId
public ModelSettings withModelId(String modelId)
Set the modelId property: The unique model identifier that this ServerlessEndpoint should provision.
Parameters:
Returns: