BulkRemoveRequest Class
- java.
lang. Object - com.
azure. resourcemanager. resourcemover. models. BulkRemoveRequest
- com.
Implements
public final class BulkRemoveRequest
implements JsonSerializable<BulkRemoveRequest>
Defines the request body for bulk remove of move resources operation.
Constructor Summary
| Constructor | Description |
|---|---|
| BulkRemoveRequest() |
Creates an instance of Bulk |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Bulk |
fromJson(JsonReader jsonReader)
Reads an instance of Bulk |
|
Move |
moveResourceInputType()
Get the move |
| List<String> |
moveResources()
Get the move |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| Boolean |
validateOnly()
Get the validate |
|
Bulk |
withMoveResourceInputType(MoveResourceInputType moveResourceInputType)
Set the move |
|
Bulk |
withMoveResources(List<String> moveResources)
Set the move |
|
Bulk |
withValidateOnly(Boolean validateOnly)
Set the validate |
Methods inherited from java.lang.Object
Constructor Details
BulkRemoveRequest
public BulkRemoveRequest()
Creates an instance of BulkRemoveRequest class.
Method Details
fromJson
public static BulkRemoveRequest fromJson(JsonReader jsonReader)
Reads an instance of BulkRemoveRequest from the JsonReader.
Parameters:
Returns:
Throws:
moveResourceInputType
public MoveResourceInputType moveResourceInputType()
Get the moveResourceInputType property: Defines the move resource input type.
Returns:
moveResources
public List<String> moveResources()
Get the moveResources property: 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:
toJson
validate
public void validate()
Validates the instance.
validateOnly
public Boolean validateOnly()
Get the validateOnly property: Gets or sets a value indicating whether the operation needs to only run pre-requisite.
Returns:
withMoveResourceInputType
public BulkRemoveRequest withMoveResourceInputType(MoveResourceInputType moveResourceInputType)
Set the moveResourceInputType property: Defines the move resource input type.
Parameters:
Returns:
withMoveResources
public BulkRemoveRequest withMoveResources(List<String> moveResources)
Set the moveResources property: 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 BulkRemoveRequest withValidateOnly(Boolean validateOnly)
Set the validateOnly property: Gets or sets a value indicating whether the operation needs to only run pre-requisite.
Parameters:
Returns: