public final class CloudErrorBody extends Object
Constructor and Description |
---|
CloudErrorBody() |
Modifier and Type | Method and Description |
---|---|
String |
getCode()
Get the code property: An identifier for the error.
|
String |
getMessage()
Get the message property: A message describing the error, intended to be suitable for displaying in a user
interface.
|
CloudErrorBody |
setCode(String code)
Set the code property: An identifier for the error.
|
CloudErrorBody |
setMessage(String message)
Set the message property: A message describing the error, intended to be suitable for displaying in a user
interface.
|
void |
validate()
Validates the instance.
|
public String getCode()
public CloudErrorBody setCode(String code)
code
- the code value to set.public String getMessage()
public CloudErrorBody setMessage(String message)
message
- the message value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.