public class ErrorDetail extends Object
| Constructor | Description |
|---|---|
ErrorDetail() |
| Modifier and Type | Method | Description |
|---|---|---|
Object |
additionalProperties() |
Get the additionalProperties value.
|
String |
code() |
Get the error's code.
|
String |
message() |
Get a human readable error message.
|
List<String> |
resources() |
Get indicates resources which were responsible for the error.
|
String |
target() |
Get indicates which property in the request is responsible for the error.
|
String |
value() |
Get indicates which value in 'target' is responsible for the error.
|
ErrorDetail |
withAdditionalProperties(Object additionalProperties) |
Set the additionalProperties value.
|
ErrorDetail |
withCode(String code) |
Set the error's code.
|
ErrorDetail |
withMessage(String message) |
Set a human readable error message.
|
ErrorDetail |
withResources(List<String> resources) |
Set indicates resources which were responsible for the error.
|
ErrorDetail |
withTarget(String target) |
Set indicates which property in the request is responsible for the error.
|
ErrorDetail |
withValue(String value) |
Set indicates which value in 'target' is responsible for the error.
|
public String code()
public ErrorDetail withCode(String code)
code - the code value to setpublic String message()
public ErrorDetail withMessage(String message)
message - the message value to setpublic String target()
public ErrorDetail withTarget(String target)
target - the target value to setpublic String value()
public ErrorDetail withValue(String value)
value - the value value to setpublic List<String> resources()
public ErrorDetail withResources(List<String> resources)
resources - the resources value to setpublic Object additionalProperties()
public ErrorDetail withAdditionalProperties(Object additionalProperties)
additionalProperties - the additionalProperties 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.
*/