Class ResourcesMoveInfo
java.lang.Object
com.azure.resourcemanager.resources.models.ResourcesMoveInfo
Parameters of move resources.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the resources property: The IDs of the resources.Get the targetResourceGroup property: The target resource group.voidvalidate()Validates the instance.withResources(List<String> resources) Set the resources property: The IDs of the resources.withTargetResourceGroup(String targetResourceGroup) Set the targetResourceGroup property: The target resource group.
-
Constructor Details
-
ResourcesMoveInfo
public ResourcesMoveInfo()Creates an instance of ResourcesMoveInfo class.
-
-
Method Details
-
resources
Get the resources property: The IDs of the resources.- Returns:
- the resources value.
-
withResources
Set the resources property: The IDs of the resources.- Parameters:
resources- the resources value to set.- Returns:
- the ResourcesMoveInfo object itself.
-
targetResourceGroup
Get the targetResourceGroup property: The target resource group.- Returns:
- the targetResourceGroup value.
-
withTargetResourceGroup
Set the targetResourceGroup property: The target resource group.- Parameters:
targetResourceGroup- the targetResourceGroup value to set.- Returns:
- the ResourcesMoveInfo object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-