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