MoveResourceErrorBody Class
- java.
lang. Object - com.
azure. resourcemanager. resourcemover. models. MoveResourceErrorBody
- com.
Implements
public final class MoveResourceErrorBody
implements JsonSerializable<MoveResourceErrorBody>
An error response from the Azure Migrate service.
Constructor Summary
| Constructor | Description |
|---|---|
| MoveResourceErrorBody() |
Creates an instance of Move |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
code()
Get the code property: An identifier for the error. |
|
List<Move |
details()
Get the details property: A list of additional details about the error. |
|
static
Move |
fromJson(JsonReader jsonReader)
Reads an instance of Move |
| String |
message()
Get the message property: A message describing the error, intended to be suitable for display in a user interface. |
| String |
target()
Get the target property: The target of the particular error. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
MoveResourceErrorBody
public MoveResourceErrorBody()
Creates an instance of MoveResourceErrorBody class.
Method Details
code
public String code()
Get the code property: An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
Returns:
details
public List<MoveResourceErrorBody> details()
Get the details property: A list of additional details about the error.
Returns:
fromJson
public static MoveResourceErrorBody fromJson(JsonReader jsonReader)
Reads an instance of MoveResourceErrorBody from the JsonReader.
Parameters:
Returns:
Throws:
message
public String message()
Get the message property: A message describing the error, intended to be suitable for display in a user interface.
Returns:
target
public String target()
Get the target property: The target of the particular error. For example, the name of the property in error.
Returns:
toJson
validate
public void validate()
Validates the instance.