MoveResourceStatus Class
- java.
lang. Object - com.
azure. resourcemanager. resourcemover. models. MoveResourceStatus
- com.
Implements
public class MoveResourceStatus
implements JsonSerializable<MoveResourceStatus>
Defines the move resource status.
Constructor Summary
| Constructor | Description |
|---|---|
| MoveResourceStatus() |
Creates an instance of Move |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Move |
errors()
Get the errors property: An error response from the azure resource mover service. |
|
static
Move |
fromJson(JsonReader jsonReader)
Reads an instance of Move |
|
Job |
jobStatus()
Get the job |
|
Move |
moveState()
Get the move |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Move |
withErrors(MoveResourceError errors)
Set the errors property: An error response from the azure resource mover service. |
|
Move |
withJobStatus(JobStatus jobStatus)
Set the job |
Methods inherited from java.lang.Object
Constructor Details
MoveResourceStatus
public MoveResourceStatus()
Creates an instance of MoveResourceStatus class.
Method Details
errors
public MoveResourceError errors()
Get the errors property: An error response from the azure resource mover service.
Returns:
fromJson
public static MoveResourceStatus fromJson(JsonReader jsonReader)
Reads an instance of MoveResourceStatus from the JsonReader.
Parameters:
Returns:
Throws:
jobStatus
public JobStatus jobStatus()
Get the jobStatus property: Defines the job status.
Returns:
moveState
public MoveState moveState()
Get the moveState property: Defines the MoveResource states.
Returns:
toJson
validate
public void validate()
Validates the instance.
withErrors
public MoveResourceStatus withErrors(MoveResourceError errors)
Set the errors property: An error response from the azure resource mover service.
Parameters:
Returns:
withJobStatus
public MoveResourceStatus withJobStatus(JobStatus jobStatus)
Set the jobStatus property: Defines the job status.
Parameters:
Returns: