Class CsmMoveResourceEnvelope
- java.lang.Object
-
- com.azure.resourcemanager.appservice.models.CsmMoveResourceEnvelope
-
public final class CsmMoveResourceEnvelope extends Object
Object with a list of the resources that need to be moved and the resource group they should be moved to.
-
-
Constructor Summary
Constructors Constructor Description CsmMoveResourceEnvelope()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>resources()Get the resources property: The resources property.StringtargetResourceGroup()Get the targetResourceGroup property: The targetResourceGroup property.voidvalidate()Validates the instance.CsmMoveResourceEnvelopewithResources(List<String> resources)Set the resources property: The resources property.CsmMoveResourceEnvelopewithTargetResourceGroup(String targetResourceGroup)Set the targetResourceGroup property: The targetResourceGroup property.
-
-
-
Method Detail
-
targetResourceGroup
public String targetResourceGroup()
Get the targetResourceGroup property: The targetResourceGroup property.- Returns:
- the targetResourceGroup value.
-
withTargetResourceGroup
public CsmMoveResourceEnvelope withTargetResourceGroup(String targetResourceGroup)
Set the targetResourceGroup property: The targetResourceGroup property.- Parameters:
targetResourceGroup- the targetResourceGroup value to set.- Returns:
- the CsmMoveResourceEnvelope object itself.
-
resources
public List<String> resources()
Get the resources property: The resources property.- Returns:
- the resources value.
-
withResources
public CsmMoveResourceEnvelope withResources(List<String> resources)
Set the resources property: The resources property.- Parameters:
resources- the resources value to set.- Returns:
- the CsmMoveResourceEnvelope object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-