Aracılığıyla paylaş


AfdErrorResponse Class

  • java.lang.Object
    • com.microsoft.azure.management.cdn.AfdErrorResponse

public class AfdErrorResponse

Error response. Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).

Constructor Summary

Constructor Description
AfdErrorResponse()

Method Summary

Modifier and Type Method and Description
ErrorResponse error()

Get the error object.

AfdErrorResponse withError(ErrorResponse error)

Set the error object.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

AfdErrorResponse

public AfdErrorResponse()

Method Details

error

public ErrorResponse error()

Get the error object.

Returns:

the error value

withError

public AfdErrorResponse withError(ErrorResponse error)

Set the error object.

Parameters:

error - the error value to set

Returns:

the AfdErrorResponse object itself.

Applies to