Share via


ResourceMoveRequest Class

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

public class ResourceMoveRequest

Defines the request body for resource move operation.

Constructor Summary

Constructor Description
ResourceMoveRequest()

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.

ResourceMoveRequest withMoveResourceInputType(MoveResourceInputType moveResourceInputType)

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

ResourceMoveRequest 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.

ResourceMoveRequest 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

ResourceMoveRequest

public ResourceMoveRequest()

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 ResourceMoveRequest withMoveResourceInputType(MoveResourceInputType moveResourceInputType)

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

Parameters:

moveResourceInputType - the moveResourceInputType value to set

Returns:

the ResourceMoveRequest object itself.

withMoveResources

public ResourceMoveRequest 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 ResourceMoveRequest object itself.

withValidateOnly

public ResourceMoveRequest 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 ResourceMoveRequest object itself.

Applies to