Share via


CommitRequest Class

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

public class CommitRequest

Defines the request body for commit operation.

Constructor Summary

Constructor Description
CommitRequest()

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.

CommitRequest withMoveResourceInputType(MoveResourceInputType moveResourceInputType)

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

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

CommitRequest 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

CommitRequest

public CommitRequest()

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

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

Parameters:

moveResourceInputType - the moveResourceInputType value to set

Returns:

the CommitRequest object itself.

withMoveResources

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

withValidateOnly

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

Applies to