Class MoveRPAcrossTiersRequest
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.MoveRPAcrossTiersRequest
-
public final class MoveRPAcrossTiersRequest extends Object
The MoveRPAcrossTiersRequest model.
-
-
Constructor Summary
Constructors Constructor Description MoveRPAcrossTiersRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
objectType()
Get the objectType property: Gets the class type.RecoveryPointTierType
sourceTierType()
Get the sourceTierType property: Source tier from where RP needs to be moved.RecoveryPointTierType
targetTierType()
Get the targetTierType property: Target tier where RP needs to be moved.void
validate()
Validates the instance.MoveRPAcrossTiersRequest
withObjectType(String objectType)
Set the objectType property: Gets the class type.MoveRPAcrossTiersRequest
withSourceTierType(RecoveryPointTierType sourceTierType)
Set the sourceTierType property: Source tier from where RP needs to be moved.MoveRPAcrossTiersRequest
withTargetTierType(RecoveryPointTierType targetTierType)
Set the targetTierType property: Target tier where RP needs to be moved.
-
-
-
Method Detail
-
objectType
public String objectType()
Get the objectType property: Gets the class type.- Returns:
- the objectType value.
-
withObjectType
public MoveRPAcrossTiersRequest withObjectType(String objectType)
Set the objectType property: Gets the class type.- Parameters:
objectType
- the objectType value to set.- Returns:
- the MoveRPAcrossTiersRequest object itself.
-
sourceTierType
public RecoveryPointTierType sourceTierType()
Get the sourceTierType property: Source tier from where RP needs to be moved.- Returns:
- the sourceTierType value.
-
withSourceTierType
public MoveRPAcrossTiersRequest withSourceTierType(RecoveryPointTierType sourceTierType)
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
public RecoveryPointTierType targetTierType()
Get the targetTierType property: Target tier where RP needs to be moved.- Returns:
- the targetTierType value.
-
withTargetTierType
public MoveRPAcrossTiersRequest withTargetTierType(RecoveryPointTierType targetTierType)
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.
-
-