Class RecoveryPointProperties

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

public final class RecoveryPointProperties extends Object
Properties of Recovery Point.
  • Constructor Details

    • RecoveryPointProperties

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

    • expiryTime

      public String expiryTime()
      Get the expiryTime property: Expiry time of Recovery Point in UTC.
      Returns:
      the expiryTime value.
    • withExpiryTime

      public RecoveryPointProperties withExpiryTime(String expiryTime)
      Set the expiryTime property: Expiry time of Recovery Point in UTC.
      Parameters:
      expiryTime - the expiryTime value to set.
      Returns:
      the RecoveryPointProperties object itself.
    • ruleName

      public String ruleName()
      Get the ruleName property: Rule name tagged on Recovery Point that governs life cycle.
      Returns:
      the ruleName value.
    • withRuleName

      public RecoveryPointProperties withRuleName(String ruleName)
      Set the ruleName property: Rule name tagged on Recovery Point that governs life cycle.
      Parameters:
      ruleName - the ruleName value to set.
      Returns:
      the RecoveryPointProperties object itself.
    • validate

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