你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ErrorEntity Class

  • java.lang.Object
    • com.microsoft.azure.management.appservice.ErrorEntity

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<ErrorEntity> innerErrors()

Get the innerErrors value.

String message()

Get the message value.

String messageTemplate()

Get the messageTemplate value.

List<String> parameters()

Get the parameters value.

ErrorEntity withCode(String code)

Set the code value.

ErrorEntity withExtendedCode(String extendedCode)

Set the extendedCode value.

ErrorEntity withInnerErrors(List<ErrorEntity> innerErrors)

Set the innerErrors value.

ErrorEntity withMessage(String message)

Set the message value.

ErrorEntity withMessageTemplate(String messageTemplate)

Set the messageTemplate value.

ErrorEntity withParameters(List<String> parameters)

Set the parameters value.

Method Details

code

public String code()

Get the code value.

Returns:

the code value

extendedCode

public String extendedCode()

Get the extendedCode value.

Returns:

the extendedCode value

innerErrors

public List innerErrors()

Get the innerErrors value.

Returns:

the innerErrors value

message

public String message()

Get the message value.

Returns:

the message value

messageTemplate

public String messageTemplate()

Get the messageTemplate value.

Returns:

the messageTemplate value

parameters

public List parameters()

Get the parameters value.

Returns:

the parameters value

withCode

public ErrorEntity withCode(String code)

Set the code value.

Parameters:

code - the code value to set

Returns:

the ErrorEntity object itself.

withExtendedCode

public ErrorEntity withExtendedCode(String extendedCode)

Set the extendedCode value.

Parameters:

extendedCode - the extendedCode value to set

Returns:

the ErrorEntity object itself.

withInnerErrors

public ErrorEntity withInnerErrors(List innerErrors)

Set the innerErrors value.

Parameters:

innerErrors - the innerErrors value to set

Returns:

the ErrorEntity object itself.

withMessage

public ErrorEntity withMessage(String message)

Set the message value.

Parameters:

message - the message value to set

Returns:

the ErrorEntity object itself.

withMessageTemplate

public ErrorEntity withMessageTemplate(String messageTemplate)

Set the messageTemplate value.

Parameters:

messageTemplate - the messageTemplate value to set

Returns:

the ErrorEntity object itself.

withParameters

public ErrorEntity withParameters(List parameters)

Set the parameters value.

Parameters:

parameters - the parameters value to set

Returns:

the ErrorEntity object itself.

Applies to