Share via


PrepareRequest Class

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

public class PrepareRequest

Defines the request body for initiate prepare operation.

Constructor Summary

Constructor Description
PrepareRequest()

Method Summary

Modifier and Type Method and Description
MoveResourceInputType moveResourceInputType()

Get possible values include: 'MoveResourceId', 'MoveResourceSourceId'.

java.util.List<java.lang.String> moveResources()

Get gets or sets the list of resource Id's, by default it accepts move resource id's unless the input type is switched via moveResourceInputType property.

java.lang.Boolean validateOnly()

Get gets or sets a value indicating whether the operation needs to only run pre-requisite.

PrepareRequest withMoveResourceInputType(MoveResourceInputType moveResourceInputType)

Set possible values include: 'MoveResourceId', 'MoveResourceSourceId'.

PrepareRequest withMoveResources(List<String> moveResources)

Set gets or sets the list of resource Id's, by default it accepts move resource id's unless the input type is switched via moveResourceInputType property.

PrepareRequest withValidateOnly(Boolean validateOnly)

Set gets or sets a value indicating whether the operation needs to only run pre-requisite.

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

PrepareRequest

public PrepareRequest()

Method Details

moveResourceInputType

public MoveResourceInputType moveResourceInputType()

Get possible values include: 'MoveResourceId', 'MoveResourceSourceId'.

Returns:

the moveResourceInputType value

moveResources

public List<String> moveResources()

Get gets or sets the list of resource Id's, by default it accepts move resource id's unless the input type is switched via moveResourceInputType property.

Returns:

the moveResources value

validateOnly

public Boolean validateOnly()

Get gets or sets a value indicating whether the operation needs to only run pre-requisite.

Returns:

the validateOnly value

withMoveResourceInputType

public PrepareRequest withMoveResourceInputType(MoveResourceInputType moveResourceInputType)

Set possible values include: 'MoveResourceId', 'MoveResourceSourceId'.

Parameters:

moveResourceInputType - the moveResourceInputType value to set

Returns:

the PrepareRequest object itself.

withMoveResources

public PrepareRequest withMoveResources(List<String> moveResources)

Set gets or sets the list of resource Id's, by default it accepts move resource id's unless the input type is switched via moveResourceInputType property.

Parameters:

moveResources - the moveResources value to set

Returns:

the PrepareRequest object itself.

withValidateOnly

public PrepareRequest withValidateOnly(Boolean validateOnly)

Set gets or sets a value indicating whether the operation needs to only run pre-requisite.

Parameters:

validateOnly - the validateOnly value to set

Returns:

the PrepareRequest object itself.

Applies to