Class MoveRPAcrossTiersRequest
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.MoveRPAcrossTiersRequest
The MoveRPAcrossTiersRequest model.
-
Constructor Summary
ConstructorDescriptionCreates an instance of MoveRPAcrossTiersRequest class. -
Method Summary
Modifier and TypeMethodDescriptionGet the objectType property: Gets the class type.Get the sourceTierType property: Source tier from where RP needs to be moved.Get the targetTierType property: Target tier where RP needs to be moved.void
validate()
Validates the instance.withObjectType
(String objectType) Set the objectType property: Gets the class type.withSourceTierType
(RecoveryPointTierType sourceTierType) Set the sourceTierType property: Source tier from where RP needs to be moved.withTargetTierType
(RecoveryPointTierType targetTierType) Set the targetTierType property: Target tier where RP needs to be moved.
-
Constructor Details
-
MoveRPAcrossTiersRequest
public MoveRPAcrossTiersRequest()Creates an instance of MoveRPAcrossTiersRequest class.
-
-
Method Details
-
objectType
Get the objectType property: Gets the class type.- Returns:
- the objectType value.
-
withObjectType
Set the objectType property: Gets the class type.- Parameters:
objectType
- the objectType value to set.- Returns:
- the MoveRPAcrossTiersRequest object itself.
-
sourceTierType
Get the sourceTierType property: Source tier from where RP needs to be moved.- Returns:
- the sourceTierType value.
-
withSourceTierType
Set the sourceTierType property: Source tier from where RP needs to be moved.- Parameters:
sourceTierType
- the sourceTierType value to set.- Returns:
- the MoveRPAcrossTiersRequest object itself.
-
targetTierType
Get the targetTierType property: Target tier where RP needs to be moved.- Returns:
- the targetTierType value.
-
withTargetTierType
Set the targetTierType property: Target tier where RP needs to be moved.- Parameters:
targetTierType
- the targetTierType value to set.- Returns:
- the MoveRPAcrossTiersRequest object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-