Share via


MoveResourceStatus Class

  • java.lang.Object
    • com.microsoft.azure.management.resourcemover.v2021_01_01.MoveResourceStatus

public class MoveResourceStatus

Defines the move resource status.

Constructor Summary

Constructor Description
MoveResourceStatus()

Method Summary

Modifier and Type Method and Description
MoveResourceError errors()

Get the errors value.

JobStatus jobStatus()

Get the jobStatus value.

MoveState moveState()

Get possible values include: 'AssignmentPending', 'PreparePending', 'PrepareInProgress', 'PrepareFailed', 'MovePending', 'MoveInProgress', 'MoveFailed', 'DiscardInProgress', 'DiscardFailed', 'CommitPending', 'CommitInProgress', 'CommitFailed', 'Committed', 'DeleteSourcePending', 'ResourceMoveCompleted'.

MoveResourceStatus withErrors(MoveResourceError errors)

Set the errors value.

MoveResourceStatus withJobStatus(JobStatus jobStatus)

Set the jobStatus value.

MoveResourceStatus withMoveState(MoveState moveState)

Set possible values include: 'AssignmentPending', 'PreparePending', 'PrepareInProgress', 'PrepareFailed', 'MovePending', 'MoveInProgress', 'MoveFailed', 'DiscardInProgress', 'DiscardFailed', 'CommitPending', 'CommitInProgress', 'CommitFailed', 'Committed', 'DeleteSourcePending', 'ResourceMoveCompleted'.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

MoveResourceStatus

public MoveResourceStatus()

Method Details

errors

public MoveResourceError errors()

Get the errors value.

Returns:

the errors value

jobStatus

public JobStatus jobStatus()

Get the jobStatus value.

Returns:

the jobStatus value

moveState

public MoveState moveState()

Get possible values include: 'AssignmentPending', 'PreparePending', 'PrepareInProgress', 'PrepareFailed', 'MovePending', 'MoveInProgress', 'MoveFailed', 'DiscardInProgress', 'DiscardFailed', 'CommitPending', 'CommitInProgress', 'CommitFailed', 'Committed', 'DeleteSourcePending', 'ResourceMoveCompleted'.

Returns:

the moveState value

withErrors

public MoveResourceStatus withErrors(MoveResourceError errors)

Set the errors value.

Parameters:

errors - the errors value to set

Returns:

the MoveResourceStatus object itself.

withJobStatus

public MoveResourceStatus withJobStatus(JobStatus jobStatus)

Set the jobStatus value.

Parameters:

jobStatus - the jobStatus value to set

Returns:

the MoveResourceStatus object itself.

withMoveState

public MoveResourceStatus withMoveState(MoveState moveState)

Set possible values include: 'AssignmentPending', 'PreparePending', 'PrepareInProgress', 'PrepareFailed', 'MovePending', 'MoveInProgress', 'MoveFailed', 'DiscardInProgress', 'DiscardFailed', 'CommitPending', 'CommitInProgress', 'CommitFailed', 'Committed', 'DeleteSourcePending', 'ResourceMoveCompleted'.

Parameters:

moveState - the moveState value to set

Returns:

the MoveResourceStatus object itself.

Applies to