Class MoveRPAcrossTiersRequest

java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.MoveRPAcrossTiersRequest

public final class MoveRPAcrossTiersRequest extends Object
The MoveRPAcrossTiersRequest model.
  • Constructor Details

    • MoveRPAcrossTiersRequest

      public MoveRPAcrossTiersRequest()
      Creates an instance of MoveRPAcrossTiersRequest class.
  • Method Details

    • 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.