你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ErrorEntity Class
- java.
lang. Object - com.
microsoft. azure. management. appservice. ErrorEntity
- com.
public class ErrorEntity
Body of the error response returned from the API.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
code()
Get the code value. |
String |
extendedCode()
Get the extendedCode value. |
List<Error |
innerErrors()
Get the innerErrors value. |
String |
message()
Get the message value. |
String |
messageTemplate()
Get the messageTemplate value. |
List<String> |
parameters()
Get the parameters value. |
Error |
withCode(String code)
Set the code value. |
Error |
withExtendedCode(String extendedCode)
Set the extendedCode value. |
Error |
withInnerErrors(List<ErrorEntity> innerErrors)
Set the innerErrors value. |
Error |
withMessage(String message)
Set the message value. |
Error |
withMessageTemplate(String messageTemplate)
Set the messageTemplate value. |
Error |
withParameters(List<String> parameters)
Set the parameters value. |
Method Details
code
public String code()
Get the code value.
Returns:
extendedCode
public String extendedCode()
Get the extendedCode value.
Returns:
innerErrors
public List
Get the innerErrors value.
Returns:
message
public String message()
Get the message value.
Returns:
messageTemplate
public String messageTemplate()
Get the messageTemplate value.
Returns:
parameters
public List
Get the parameters value.
Returns:
withCode
public ErrorEntity withCode(String code)
Set the code value.
Parameters:
Returns:
withExtendedCode
public ErrorEntity withExtendedCode(String extendedCode)
Set the extendedCode value.
Parameters:
Returns:
withInnerErrors
public ErrorEntity withInnerErrors(List
Set the innerErrors value.
Parameters:
Returns:
withMessage
public ErrorEntity withMessage(String message)
Set the message value.
Parameters:
Returns:
withMessageTemplate
public ErrorEntity withMessageTemplate(String messageTemplate)
Set the messageTemplate value.
Parameters:
Returns:
withParameters
public ErrorEntity withParameters(List
Set the parameters value.
Parameters:
Returns: