public class OperationResult extends Object
Constructor and Description |
---|
OperationResult() |
Modifier and Type | Method and Description |
---|---|
String |
getCode()
Get the code property: Error code.
|
List<CloudErrorAutoGenerated> |
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<CloudErrorAutoGenerated> 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.
|
public String getStatus()
public String getCode()
public OperationResult setCode(String code)
code
- the code value to set.public String getMessage()
public OperationResult setMessage(String message)
message
- the message value to set.public String getTarget()
public OperationResult setTarget(String target)
target
- the target value to set.public List<CloudErrorAutoGenerated> getDetails()
public OperationResult setDetails(List<CloudErrorAutoGenerated> details)
details
- the details value to set.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.