Class PrepareDataMoveRequest
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.PrepareDataMoveRequest
Prepare DataMove Request.
-
Constructor Summary
ConstructorDescriptionCreates an instance of PrepareDataMoveRequest class. -
Method Summary
Modifier and TypeMethodDescriptionGet the dataMoveLevel property: DataMove Level.Get the ignoreMoved property: Ignore the artifacts which are already moved.Get the sourceContainerArmIds property: Source Container ArmIds This needs to be populated only if DataMoveLevel is set to container.Get the targetRegion property: Target Region.Get the targetResourceId property: ARM Id of target vault.void
validate()
Validates the instance.withDataMoveLevel
(DataMoveLevel dataMoveLevel) Set the dataMoveLevel property: DataMove Level.withIgnoreMoved
(Boolean ignoreMoved) Set the ignoreMoved property: Ignore the artifacts which are already moved.withSourceContainerArmIds
(List<String> sourceContainerArmIds) Set the sourceContainerArmIds property: Source Container ArmIds This needs to be populated only if DataMoveLevel is set to container.withTargetRegion
(String targetRegion) Set the targetRegion property: Target Region.withTargetResourceId
(String targetResourceId) Set the targetResourceId property: ARM Id of target vault.
-
Constructor Details
-
PrepareDataMoveRequest
public PrepareDataMoveRequest()Creates an instance of PrepareDataMoveRequest class.
-
-
Method Details
-
targetResourceId
Get the targetResourceId property: ARM Id of target vault.- Returns:
- the targetResourceId value.
-
withTargetResourceId
Set the targetResourceId property: ARM Id of target vault.- Parameters:
targetResourceId
- the targetResourceId value to set.- Returns:
- the PrepareDataMoveRequest object itself.
-
targetRegion
Get the targetRegion property: Target Region.- Returns:
- the targetRegion value.
-
withTargetRegion
Set the targetRegion property: Target Region.- Parameters:
targetRegion
- the targetRegion value to set.- Returns:
- the PrepareDataMoveRequest object itself.
-
dataMoveLevel
Get the dataMoveLevel property: DataMove Level.- Returns:
- the dataMoveLevel value.
-
withDataMoveLevel
Set the dataMoveLevel property: DataMove Level.- Parameters:
dataMoveLevel
- the dataMoveLevel value to set.- Returns:
- the PrepareDataMoveRequest object itself.
-
sourceContainerArmIds
Get the sourceContainerArmIds property: Source Container ArmIds This needs to be populated only if DataMoveLevel is set to container.- Returns:
- the sourceContainerArmIds value.
-
withSourceContainerArmIds
Set the sourceContainerArmIds property: Source Container ArmIds This needs to be populated only if DataMoveLevel is set to container.- Parameters:
sourceContainerArmIds
- the sourceContainerArmIds value to set.- Returns:
- the PrepareDataMoveRequest object itself.
-
ignoreMoved
Get the ignoreMoved property: Ignore the artifacts which are already moved.- Returns:
- the ignoreMoved value.
-
withIgnoreMoved
Set the ignoreMoved property: Ignore the artifacts which are already moved.- Parameters:
ignoreMoved
- the ignoreMoved value to set.- Returns:
- the PrepareDataMoveRequest object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-