Class ErrorResponse
- java.lang.Object
-
- com.microsoft.azure.management.resources.ErrorResponse
-
public class ErrorResponse extends Object
Error reponse indicates ARM is not able to process the incoming request. The reason is provided in the error message.
-
-
Constructor Summary
Constructors Constructor Description ErrorResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringerrorCode()Get the errorCode value.StringerrorMessage()Get the errorMessage value.StringhttpStatus()Get the httpStatus value.ErrorResponsewithErrorCode(String errorCode)Set the errorCode value.ErrorResponsewithErrorMessage(String errorMessage)Set the errorMessage value.ErrorResponsewithHttpStatus(String httpStatus)Set the httpStatus value.
-
-
-
Method Detail
-
httpStatus
public String httpStatus()
Get the httpStatus value.- Returns:
- the httpStatus value
-
withHttpStatus
public ErrorResponse withHttpStatus(String httpStatus)
Set the httpStatus value.- Parameters:
httpStatus- the httpStatus value to set- Returns:
- the ErrorResponse object itself.
-
errorCode
public String errorCode()
Get the errorCode value.- Returns:
- the errorCode value
-
withErrorCode
public ErrorResponse withErrorCode(String errorCode)
Set the errorCode value.- Parameters:
errorCode- the errorCode value to set- Returns:
- the ErrorResponse object itself.
-
errorMessage
public String errorMessage()
Get the errorMessage value.- Returns:
- the errorMessage value
-
withErrorMessage
public ErrorResponse withErrorMessage(String errorMessage)
Set the errorMessage value.- Parameters:
errorMessage- the errorMessage value to set- Returns:
- the ErrorResponse object itself.
-
-