Class RestorePolicyProperties

java.lang.Object
com.microsoft.azure.management.storage.RestorePolicyProperties

public class RestorePolicyProperties extends Object
The blob service properties for blob restore policy.
  • Constructor Details

    • RestorePolicyProperties

      public RestorePolicyProperties()
  • Method Details

    • enabled

      public boolean enabled()
      Get blob restore is enabled if set to true.
      Returns:
      the enabled value
    • withEnabled

      public RestorePolicyProperties withEnabled(boolean enabled)
      Set blob restore is enabled if set to true.
      Parameters:
      enabled - the enabled value to set
      Returns:
      the RestorePolicyProperties object itself.
    • days

      public Integer days()
      Get how long this blob can be restored. It should be great than zero and less than DeleteRetentionPolicy.days.
      Returns:
      the days value
    • withDays

      public RestorePolicyProperties withDays(Integer days)
      Set how long this blob can be restored. It should be great than zero and less than DeleteRetentionPolicy.days.
      Parameters:
      days - the days value to set
      Returns:
      the RestorePolicyProperties object itself.
    • lastEnabledTime

      public org.joda.time.DateTime lastEnabledTime()
      Get deprecated in favor of minRestoreTime property.
      Returns:
      the lastEnabledTime value
    • minRestoreTime

      public org.joda.time.DateTime minRestoreTime()
      Get returns the minimum date and time that the restore can be started.
      Returns:
      the minRestoreTime value