Class AzureVmWorkloadProtectedItemExtendedInfo

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

public final class AzureVmWorkloadProtectedItemExtendedInfo extends Object
Additional information on Azure Workload for SQL specific backup item.
  • Constructor Details

    • AzureVmWorkloadProtectedItemExtendedInfo

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

    • oldestRecoveryPoint

      public OffsetDateTime oldestRecoveryPoint()
      Get the oldestRecoveryPoint property: The oldest backup copy available for this backup item across all tiers.
      Returns:
      the oldestRecoveryPoint value.
    • withOldestRecoveryPoint

      public AzureVmWorkloadProtectedItemExtendedInfo withOldestRecoveryPoint(OffsetDateTime oldestRecoveryPoint)
      Set the oldestRecoveryPoint property: The oldest backup copy available for this backup item across all tiers.
      Parameters:
      oldestRecoveryPoint - the oldestRecoveryPoint value to set.
      Returns:
      the AzureVmWorkloadProtectedItemExtendedInfo object itself.
    • oldestRecoveryPointInVault

      public OffsetDateTime oldestRecoveryPointInVault()
      Get the oldestRecoveryPointInVault property: The oldest backup copy available for this backup item in vault tier.
      Returns:
      the oldestRecoveryPointInVault value.
    • withOldestRecoveryPointInVault

      public AzureVmWorkloadProtectedItemExtendedInfo withOldestRecoveryPointInVault(OffsetDateTime oldestRecoveryPointInVault)
      Set the oldestRecoveryPointInVault property: The oldest backup copy available for this backup item in vault tier.
      Parameters:
      oldestRecoveryPointInVault - the oldestRecoveryPointInVault value to set.
      Returns:
      the AzureVmWorkloadProtectedItemExtendedInfo object itself.
    • oldestRecoveryPointInArchive

      public OffsetDateTime oldestRecoveryPointInArchive()
      Get the oldestRecoveryPointInArchive property: The oldest backup copy available for this backup item in archive tier.
      Returns:
      the oldestRecoveryPointInArchive value.
    • withOldestRecoveryPointInArchive

      public AzureVmWorkloadProtectedItemExtendedInfo withOldestRecoveryPointInArchive(OffsetDateTime oldestRecoveryPointInArchive)
      Set the oldestRecoveryPointInArchive property: The oldest backup copy available for this backup item in archive tier.
      Parameters:
      oldestRecoveryPointInArchive - the oldestRecoveryPointInArchive value to set.
      Returns:
      the AzureVmWorkloadProtectedItemExtendedInfo object itself.
    • newestRecoveryPointInArchive

      public OffsetDateTime newestRecoveryPointInArchive()
      Get the newestRecoveryPointInArchive property: The latest backup copy available for this backup item in archive tier.
      Returns:
      the newestRecoveryPointInArchive value.
    • withNewestRecoveryPointInArchive

      public AzureVmWorkloadProtectedItemExtendedInfo withNewestRecoveryPointInArchive(OffsetDateTime newestRecoveryPointInArchive)
      Set the newestRecoveryPointInArchive property: The latest backup copy available for this backup item in archive tier.
      Parameters:
      newestRecoveryPointInArchive - the newestRecoveryPointInArchive value to set.
      Returns:
      the AzureVmWorkloadProtectedItemExtendedInfo object itself.
    • recoveryPointCount

      public Integer recoveryPointCount()
      Get the recoveryPointCount property: Number of backup copies available for this backup item.
      Returns:
      the recoveryPointCount value.
    • withRecoveryPointCount

      public AzureVmWorkloadProtectedItemExtendedInfo withRecoveryPointCount(Integer recoveryPointCount)
      Set the recoveryPointCount property: Number of backup copies available for this backup item.
      Parameters:
      recoveryPointCount - the recoveryPointCount value to set.
      Returns:
      the AzureVmWorkloadProtectedItemExtendedInfo object itself.
    • policyState

      public String policyState()
      Get the policyState property: Indicates consistency of policy object and policy applied to this backup item.
      Returns:
      the policyState value.
    • withPolicyState

      public AzureVmWorkloadProtectedItemExtendedInfo withPolicyState(String policyState)
      Set the policyState property: Indicates consistency of policy object and policy applied to this backup item.
      Parameters:
      policyState - the policyState value to set.
      Returns:
      the AzureVmWorkloadProtectedItemExtendedInfo object itself.
    • recoveryModel

      public String recoveryModel()
      Get the recoveryModel property: Indicates consistency of policy object and policy applied to this backup item.
      Returns:
      the recoveryModel value.
    • withRecoveryModel

      public AzureVmWorkloadProtectedItemExtendedInfo withRecoveryModel(String recoveryModel)
      Set the recoveryModel property: Indicates consistency of policy object and policy applied to this backup item.
      Parameters:
      recoveryModel - the recoveryModel value to set.
      Returns:
      the AzureVmWorkloadProtectedItemExtendedInfo object itself.
    • validate

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