Class ResourcesMoveInfo
- java.lang.Object
-
- com.azure.resourcemanager.resources.models.ResourcesMoveInfo
-
public final class ResourcesMoveInfo extends Object
Parameters of move resources.
-
-
Constructor Summary
Constructors Constructor Description ResourcesMoveInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>resources()Get the resources property: The IDs of the resources.StringtargetResourceGroup()Get the targetResourceGroup property: The target resource group.voidvalidate()Validates the instance.ResourcesMoveInfowithResources(List<String> resources)Set the resources property: The IDs of the resources.ResourcesMoveInfowithTargetResourceGroup(String targetResourceGroup)Set the targetResourceGroup property: The target resource group.
-
-
-
Method Detail
-
resources
public List<String> resources()
Get the resources property: The IDs of the resources.- Returns:
- the resources value.
-
withResources
public ResourcesMoveInfo withResources(List<String> resources)
Set the resources property: The IDs of the resources.- Parameters:
resources- the resources value to set.- Returns:
- the ResourcesMoveInfo object itself.
-
targetResourceGroup
public String targetResourceGroup()
Get the targetResourceGroup property: The target resource group.- Returns:
- the targetResourceGroup value.
-
withTargetResourceGroup
public ResourcesMoveInfo withTargetResourceGroup(String targetResourceGroup)
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.
-
-