Package odata.msgraph.client.complex
Class SharedPCAccountManagerPolicy.Builder
- java.lang.Object
-
- odata.msgraph.client.complex.SharedPCAccountManagerPolicy.Builder
-
- Enclosing class:
- SharedPCAccountManagerPolicy
public static final class SharedPCAccountManagerPolicy.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SharedPCAccountManagerPolicy.BuilderaccountDeletionPolicy(SharedPCAccountDeletionPolicyType accountDeletionPolicy)“Configures when accounts are deleted.”SharedPCAccountManagerPolicybuild()SharedPCAccountManagerPolicy.BuildercacheAccountsAboveDiskFreePercentage(Integer cacheAccountsAboveDiskFreePercentage)“Sets the percentage of available disk space a PC should have before it stops deleting cached shared PC accounts.SharedPCAccountManagerPolicy.BuilderinactiveThresholdDays(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.SharedPCAccountManagerPolicy.BuilderremoveAccountsBelowDiskFreePercentage(Integer removeAccountsBelowDiskFreePercentage)“Sets the percentage of disk space remaining on a PC before cached accounts will be deleted to free disk space.
-
-
-
Method Detail
-
accountDeletionPolicy
public SharedPCAccountManagerPolicy.Builder accountDeletionPolicy(SharedPCAccountDeletionPolicyType accountDeletionPolicy)
“Configures when accounts are deleted.”- Parameters:
accountDeletionPolicy- value ofaccountDeletionPolicyproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
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 ofcacheAccountsAboveDiskFreePercentageproperty (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 ofinactiveThresholdDaysproperty (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 ofremoveAccountsBelowDiskFreePercentageproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
build
public SharedPCAccountManagerPolicy build()
-
-