Class CloudError
- java.lang.Object
-
- com.azure.analytics.synapse.artifacts.models.CloudError
-
public class CloudError extends Object
The object that defines the structure of an Azure Synapse error response.
-
-
Constructor Summary
Constructors Constructor Description CloudError()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCode()
Get the code property: Error code.List<CloudError>
getDetails()
Get the details property: Array with additional error details.String
getMessage()
Get the message property: Error message.String
getTarget()
Get the target property: Property name/path in request associated with error.CloudError
setCode(String code)
Set the code property: Error code.CloudError
setDetails(List<CloudError> details)
Set the details property: Array with additional error details.CloudError
setMessage(String message)
Set the message property: Error message.CloudError
setTarget(String target)
Set the target property: Property name/path in request associated with error.
-
-
-
Method Detail
-
getCode
public String getCode()
Get the code property: Error code.- Returns:
- the code value.
-
setCode
public CloudError setCode(String code)
Set the code property: Error code.- Parameters:
code
- the code value to set.- Returns:
- the CloudError object itself.
-
getMessage
public String getMessage()
Get the message property: Error message.- Returns:
- the message value.
-
setMessage
public CloudError setMessage(String message)
Set the message property: Error message.- Parameters:
message
- the message value to set.- Returns:
- the CloudError object itself.
-
getTarget
public String getTarget()
Get the target property: Property name/path in request associated with error.- Returns:
- the target value.
-
setTarget
public CloudError setTarget(String target)
Set the target property: Property name/path in request associated with error.- Parameters:
target
- the target value to set.- Returns:
- the CloudError object itself.
-
getDetails
public List<CloudError> getDetails()
Get the details property: Array with additional error details.- Returns:
- the details value.
-
setDetails
public CloudError setDetails(List<CloudError> details)
Set the details property: Array with additional error details.- Parameters:
details
- the details value to set.- Returns:
- the CloudError object itself.
-
-