CommitRequest Class
- java.
lang. Object - com.
microsoft. azure. management. resourcemover. v2021_01_01.CommitRequest
- com.
public class CommitRequest
Defines the request body for commit operation.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| CommitRequest() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Move |
moveResourceInputType()
Get possible values include: 'Move |
| 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 move |
| java.lang.Boolean |
validateOnly()
Get gets or sets a value indicating whether the operation needs to only run pre-requisite. |
|
Commit |
withMoveResourceInputType(MoveResourceInputType moveResourceInputType)
Set possible values include: 'Move |
|
Commit |
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 move |
|
Commit |
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
Constructor Details
CommitRequest
public CommitRequest()
Method Details
moveResourceInputType
public MoveResourceInputType moveResourceInputType()
Get possible values include: 'MoveResourceId', 'MoveResourceSourceId'.
Returns:
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:
validateOnly
public Boolean validateOnly()
Get gets or sets a value indicating whether the operation needs to only run pre-requisite.
Returns:
withMoveResourceInputType
public CommitRequest withMoveResourceInputType(MoveResourceInputType moveResourceInputType)
Set possible values include: 'MoveResourceId', 'MoveResourceSourceId'.
Parameters:
Returns:
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:
Returns:
withValidateOnly
public CommitRequest withValidateOnly(Boolean validateOnly)
Set gets or sets a value indicating whether the operation needs to only run pre-requisite.
Parameters:
Returns: