Class NotebookPreparationError
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.NotebookPreparationError
-
public final class NotebookPreparationError extends Object
The NotebookPreparationError model.
-
-
Constructor Summary
Constructors Constructor Description NotebookPreparationError()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
errorMessage()
Get the errorMessage property: The errorMessage property.Integer
statusCode()
Get the statusCode property: The statusCode property.void
validate()
Validates the instance.NotebookPreparationError
withErrorMessage(String errorMessage)
Set the errorMessage property: The errorMessage property.NotebookPreparationError
withStatusCode(Integer statusCode)
Set the statusCode property: The statusCode property.
-
-
-
Method Detail
-
errorMessage
public String errorMessage()
Get the errorMessage property: The errorMessage property.- Returns:
- the errorMessage value.
-
withErrorMessage
public NotebookPreparationError withErrorMessage(String errorMessage)
Set the errorMessage property: The errorMessage property.- Parameters:
errorMessage
- the errorMessage value to set.- Returns:
- the NotebookPreparationError object itself.
-
statusCode
public Integer statusCode()
Get the statusCode property: The statusCode property.- Returns:
- the statusCode value.
-
withStatusCode
public NotebookPreparationError withStatusCode(Integer statusCode)
Set the statusCode property: The statusCode property.- Parameters:
statusCode
- the statusCode value to set.- Returns:
- the NotebookPreparationError object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-