public class SharedPCAccountManagerPolicy extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
SharedPCAccountManagerPolicy.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected SharedPCAccountDeletionPolicyType |
accountDeletionPolicy |
protected Integer |
cacheAccountsAboveDiskFreePercentage |
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected Integer |
inactiveThresholdDays |
protected String |
odataType |
protected Integer |
removeAccountsBelowDiskFreePercentage |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
SharedPCAccountManagerPolicy() |
| Modifier and Type | Method and Description |
|---|---|
static SharedPCAccountManagerPolicy.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<SharedPCAccountDeletionPolicyType> |
getAccountDeletionPolicy()
“Configures when accounts are deleted.”
|
Optional<Integer> |
getCacheAccountsAboveDiskFreePercentage()
“Sets the percentage of available disk space a PC should have before it stops
deleting cached shared PC accounts.
|
Optional<Integer> |
getInactiveThresholdDays()
“Specifies when the accounts will start being deleted when they have not been
logged on during the specified period, given as number of days.
|
Optional<Integer> |
getRemoveAccountsBelowDiskFreePercentage()
“Sets the percentage of disk space remaining on a PC before cached accounts will
be deleted to free disk space.
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
SharedPCAccountManagerPolicy |
withAccountDeletionPolicy(SharedPCAccountDeletionPolicyType accountDeletionPolicy)
Returns an immutable copy of
this with just the accountDeletionPolicy field changed. |
SharedPCAccountManagerPolicy |
withCacheAccountsAboveDiskFreePercentage(Integer cacheAccountsAboveDiskFreePercentage)
Returns an immutable copy of
this with just the cacheAccountsAboveDiskFreePercentage field changed. |
SharedPCAccountManagerPolicy |
withInactiveThresholdDays(Integer inactiveThresholdDays)
Returns an immutable copy of
this with just the inactiveThresholdDays field changed. |
SharedPCAccountManagerPolicy |
withRemoveAccountsBelowDiskFreePercentage(Integer removeAccountsBelowDiskFreePercentage)
Returns an immutable copy of
this with just the removeAccountsBelowDiskFreePercentage field changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected SharedPCAccountDeletionPolicyType accountDeletionPolicy
protected Integer cacheAccountsAboveDiskFreePercentage
protected Integer inactiveThresholdDays
protected Integer removeAccountsBelowDiskFreePercentage
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<SharedPCAccountDeletionPolicyType> getAccountDeletionPolicy()
public SharedPCAccountManagerPolicy withAccountDeletionPolicy(SharedPCAccountDeletionPolicyType accountDeletionPolicy)
this with just the accountDeletionPolicy field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“Configures when accounts are deleted.”
accountDeletionPolicy - new value of accountDeletionPolicy field (as defined in service metadata)this with just the accountDeletionPolicy field changedpublic Optional<Integer> getCacheAccountsAboveDiskFreePercentage()
public SharedPCAccountManagerPolicy withCacheAccountsAboveDiskFreePercentage(Integer cacheAccountsAboveDiskFreePercentage)
this with just the cacheAccountsAboveDiskFreePercentage field changed. Field description below.
The field name is also added to an internal map of changed fields in the
returned object so that when this.patch() is called (if available)on the
returned object only the changed fields are submitted.
“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”
cacheAccountsAboveDiskFreePercentage - new value of cacheAccountsAboveDiskFreePercentage field (as defined in service metadata)this with just the cacheAccountsAboveDiskFreePercentage field changedpublic Optional<Integer> getInactiveThresholdDays()
public SharedPCAccountManagerPolicy withInactiveThresholdDays(Integer inactiveThresholdDays)
this with just the inactiveThresholdDays field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“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.”
inactiveThresholdDays - new value of inactiveThresholdDays field (as defined in service metadata)this with just the inactiveThresholdDays field changedpublic Optional<Integer> getRemoveAccountsBelowDiskFreePercentage()
public SharedPCAccountManagerPolicy withRemoveAccountsBelowDiskFreePercentage(Integer removeAccountsBelowDiskFreePercentage)
this with just the removeAccountsBelowDiskFreePercentage field changed. Field description below.
The field name is also added to an internal map of changed fields in the
returned object so that when this.patch() is called (if available)on the
returned object only the changed fields are submitted.
“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”
removeAccountsBelowDiskFreePercentage - new value of removeAccountsBelowDiskFreePercentage field (as defined in service metadata)this with just the removeAccountsBelowDiskFreePercentage field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static SharedPCAccountManagerPolicy.Builder builder()
Copyright © 2018–2020. All rights reserved.