NotebookPreparationError Class
- java.
lang. Object - com.
azure. resourcemanager. machinelearning. models. NotebookPreparationError
- com.
Implements
public final class NotebookPreparationError
implements JsonSerializable<NotebookPreparationError>
The NotebookPreparationError model.
Constructor Summary
| Constructor | Description |
|---|---|
| NotebookPreparationError() |
Creates an instance of Notebook |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
errorMessage()
Get the error |
|
static
Notebook |
fromJson(JsonReader jsonReader)
Reads an instance of Notebook |
| Integer |
statusCode()
Get the status |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Notebook |
withErrorMessage(String errorMessage)
Set the error |
|
Notebook |
withStatusCode(Integer statusCode)
Set the status |
Methods inherited from java.lang.Object
Constructor Details
NotebookPreparationError
public NotebookPreparationError()
Creates an instance of NotebookPreparationError class.
Method Details
errorMessage
public String errorMessage()
Get the errorMessage property: The errorMessage property.
Returns:
fromJson
public static NotebookPreparationError fromJson(JsonReader jsonReader)
Reads an instance of NotebookPreparationError from the JsonReader.
Parameters:
Returns:
Throws:
statusCode
public Integer statusCode()
Get the statusCode property: The statusCode property.
Returns:
toJson
validate
public void validate()
Validates the instance.
withErrorMessage
public NotebookPreparationError withErrorMessage(String errorMessage)
Set the errorMessage property: The errorMessage property.
Parameters:
Returns:
withStatusCode
public NotebookPreparationError withStatusCode(Integer statusCode)
Set the statusCode property: The statusCode property.
Parameters:
Returns: