Class TriggerDataMoveRequest
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.TriggerDataMoveRequest
-
public final class TriggerDataMoveRequest extends Object
Trigger DataMove Request.
-
-
Constructor Summary
Constructors Constructor Description TriggerDataMoveRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
correlationId()
Get the correlationId property: Correlation Id.DataMoveLevel
dataMoveLevel()
Get the dataMoveLevel property: DataMove Level.Boolean
pauseGC()
Get the pauseGC property: Pause GC.List<String>
sourceContainerArmIds()
Get the sourceContainerArmIds property: Source Container ArmIds.String
sourceRegion()
Get the sourceRegion property: Source Region.String
sourceResourceId()
Get the sourceResourceId property: ARM Id of source vault.void
validate()
Validates the instance.TriggerDataMoveRequest
withCorrelationId(String correlationId)
Set the correlationId property: Correlation Id.TriggerDataMoveRequest
withDataMoveLevel(DataMoveLevel dataMoveLevel)
Set the dataMoveLevel property: DataMove Level.TriggerDataMoveRequest
withPauseGC(Boolean pauseGC)
Set the pauseGC property: Pause GC.TriggerDataMoveRequest
withSourceContainerArmIds(List<String> sourceContainerArmIds)
Set the sourceContainerArmIds property: Source Container ArmIds.TriggerDataMoveRequest
withSourceRegion(String sourceRegion)
Set the sourceRegion property: Source Region.TriggerDataMoveRequest
withSourceResourceId(String sourceResourceId)
Set the sourceResourceId property: ARM Id of source vault.
-
-
-
Method Detail
-
sourceResourceId
public String sourceResourceId()
Get the sourceResourceId property: ARM Id of source vault.- Returns:
- the sourceResourceId value.
-
withSourceResourceId
public TriggerDataMoveRequest withSourceResourceId(String sourceResourceId)
Set the sourceResourceId property: ARM Id of source vault.- Parameters:
sourceResourceId
- the sourceResourceId value to set.- Returns:
- the TriggerDataMoveRequest object itself.
-
sourceRegion
public String sourceRegion()
Get the sourceRegion property: Source Region.- Returns:
- the sourceRegion value.
-
withSourceRegion
public TriggerDataMoveRequest withSourceRegion(String sourceRegion)
Set the sourceRegion property: Source Region.- Parameters:
sourceRegion
- the sourceRegion value to set.- Returns:
- the TriggerDataMoveRequest object itself.
-
dataMoveLevel
public DataMoveLevel dataMoveLevel()
Get the dataMoveLevel property: DataMove Level.- Returns:
- the dataMoveLevel value.
-
withDataMoveLevel
public TriggerDataMoveRequest withDataMoveLevel(DataMoveLevel dataMoveLevel)
Set the dataMoveLevel property: DataMove Level.- Parameters:
dataMoveLevel
- the dataMoveLevel value to set.- Returns:
- the TriggerDataMoveRequest object itself.
-
correlationId
public String correlationId()
Get the correlationId property: Correlation Id.- Returns:
- the correlationId value.
-
withCorrelationId
public TriggerDataMoveRequest withCorrelationId(String correlationId)
Set the correlationId property: Correlation Id.- Parameters:
correlationId
- the correlationId value to set.- Returns:
- the TriggerDataMoveRequest object itself.
-
sourceContainerArmIds
public List<String> sourceContainerArmIds()
Get the sourceContainerArmIds property: Source Container ArmIds.- Returns:
- the sourceContainerArmIds value.
-
withSourceContainerArmIds
public TriggerDataMoveRequest withSourceContainerArmIds(List<String> sourceContainerArmIds)
Set the sourceContainerArmIds property: Source Container ArmIds.- Parameters:
sourceContainerArmIds
- the sourceContainerArmIds value to set.- Returns:
- the TriggerDataMoveRequest object itself.
-
pauseGC
public Boolean pauseGC()
Get the pauseGC property: Pause GC.- Returns:
- the pauseGC value.
-
withPauseGC
public TriggerDataMoveRequest withPauseGC(Boolean pauseGC)
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.
-
-