Class MabProtectionPolicy


  • public final class MabProtectionPolicy
    extends ProtectionPolicy
    Mab container-specific backup policy.
    • Constructor Detail

      • MabProtectionPolicy

        public MabProtectionPolicy()
    • Method Detail

      • schedulePolicy

        public SchedulePolicy schedulePolicy()
        Get the schedulePolicy property: Backup schedule of backup policy.
        Returns:
        the schedulePolicy value.
      • withSchedulePolicy

        public MabProtectionPolicy withSchedulePolicy​(SchedulePolicy schedulePolicy)
        Set the schedulePolicy property: Backup schedule of backup policy.
        Parameters:
        schedulePolicy - the schedulePolicy value to set.
        Returns:
        the MabProtectionPolicy object itself.
      • retentionPolicy

        public RetentionPolicy retentionPolicy()
        Get the retentionPolicy property: Retention policy details.
        Returns:
        the retentionPolicy value.
      • withRetentionPolicy

        public MabProtectionPolicy withRetentionPolicy​(RetentionPolicy retentionPolicy)
        Set the retentionPolicy property: Retention policy details.
        Parameters:
        retentionPolicy - the retentionPolicy value to set.
        Returns:
        the MabProtectionPolicy object itself.
      • withProtectedItemsCount

        public MabProtectionPolicy withProtectedItemsCount​(Integer protectedItemsCount)
        Set the protectedItemsCount property: Number of items associated with this policy.
        Overrides:
        withProtectedItemsCount in class ProtectionPolicy
        Parameters:
        protectedItemsCount - the protectedItemsCount value to set.
        Returns:
        the ProtectionPolicy object itself.
      • withResourceGuardOperationRequests

        public MabProtectionPolicy withResourceGuardOperationRequests​(List<String> resourceGuardOperationRequests)
        Set the resourceGuardOperationRequests property: ResourceGuard Operation Requests.
        Overrides:
        withResourceGuardOperationRequests in class ProtectionPolicy
        Parameters:
        resourceGuardOperationRequests - the resourceGuardOperationRequests value to set.
        Returns:
        the ProtectionPolicy object itself.