Class TableServiceRetentionPolicy


  • public final class TableServiceRetentionPolicy
    extends Object
    The Table service retention policy.
    • Constructor Detail

      • TableServiceRetentionPolicy

        public TableServiceRetentionPolicy()
    • Method Detail

      • isEnabled

        public boolean isEnabled()
        Get a value that indicates whether a retention policy is enabled for the Table service.
        Returns:
        The enabled value.
      • setEnabled

        public TableServiceRetentionPolicy setEnabled​(boolean enabled)
        Set a value that indicates whether a retention policy is enabled for the Table service.
        Parameters:
        enabled - The enabled value to set.
        Returns:
        The updated TableServiceRetentionPolicy object.
      • getDaysToRetain

        public Integer getDaysToRetain()
        Get the number of days that metrics or logging or soft-deleted data should be retained. All data older than this value will be deleted.
        Returns:
        The daysToRetain.
      • setDaysToRetain

        public TableServiceRetentionPolicy setDaysToRetain​(Integer daysToRetain)
        Set the number of daysToRetain that metrics or logging or soft-deleted data should be retained. All data older than this value will be deleted.
        Parameters:
        daysToRetain - The daysToRetain to set.
        Returns:
        The updated TableServiceRetentionPolicy object.