public class ResourceErrorResponse extends Object
| Constructor and Description |
|---|
ResourceErrorResponse() |
| Modifier and Type | Method and Description |
|---|---|
String |
errorCode()
Get error code.
|
String |
errorMessage()
Get error message indicating why the operation failed.
|
String |
httpStatus()
Get http status code.
|
ResourceErrorResponse |
withErrorCode(String errorCode)
Set error code.
|
ResourceErrorResponse |
withErrorMessage(String errorMessage)
Set error message indicating why the operation failed.
|
ResourceErrorResponse |
withHttpStatus(String httpStatus)
Set http status code.
|
public String httpStatus()
public ResourceErrorResponse withHttpStatus(String httpStatus)
httpStatus - the httpStatus value to setpublic String errorCode()
public ResourceErrorResponse withErrorCode(String errorCode)
errorCode - the errorCode value to setpublic String errorMessage()
public ResourceErrorResponse withErrorMessage(String errorMessage)
errorMessage - the errorMessage value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/