Class ErrorEntity
java.lang.Object
com.microsoft.azure.management.appservice.ErrorEntity
Body of the error response returned from the API.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncode()
Get basic error code.Get type of error.Get inner errors.message()
Get any details of the error.Get message template.Get parameters for the template.Set basic error code.withExtendedCode
(String extendedCode) Set type of error.withInnerErrors
(List<ErrorEntity> innerErrors) Set inner errors.withMessage
(String message) Set any details of the error.withMessageTemplate
(String messageTemplate) Set message template.withParameters
(List<String> parameters) Set parameters for the template.
-
Constructor Details
-
ErrorEntity
public ErrorEntity()
-
-
Method Details
-
extendedCode
Get type of error.- Returns:
- the extendedCode value
-
withExtendedCode
Set type of error.- Parameters:
extendedCode
- the extendedCode value to set- Returns:
- the ErrorEntity object itself.
-
messageTemplate
Get message template.- Returns:
- the messageTemplate value
-
withMessageTemplate
Set message template.- Parameters:
messageTemplate
- the messageTemplate value to set- Returns:
- the ErrorEntity object itself.
-
parameters
Get parameters for the template.- Returns:
- the parameters value
-
withParameters
Set parameters for the template.- Parameters:
parameters
- the parameters value to set- Returns:
- the ErrorEntity object itself.
-
innerErrors
Get inner errors.- Returns:
- the innerErrors value
-
withInnerErrors
Set inner errors.- Parameters:
innerErrors
- the innerErrors value to set- Returns:
- the ErrorEntity object itself.
-
code
Get basic error code.- Returns:
- the code value
-
withCode
Set basic error code.- Parameters:
code
- the code value to set- Returns:
- the ErrorEntity object itself.
-
message
Get any details of the error.- Returns:
- the message value
-
withMessage
Set any details of the error.- Parameters:
message
- the message value to set- Returns:
- the ErrorEntity object itself.
-