Class TriggerDataMoveRequest
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.TriggerDataMoveRequest
Trigger DataMove Request.
-
Constructor Summary
ConstructorDescriptionCreates an instance of TriggerDataMoveRequest class. -
Method Summary
Modifier and TypeMethodDescriptionGet the correlationId property: Correlation Id.Get the dataMoveLevel property: DataMove Level.pauseGC()
Get the pauseGC property: Pause GC.Get the sourceContainerArmIds property: Source Container ArmIds.Get the sourceRegion property: Source Region.Get the sourceResourceId property: ARM Id of source vault.void
validate()
Validates the instance.withCorrelationId
(String correlationId) Set the correlationId property: Correlation Id.withDataMoveLevel
(DataMoveLevel dataMoveLevel) Set the dataMoveLevel property: DataMove Level.withPauseGC
(Boolean pauseGC) Set the pauseGC property: Pause GC.withSourceContainerArmIds
(List<String> sourceContainerArmIds) Set the sourceContainerArmIds property: Source Container ArmIds.withSourceRegion
(String sourceRegion) Set the sourceRegion property: Source Region.withSourceResourceId
(String sourceResourceId) Set the sourceResourceId property: ARM Id of source vault.
-
Constructor Details
-
TriggerDataMoveRequest
public TriggerDataMoveRequest()Creates an instance of TriggerDataMoveRequest class.
-
-
Method Details
-
sourceResourceId
Get the sourceResourceId property: ARM Id of source vault.- Returns:
- the sourceResourceId value.
-
withSourceResourceId
Set the sourceResourceId property: ARM Id of source vault.- Parameters:
sourceResourceId
- the sourceResourceId value to set.- Returns:
- the TriggerDataMoveRequest object itself.
-
sourceRegion
Get the sourceRegion property: Source Region.- Returns:
- the sourceRegion value.
-
withSourceRegion
Set the sourceRegion property: Source Region.- Parameters:
sourceRegion
- the sourceRegion value to set.- Returns:
- the TriggerDataMoveRequest 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 TriggerDataMoveRequest object itself.
-
correlationId
Get the correlationId property: Correlation Id.- Returns:
- the correlationId value.
-
withCorrelationId
Set the correlationId property: Correlation Id.- Parameters:
correlationId
- the correlationId value to set.- Returns:
- the TriggerDataMoveRequest object itself.
-
sourceContainerArmIds
Get the sourceContainerArmIds property: Source Container ArmIds.- Returns:
- the sourceContainerArmIds value.
-
withSourceContainerArmIds
Set the sourceContainerArmIds property: Source Container ArmIds.- Parameters:
sourceContainerArmIds
- the sourceContainerArmIds value to set.- Returns:
- the TriggerDataMoveRequest object itself.
-
pauseGC
Get the pauseGC property: Pause GC.- Returns:
- the pauseGC value.
-
withPauseGC
Set the pauseGC property: Pause GC.- Parameters:
pauseGC
- the pauseGC value to set.- Returns:
- the TriggerDataMoveRequest object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-