Class SharedPCAccountManagerPolicy.Builder

    • Method Detail

      • cacheAccountsAboveDiskFreePercentage

        public SharedPCAccountManagerPolicy.Builder cacheAccountsAboveDiskFreePercentage​(Integer cacheAccountsAboveDiskFreePercentage)
        “Sets the percentage of available disk space a PC should have before it stops deleting cached shared PC accounts. Only applies when AccountDeletionPolicy is DiskSpaceThreshold or DiskSpaceThresholdOrInactiveThreshold. Valid values 0 to 100”
        Parameters:
        cacheAccountsAboveDiskFreePercentage - value of cacheAccountsAboveDiskFreePercentage property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • inactiveThresholdDays

        public SharedPCAccountManagerPolicy.Builder inactiveThresholdDays​(Integer inactiveThresholdDays)
        “Specifies when the accounts will start being deleted when they have not been logged on during the specified period, given as number of days. Only applies when AccountDeletionPolicy is DiskSpaceThreshold or DiskSpaceThresholdOrInactiveThreshold.”
        Parameters:
        inactiveThresholdDays - value of inactiveThresholdDays property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • removeAccountsBelowDiskFreePercentage

        public SharedPCAccountManagerPolicy.Builder removeAccountsBelowDiskFreePercentage​(Integer removeAccountsBelowDiskFreePercentage)
        “Sets the percentage of disk space remaining on a PC before cached accounts will be deleted to free disk space. Accounts that have been inactive the longest will be deleted first. Only applies when AccountDeletionPolicy is DiskSpaceThresholdOrInactiveThreshold. Valid values 0 to 100”
        Parameters:
        removeAccountsBelowDiskFreePercentage - value of removeAccountsBelowDiskFreePercentage property (as defined in service metadata)
        Returns:
        this (for method chaining)