Class AfdErrorResponse

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

public class AfdErrorResponse extends Object
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 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.