次の方法で共有


ApiError Class

  • java.lang.Object
    • com.microsoft.azure.management.compute.ApiError

public class ApiError

Api error.

Method Summary

Modifier and Type Method and Description
String code()

Get the code value.

List<ApiErrorBase> details()

Get the details value.

InnerError innererror()

Get the innererror value.

String message()

Get the message value.

String target()

Get the target value.

ApiError withCode(String code)

Set the code value.

ApiError withDetails(List<ApiErrorBase> details)

Set the details value.

ApiError withInnererror(InnerError innererror)

Set the innererror value.

ApiError withMessage(String message)

Set the message value.

ApiError withTarget(String target)

Set the target value.

Method Details

code

public String code()

Get the code value.

Returns:

the code value

details

public List details()

Get the details value.

Returns:

the details value

innererror

public InnerError innererror()

Get the innererror value.

Returns:

the innererror value

message

public String message()

Get the message value.

Returns:

the message value

target

public String target()

Get the target value.

Returns:

the target value

withCode

public ApiError withCode(String code)

Set the code value.

Parameters:

code - the code value to set

Returns:

the ApiError object itself.

withDetails

public ApiError withDetails(List details)

Set the details value.

Parameters:

details - the details value to set

Returns:

the ApiError object itself.

withInnererror

public ApiError withInnererror(InnerError innererror)

Set the innererror value.

Parameters:

innererror - the innererror value to set

Returns:

the ApiError object itself.

withMessage

public ApiError withMessage(String message)

Set the message value.

Parameters:

message - the message value to set

Returns:

the ApiError object itself.

withTarget

public ApiError withTarget(String target)

Set the target value.

Parameters:

target - the target value to set

Returns:

the ApiError object itself.

Applies to