ApiError Class
- java.
lang. Object - com.
microsoft. azure. management. compute. ApiError
- com.
public class ApiError
Api error.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
code()
Get the code value. |
List<Api |
details()
Get the details value. |
Inner |
innererror()
Get the innererror value. |
String |
message()
Get the message value. |
String |
target()
Get the target value. |
Api |
withCode(String code)
Set the code value. |
Api |
withDetails(List<ApiErrorBase> details)
Set the details value. |
Api |
withInnererror(InnerError innererror)
Set the innererror value. |
Api |
withMessage(String message)
Set the message value. |
Api |
withTarget(String target)
Set the target value. |
Method Details
code
public String code()
Get the code value.
Returns:
details
public List
Get the details value.
Returns:
innererror
public InnerError innererror()
Get the innererror value.
Returns:
message
public String message()
Get the message value.
Returns:
target
public String target()
Get the target value.
Returns:
withCode
public ApiError withCode(String code)
Set the code value.
Parameters:
Returns:
withDetails
public ApiError withDetails(List
Set the details value.
Parameters:
Returns:
withInnererror
public ApiError withInnererror(InnerError innererror)
Set the innererror value.
Parameters:
Returns:
withMessage
public ApiError withMessage(String message)
Set the message value.
Parameters:
Returns:
withTarget
public ApiError withTarget(String target)
Set the target value.
Parameters:
Returns:
Applies to
Azure SDK for Java