Class ResponseWithError

java.lang.Object
com.microsoft.azure.management.monitor.ResponseWithError

public class ResponseWithError extends Object
An error response from the API.
  • Constructor Details

    • ResponseWithError

      public ResponseWithError()
  • Method Details

    • error

      public Error error()
      Get error information.
      Returns:
      the error value
    • withError

      public ResponseWithError withError(Error error)
      Set error information.
      Parameters:
      error - the error value to set
      Returns:
      the ResponseWithError object itself.