Class SparkServiceError
- java.lang.Object
-
- com.azure.analytics.synapse.artifacts.models.SparkServiceError
-
public final class SparkServiceError extends Object
The SparkServiceError model.
-
-
Constructor Summary
Constructors Constructor Description SparkServiceError()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getErrorCode()
Get the errorCode property: The errorCode property.String
getMessage()
Get the message property: The message property.SparkErrorSource
getSource()
Get the source property: The source property.SparkServiceError
setErrorCode(String errorCode)
Set the errorCode property: The errorCode property.SparkServiceError
setMessage(String message)
Set the message property: The message property.SparkServiceError
setSource(SparkErrorSource source)
Set the source property: The source property.
-
-
-
Method Detail
-
getMessage
public String getMessage()
Get the message property: The message property.- Returns:
- the message value.
-
setMessage
public SparkServiceError setMessage(String message)
Set the message property: The message property.- Parameters:
message
- the message value to set.- Returns:
- the SparkServiceError object itself.
-
getErrorCode
public String getErrorCode()
Get the errorCode property: The errorCode property.- Returns:
- the errorCode value.
-
setErrorCode
public SparkServiceError setErrorCode(String errorCode)
Set the errorCode property: The errorCode property.- Parameters:
errorCode
- the errorCode value to set.- Returns:
- the SparkServiceError object itself.
-
getSource
public SparkErrorSource getSource()
Get the source property: The source property.- Returns:
- the source value.
-
setSource
public SparkServiceError setSource(SparkErrorSource source)
Set the source property: The source property.- Parameters:
source
- the source value to set.- Returns:
- the SparkServiceError object itself.
-
-