Class AzureSqlProtectedItemExtendedInfo

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

public final class AzureSqlProtectedItemExtendedInfo extends Object
Additional information on Azure Sql specific protected item.
  • Constructor Details

    • AzureSqlProtectedItemExtendedInfo

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

    • oldestRecoveryPoint

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

      public AzureSqlProtectedItemExtendedInfo withOldestRecoveryPoint(OffsetDateTime oldestRecoveryPoint)
      Set the oldestRecoveryPoint property: The oldest backup copy available for this item in the service.
      Parameters:
      oldestRecoveryPoint - the oldestRecoveryPoint value to set.
      Returns:
      the AzureSqlProtectedItemExtendedInfo object itself.
    • recoveryPointCount

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

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

      public String policyState()
      Get the policyState property: State of the backup policy associated with this backup item.
      Returns:
      the policyState value.
    • withPolicyState

      public AzureSqlProtectedItemExtendedInfo withPolicyState(String policyState)
      Set the policyState property: State of the backup policy associated with this backup item.
      Parameters:
      policyState - the policyState value to set.
      Returns:
      the AzureSqlProtectedItemExtendedInfo object itself.
    • validate

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