ErrorDetails Class
- java.
lang. Object - com.
microsoft. azure. management. resourcegraph. v2019_04_01.ErrorDetails
- com.
public class ErrorDetails
Error details.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| ErrorDetails() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.util.Map<java.lang.String,java.lang.Object> |
additionalProperties()
Get unmatched properties from the message are deserialized this collection. |
| java.lang.String |
code()
Get error code identifying the specific error. |
| java.lang.String |
message()
Get a human readable error message. |
|
Error |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set unmatched properties from the message are deserialized this collection. |
|
Error |
withCode(String code)
Set error code identifying the specific error. |
|
Error |
withMessage(String message)
Set a human readable error message. |
Methods inherited from java.lang.Object
Constructor Details
ErrorDetails
public ErrorDetails()
Method Details
additionalProperties
public Map<String,Object> additionalProperties()
Get unmatched properties from the message are deserialized this collection.
Returns:
code
public String code()
Get error code identifying the specific error.
Returns:
message
public String message()
Get a human readable error message.
Returns:
withAdditionalProperties
public ErrorDetails withAdditionalProperties(Map<String,Object> additionalProperties)
Set unmatched properties from the message are deserialized this collection.
Parameters:
Returns:
withCode
public ErrorDetails withCode(String code)
Set error code identifying the specific error.
Parameters:
Returns:
withMessage
public ErrorDetails withMessage(String message)
Set a human readable error message.
Parameters:
Returns: