Class AzureWorkloadRecoveryPoint

java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.RecoveryPoint
com.azure.resourcemanager.recoveryservicesbackup.models.AzureWorkloadRecoveryPoint
Direct Known Subclasses:
AzureWorkloadPointInTimeRecoveryPoint, AzureWorkloadSapHanaRecoveryPoint, AzureWorkloadSqlRecoveryPoint

public class AzureWorkloadRecoveryPoint extends RecoveryPoint
Workload specific recovery point, specifically encapsulates full/diff recovery point.
  • Constructor Details

    • AzureWorkloadRecoveryPoint

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

    • recoveryPointTimeInUtc

      public OffsetDateTime recoveryPointTimeInUtc()
      Get the recoveryPointTimeInUtc property: UTC time at which recovery point was created.
      Returns:
      the recoveryPointTimeInUtc value.
    • withRecoveryPointTimeInUtc

      public AzureWorkloadRecoveryPoint withRecoveryPointTimeInUtc(OffsetDateTime recoveryPointTimeInUtc)
      Set the recoveryPointTimeInUtc property: UTC time at which recovery point was created.
      Parameters:
      recoveryPointTimeInUtc - the recoveryPointTimeInUtc value to set.
      Returns:
      the AzureWorkloadRecoveryPoint object itself.
    • type

      public RestorePointType type()
      Get the type property: Type of restore point.
      Returns:
      the type value.
    • withType

      Set the type property: Type of restore point.
      Parameters:
      type - the type value to set.
      Returns:
      the AzureWorkloadRecoveryPoint object itself.
    • recoveryPointTierDetails

      public List<RecoveryPointTierInformationV2> recoveryPointTierDetails()
      Get the recoveryPointTierDetails property: Recovery point tier information.
      Returns:
      the recoveryPointTierDetails value.
    • withRecoveryPointTierDetails

      public AzureWorkloadRecoveryPoint withRecoveryPointTierDetails(List<RecoveryPointTierInformationV2> recoveryPointTierDetails)
      Set the recoveryPointTierDetails property: Recovery point tier information.
      Parameters:
      recoveryPointTierDetails - the recoveryPointTierDetails value to set.
      Returns:
      the AzureWorkloadRecoveryPoint object itself.
    • recoveryPointMoveReadinessInfo

      public Map<String,RecoveryPointMoveReadinessInfo> recoveryPointMoveReadinessInfo()
      Get the recoveryPointMoveReadinessInfo property: Eligibility of RP to be moved to another tier.
      Returns:
      the recoveryPointMoveReadinessInfo value.
    • withRecoveryPointMoveReadinessInfo

      public AzureWorkloadRecoveryPoint withRecoveryPointMoveReadinessInfo(Map<String,RecoveryPointMoveReadinessInfo> recoveryPointMoveReadinessInfo)
      Set the recoveryPointMoveReadinessInfo property: Eligibility of RP to be moved to another tier.
      Parameters:
      recoveryPointMoveReadinessInfo - the recoveryPointMoveReadinessInfo value to set.
      Returns:
      the AzureWorkloadRecoveryPoint object itself.
    • recoveryPointProperties

      public RecoveryPointProperties recoveryPointProperties()
      Get the recoveryPointProperties property: Properties of Recovery Point.
      Returns:
      the recoveryPointProperties value.
    • withRecoveryPointProperties

      public AzureWorkloadRecoveryPoint withRecoveryPointProperties(RecoveryPointProperties recoveryPointProperties)
      Set the recoveryPointProperties property: Properties of Recovery Point.
      Parameters:
      recoveryPointProperties - the recoveryPointProperties value to set.
      Returns:
      the AzureWorkloadRecoveryPoint object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class RecoveryPoint
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.