Class BackupPolicy.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • isEnabled

        public BackupPolicy.Builder isEnabled​(Boolean isEnabled)
        Specifies if automatic backups are enabled.
        Parameters:
        isEnabled - the value to set
        Returns:
        this builder
      • retentionInDays

        public BackupPolicy.Builder retentionInDays​(Integer retentionInDays)
        Specifies how long backup copy should remain on Storage in days
        Parameters:
        retentionInDays - the value to set
        Returns:
        this builder
      • frequencyInHours

        public BackupPolicy.Builder frequencyInHours​(Integer frequencyInHours)
        Specifies how often backup should be performed
        Parameters:
        frequencyInHours - the value to set
        Returns:
        this builder