Class OperationResult
- java.lang.Object
-
- com.azure.analytics.synapse.artifacts.models.OperationResult
-
public class OperationResult extends Object
Operation status for the operation.
-
-
Constructor Summary
Constructors Constructor Description OperationResult()
-
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
getStatus()
Get the status property: Operation status.String
getTarget()
Get the target property: Property name/path in request associated with error.OperationResult
setCode(String code)
Set the code property: Error code.OperationResult
setDetails(List<CloudError> details)
Set the details property: Array with additional error details.OperationResult
setMessage(String message)
Set the message property: Error message.OperationResult
setTarget(String target)
Set the target property: Property name/path in request associated with error.
-
-
-
Method Detail
-
getStatus
public String getStatus()
Get the status property: Operation status.- Returns:
- the status value.
-
getCode
public String getCode()
Get the code property: Error code.- Returns:
- the code value.
-
setCode
public OperationResult setCode(String code)
Set the code property: Error code.- Parameters:
code
- the code value to set.- Returns:
- the OperationResult object itself.
-
getMessage
public String getMessage()
Get the message property: Error message.- Returns:
- the message value.
-
setMessage
public OperationResult setMessage(String message)
Set the message property: Error message.- Parameters:
message
- the message value to set.- Returns:
- the OperationResult object itself.
-
getTarget
public String getTarget()
Get the target property: Property name/path in request associated with error.- Returns:
- the target value.
-
setTarget
public OperationResult setTarget(String target)
Set the target property: Property name/path in request associated with error.- Parameters:
target
- the target value to set.- Returns:
- the OperationResult object itself.
-
getDetails
public List<CloudError> getDetails()
Get the details property: Array with additional error details.- Returns:
- the details value.
-
setDetails
public OperationResult setDetails(List<CloudError> details)
Set the details property: Array with additional error details.- Parameters:
details
- the details value to set.- Returns:
- the OperationResult object itself.
-
-