Class AndroidWorkProfileGeneralDeviceConfiguration
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.DeviceConfiguration
-
- odata.msgraph.client.entity.AndroidWorkProfileGeneralDeviceConfiguration
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class AndroidWorkProfileGeneralDeviceConfiguration extends DeviceConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
“Android Work Profile general device configuration.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAndroidWorkProfileGeneralDeviceConfiguration.Builder
-
Field Summary
-
Fields inherited from class odata.msgraph.client.entity.DeviceConfiguration
createdDateTime, description, displayName, lastModifiedDateTime, version
-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAndroidWorkProfileGeneralDeviceConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AndroidWorkProfileGeneralDeviceConfiguration.BuilderbuilderAndroidWorkProfileGeneralDeviceConfiguration()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<Boolean>getPasswordBlockFingerprintUnlock()“Indicates whether or not to block fingerprint unlock.”Optional<Boolean>getPasswordBlockTrustAgents()“Indicates whether or not to block Smart Lock and other trust agents.”Optional<Integer>getPasswordExpirationDays()“Number of days before the password expires.Optional<Integer>getPasswordMinimumLength()“Minimum length of passwords.Optional<Integer>getPasswordMinutesOfInactivityBeforeScreenTimeout()“Minutes of inactivity before the screen times out.”Optional<Integer>getPasswordPreviousPasswordBlockCount()“Number of previous passwords to block.Optional<AndroidWorkProfileRequiredPasswordType>getPasswordRequiredType()“Type of password that is required.”Optional<Integer>getPasswordSignInFailureCountBeforeFactoryReset()“Number of sign in failures allowed before factory reset.Optional<Boolean>getSecurityRequireVerifyApps()“Require the Android Verify apps feature is turned on.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<Boolean>getWorkProfileBlockAddingAccounts()“Block users from adding/removing accounts in work profile.”Optional<Boolean>getWorkProfileBlockCamera()“Block work profile camera.”Optional<Boolean>getWorkProfileBlockCrossProfileCallerId()“Block display work profile caller ID in personal profile.”Optional<Boolean>getWorkProfileBlockCrossProfileContactsSearch()“Block work profile contacts availability in personal profile.”Optional<Boolean>getWorkProfileBlockCrossProfileCopyPaste()“Boolean that indicates if the setting disallow cross profile copy/paste is enabled.”Optional<Boolean>getWorkProfileBlockNotificationsWhileDeviceLocked()“Indicates whether or not to block notifications while device locked.”Optional<Boolean>getWorkProfileBlockScreenCapture()“Block screen capture in work profile.”Optional<Boolean>getWorkProfileBluetoothEnableContactSharing()“Allow bluetooth devices to access enterprise contacts.”Optional<AndroidWorkProfileCrossProfileDataSharingType>getWorkProfileDataSharingType()“Type of data sharing that is allowed.”Optional<AndroidWorkProfileDefaultAppPermissionPolicyType>getWorkProfileDefaultAppPermissionPolicy()“Type of password that is required.”Optional<Boolean>getWorkProfilePasswordBlockFingerprintUnlock()“Indicates whether or not to block fingerprint unlock for work profile.”Optional<Boolean>getWorkProfilePasswordBlockTrustAgents()“Indicates whether or not to block Smart Lock and other trust agents for work profile.”Optional<Integer>getWorkProfilePasswordExpirationDays()“Number of days before the work profile password expires.Optional<Integer>getWorkProfilePasswordMinimumLength()“Minimum length of work profile password.Optional<Integer>getWorkProfilePasswordMinLetterCharacters()“Minimum # of letter characters required in work profile password.Optional<Integer>getWorkProfilePasswordMinLowerCaseCharacters()“Minimum # of lower-case characters required in work profile password.Optional<Integer>getWorkProfilePasswordMinNonLetterCharacters()“Minimum # of non-letter characters required in work profile password.Optional<Integer>getWorkProfilePasswordMinNumericCharacters()“Minimum # of numeric characters required in work profile password.Optional<Integer>getWorkProfilePasswordMinSymbolCharacters()“Minimum # of symbols required in work profile password.Optional<Integer>getWorkProfilePasswordMinUpperCaseCharacters()“Minimum # of upper-case characters required in work profile password.Optional<Integer>getWorkProfilePasswordMinutesOfInactivityBeforeScreenTimeout()“Minutes of inactivity before the screen times out.”Optional<Integer>getWorkProfilePasswordPreviousPasswordBlockCount()“Number of previous work profile passwords to block.Optional<AndroidWorkProfileRequiredPasswordType>getWorkProfilePasswordRequiredType()“Type of work profile password that is required.”Optional<Integer>getWorkProfilePasswordSignInFailureCountBeforeFactoryReset()“Number of sign in failures allowed before work profile is removed and all corporate data deleted.Optional<Boolean>getWorkProfileRequirePassword()“Password is required or not for work profile”StringodataTypeName()AndroidWorkProfileGeneralDeviceConfigurationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)AndroidWorkProfileGeneralDeviceConfigurationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()AndroidWorkProfileGeneralDeviceConfigurationwithPasswordBlockFingerprintUnlock(Boolean passwordBlockFingerprintUnlock)Returns an immutable copy ofthiswith just thepasswordBlockFingerprintUnlockfield changed.AndroidWorkProfileGeneralDeviceConfigurationwithPasswordBlockTrustAgents(Boolean passwordBlockTrustAgents)Returns an immutable copy ofthiswith just thepasswordBlockTrustAgentsfield changed.AndroidWorkProfileGeneralDeviceConfigurationwithPasswordExpirationDays(Integer passwordExpirationDays)Returns an immutable copy ofthiswith just thepasswordExpirationDaysfield changed.AndroidWorkProfileGeneralDeviceConfigurationwithPasswordMinimumLength(Integer passwordMinimumLength)Returns an immutable copy ofthiswith just thepasswordMinimumLengthfield changed.AndroidWorkProfileGeneralDeviceConfigurationwithPasswordMinutesOfInactivityBeforeScreenTimeout(Integer passwordMinutesOfInactivityBeforeScreenTimeout)Returns an immutable copy ofthiswith just thepasswordMinutesOfInactivityBeforeScreenTimeoutfield changed.AndroidWorkProfileGeneralDeviceConfigurationwithPasswordPreviousPasswordBlockCount(Integer passwordPreviousPasswordBlockCount)Returns an immutable copy ofthiswith just thepasswordPreviousPasswordBlockCountfield changed.AndroidWorkProfileGeneralDeviceConfigurationwithPasswordRequiredType(AndroidWorkProfileRequiredPasswordType passwordRequiredType)Returns an immutable copy ofthiswith just thepasswordRequiredTypefield changed.AndroidWorkProfileGeneralDeviceConfigurationwithPasswordSignInFailureCountBeforeFactoryReset(Integer passwordSignInFailureCountBeforeFactoryReset)Returns an immutable copy ofthiswith just thepasswordSignInFailureCountBeforeFactoryResetfield changed.AndroidWorkProfileGeneralDeviceConfigurationwithSecurityRequireVerifyApps(Boolean securityRequireVerifyApps)Returns an immutable copy ofthiswith just thesecurityRequireVerifyAppsfield changed.AndroidWorkProfileGeneralDeviceConfigurationwithUnmappedField(String name, String value)AndroidWorkProfileGeneralDeviceConfigurationwithWorkProfileBlockAddingAccounts(Boolean workProfileBlockAddingAccounts)Returns an immutable copy ofthiswith just theworkProfileBlockAddingAccountsfield changed.AndroidWorkProfileGeneralDeviceConfigurationwithWorkProfileBlockCamera(Boolean workProfileBlockCamera)Returns an immutable copy ofthiswith just theworkProfileBlockCamerafield changed.AndroidWorkProfileGeneralDeviceConfigurationwithWorkProfileBlockCrossProfileCallerId(Boolean workProfileBlockCrossProfileCallerId)Returns an immutable copy ofthiswith just theworkProfileBlockCrossProfileCallerIdfield changed.AndroidWorkProfileGeneralDeviceConfigurationwithWorkProfileBlockCrossProfileContactsSearch(Boolean workProfileBlockCrossProfileContactsSearch)Returns an immutable copy ofthiswith just theworkProfileBlockCrossProfileContactsSearchfield changed.AndroidWorkProfileGeneralDeviceConfigurationwithWorkProfileBlockCrossProfileCopyPaste(Boolean workProfileBlockCrossProfileCopyPaste)Returns an immutable copy ofthiswith just theworkProfileBlockCrossProfileCopyPastefield changed.AndroidWorkProfileGeneralDeviceConfigurationwithWorkProfileBlockNotificationsWhileDeviceLocked(Boolean workProfileBlockNotificationsWhileDeviceLocked)Returns an immutable copy ofthiswith just theworkProfileBlockNotificationsWhileDeviceLockedfield changed.AndroidWorkProfileGeneralDeviceConfigurationwithWorkProfileBlockScreenCapture(Boolean workProfileBlockScreenCapture)Returns an immutable copy ofthiswith just theworkProfileBlockScreenCapturefield changed.AndroidWorkProfileGeneralDeviceConfigurationwithWorkProfileBluetoothEnableContactSharing(Boolean workProfileBluetoothEnableContactSharing)Returns an immutable copy ofthiswith just theworkProfileBluetoothEnableContactSharingfield changed.AndroidWorkProfileGeneralDeviceConfigurationwithWorkProfileDataSharingType(AndroidWorkProfileCrossProfileDataSharingType workProfileDataSharingType)Returns an immutable copy ofthiswith just theworkProfileDataSharingTypefield changed.AndroidWorkProfileGeneralDeviceConfigurationwithWorkProfileDefaultAppPermissionPolicy(AndroidWorkProfileDefaultAppPermissionPolicyType workProfileDefaultAppPermissionPolicy)Returns an immutable copy ofthiswith just theworkProfileDefaultAppPermissionPolicyfield changed.AndroidWorkProfileGeneralDeviceConfigurationwithWorkProfilePasswordBlockFingerprintUnlock(Boolean workProfilePasswordBlockFingerprintUnlock)Returns an immutable copy ofthiswith just theworkProfilePasswordBlockFingerprintUnlockfield changed.AndroidWorkProfileGeneralDeviceConfigurationwithWorkProfilePasswordBlockTrustAgents(Boolean workProfilePasswordBlockTrustAgents)Returns an immutable copy ofthiswith just theworkProfilePasswordBlockTrustAgentsfield changed.AndroidWorkProfileGeneralDeviceConfigurationwithWorkProfilePasswordExpirationDays(Integer workProfilePasswordExpirationDays)Returns an immutable copy ofthiswith just theworkProfilePasswordExpirationDaysfield changed.AndroidWorkProfileGeneralDeviceConfigurationwithWorkProfilePasswordMinimumLength(Integer workProfilePasswordMinimumLength)Returns an immutable copy ofthiswith just theworkProfilePasswordMinimumLengthfield changed.AndroidWorkProfileGeneralDeviceConfigurationwithWorkProfilePasswordMinLetterCharacters(Integer workProfilePasswordMinLetterCharacters)Returns an immutable copy ofthiswith just theworkProfilePasswordMinLetterCharactersfield changed.AndroidWorkProfileGeneralDeviceConfigurationwithWorkProfilePasswordMinLowerCaseCharacters(Integer workProfilePasswordMinLowerCaseCharacters)Returns an immutable copy ofthiswith just theworkProfilePasswordMinLowerCaseCharactersfield changed.AndroidWorkProfileGeneralDeviceConfigurationwithWorkProfilePasswordMinNonLetterCharacters(Integer workProfilePasswordMinNonLetterCharacters)Returns an immutable copy ofthiswith just theworkProfilePasswordMinNonLetterCharactersfield changed.AndroidWorkProfileGeneralDeviceConfigurationwithWorkProfilePasswordMinNumericCharacters(Integer workProfilePasswordMinNumericCharacters)Returns an immutable copy ofthiswith just theworkProfilePasswordMinNumericCharactersfield changed.AndroidWorkProfileGeneralDeviceConfigurationwithWorkProfilePasswordMinSymbolCharacters(Integer workProfilePasswordMinSymbolCharacters)Returns an immutable copy ofthiswith just theworkProfilePasswordMinSymbolCharactersfield changed.AndroidWorkProfileGeneralDeviceConfigurationwithWorkProfilePasswordMinUpperCaseCharacters(Integer workProfilePasswordMinUpperCaseCharacters)Returns an immutable copy ofthiswith just theworkProfilePasswordMinUpperCaseCharactersfield changed.AndroidWorkProfileGeneralDeviceConfigurationwithWorkProfilePasswordMinutesOfInactivityBeforeScreenTimeout(Integer workProfilePasswordMinutesOfInactivityBeforeScreenTimeout)Returns an immutable copy ofthiswith just theworkProfilePasswordMinutesOfInactivityBeforeScreenTimeoutfield changed.AndroidWorkProfileGeneralDeviceConfigurationwithWorkProfilePasswordPreviousPasswordBlockCount(Integer workProfilePasswordPreviousPasswordBlockCount)Returns an immutable copy ofthiswith just theworkProfilePasswordPreviousPasswordBlockCountfield changed.AndroidWorkProfileGeneralDeviceConfigurationwithWorkProfilePasswordRequiredType(AndroidWorkProfileRequiredPasswordType workProfilePasswordRequiredType)Returns an immutable copy ofthiswith just theworkProfilePasswordRequiredTypefield changed.AndroidWorkProfileGeneralDeviceConfigurationwithWorkProfilePasswordSignInFailureCountBeforeFactoryReset(Integer workProfilePasswordSignInFailureCountBeforeFactoryReset)Returns an immutable copy ofthiswith just theworkProfilePasswordSignInFailureCountBeforeFactoryResetfield changed.AndroidWorkProfileGeneralDeviceConfigurationwithWorkProfileRequirePassword(Boolean workProfileRequirePassword)Returns an immutable copy ofthiswith just theworkProfileRequirePasswordfield changed.-
Methods inherited from class odata.msgraph.client.entity.DeviceConfiguration
assign, getAssignments, getCreatedDateTime, getDescription, getDeviceSettingStateSummaries, getDeviceStatuses, getDeviceStatusOverview, getDisplayName, getLastModifiedDateTime, getUserStatuses, getUserStatusOverview, getVersion, withCreatedDateTime, withDescription, withDisplayName, withLastModifiedDateTime, withVersion
-
-
-
-
Field Detail
-
passwordBlockFingerprintUnlock
protected Boolean passwordBlockFingerprintUnlock
-
passwordBlockTrustAgents
protected Boolean passwordBlockTrustAgents
-
passwordExpirationDays
protected Integer passwordExpirationDays
-
passwordMinimumLength
protected Integer passwordMinimumLength
-
passwordMinutesOfInactivityBeforeScreenTimeout
protected Integer passwordMinutesOfInactivityBeforeScreenTimeout
-
passwordPreviousPasswordBlockCount
protected Integer passwordPreviousPasswordBlockCount
-
passwordRequiredType
protected AndroidWorkProfileRequiredPasswordType passwordRequiredType
-
passwordSignInFailureCountBeforeFactoryReset
protected Integer passwordSignInFailureCountBeforeFactoryReset
-
securityRequireVerifyApps
protected Boolean securityRequireVerifyApps
-
workProfileBlockAddingAccounts
protected Boolean workProfileBlockAddingAccounts
-
workProfileBlockCamera
protected Boolean workProfileBlockCamera
-
workProfileBlockCrossProfileCallerId
protected Boolean workProfileBlockCrossProfileCallerId
-
workProfileBlockCrossProfileContactsSearch
protected Boolean workProfileBlockCrossProfileContactsSearch
-
workProfileBlockCrossProfileCopyPaste
protected Boolean workProfileBlockCrossProfileCopyPaste
-
workProfileBlockNotificationsWhileDeviceLocked
protected Boolean workProfileBlockNotificationsWhileDeviceLocked
-
workProfileBlockScreenCapture
protected Boolean workProfileBlockScreenCapture
-
workProfileBluetoothEnableContactSharing
protected Boolean workProfileBluetoothEnableContactSharing
-
workProfileDataSharingType
protected AndroidWorkProfileCrossProfileDataSharingType workProfileDataSharingType
-
workProfileDefaultAppPermissionPolicy
protected AndroidWorkProfileDefaultAppPermissionPolicyType workProfileDefaultAppPermissionPolicy
-
workProfilePasswordBlockFingerprintUnlock
protected Boolean workProfilePasswordBlockFingerprintUnlock
-
workProfilePasswordBlockTrustAgents
protected Boolean workProfilePasswordBlockTrustAgents
-
workProfilePasswordExpirationDays
protected Integer workProfilePasswordExpirationDays
-
workProfilePasswordMinimumLength
protected Integer workProfilePasswordMinimumLength
-
workProfilePasswordMinLetterCharacters
protected Integer workProfilePasswordMinLetterCharacters
-
workProfilePasswordMinLowerCaseCharacters
protected Integer workProfilePasswordMinLowerCaseCharacters
-
workProfilePasswordMinNonLetterCharacters
protected Integer workProfilePasswordMinNonLetterCharacters
-
workProfilePasswordMinNumericCharacters
protected Integer workProfilePasswordMinNumericCharacters
-
workProfilePasswordMinSymbolCharacters
protected Integer workProfilePasswordMinSymbolCharacters
-
workProfilePasswordMinUpperCaseCharacters
protected Integer workProfilePasswordMinUpperCaseCharacters
-
workProfilePasswordMinutesOfInactivityBeforeScreenTimeout
protected Integer workProfilePasswordMinutesOfInactivityBeforeScreenTimeout
-
workProfilePasswordPreviousPasswordBlockCount
protected Integer workProfilePasswordPreviousPasswordBlockCount
-
workProfilePasswordRequiredType
protected AndroidWorkProfileRequiredPasswordType workProfilePasswordRequiredType
-
workProfilePasswordSignInFailureCountBeforeFactoryReset
protected Integer workProfilePasswordSignInFailureCountBeforeFactoryReset
-
workProfileRequirePassword
protected Boolean workProfileRequirePassword
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceConfiguration
-
builderAndroidWorkProfileGeneralDeviceConfiguration
public static AndroidWorkProfileGeneralDeviceConfiguration.Builder builderAndroidWorkProfileGeneralDeviceConfiguration()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classDeviceConfiguration
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDeviceConfiguration
-
getPasswordBlockFingerprintUnlock
public Optional<Boolean> getPasswordBlockFingerprintUnlock()
“Indicates whether or not to block fingerprint unlock.”- Returns:
- property passwordBlockFingerprintUnlock
-
withPasswordBlockFingerprintUnlock
public AndroidWorkProfileGeneralDeviceConfiguration withPasswordBlockFingerprintUnlock(Boolean passwordBlockFingerprintUnlock)
Returns an immutable copy ofthiswith just thepasswordBlockFingerprintUnlockfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Indicates whether or not to block fingerprint unlock.”
- Parameters:
passwordBlockFingerprintUnlock- new value ofpasswordBlockFingerprintUnlockfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordBlockFingerprintUnlockfield changed
-
getPasswordBlockTrustAgents
public Optional<Boolean> getPasswordBlockTrustAgents()
“Indicates whether or not to block Smart Lock and other trust agents.”- Returns:
- property passwordBlockTrustAgents
-
withPasswordBlockTrustAgents
public AndroidWorkProfileGeneralDeviceConfiguration withPasswordBlockTrustAgents(Boolean passwordBlockTrustAgents)
Returns an immutable copy ofthiswith just thepasswordBlockTrustAgentsfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Indicates whether or not to block Smart Lock and other trust agents.”
- Parameters:
passwordBlockTrustAgents- new value ofpasswordBlockTrustAgentsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordBlockTrustAgentsfield changed
-
getPasswordExpirationDays
public Optional<Integer> getPasswordExpirationDays()
“Number of days before the password expires. Valid values 1 to 365”- Returns:
- property passwordExpirationDays
-
withPasswordExpirationDays
public AndroidWorkProfileGeneralDeviceConfiguration withPasswordExpirationDays(Integer passwordExpirationDays)
Returns an immutable copy ofthiswith just thepasswordExpirationDaysfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Number of days before the password expires. Valid values 1 to 365”
- Parameters:
passwordExpirationDays- new value ofpasswordExpirationDaysfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordExpirationDaysfield changed
-
getPasswordMinimumLength
public Optional<Integer> getPasswordMinimumLength()
“Minimum length of passwords. Valid values 4 to 16”- Returns:
- property passwordMinimumLength
-
withPasswordMinimumLength
public AndroidWorkProfileGeneralDeviceConfiguration withPasswordMinimumLength(Integer passwordMinimumLength)
Returns an immutable copy ofthiswith just thepasswordMinimumLengthfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Minimum length of passwords. Valid values 4 to 16”
- Parameters:
passwordMinimumLength- new value ofpasswordMinimumLengthfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordMinimumLengthfield changed
-
getPasswordMinutesOfInactivityBeforeScreenTimeout
public Optional<Integer> getPasswordMinutesOfInactivityBeforeScreenTimeout()
“Minutes of inactivity before the screen times out.”- Returns:
- property passwordMinutesOfInactivityBeforeScreenTimeout
-
withPasswordMinutesOfInactivityBeforeScreenTimeout
public AndroidWorkProfileGeneralDeviceConfiguration withPasswordMinutesOfInactivityBeforeScreenTimeout(Integer passwordMinutesOfInactivityBeforeScreenTimeout)
Returns an immutable copy ofthiswith just thepasswordMinutesOfInactivityBeforeScreenTimeoutfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Minutes of inactivity before the screen times out.”
- Parameters:
passwordMinutesOfInactivityBeforeScreenTimeout- new value ofpasswordMinutesOfInactivityBeforeScreenTimeoutfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordMinutesOfInactivityBeforeScreenTimeoutfield changed
-
getPasswordPreviousPasswordBlockCount
public Optional<Integer> getPasswordPreviousPasswordBlockCount()
“Number of previous passwords to block. Valid values 0 to 24”- Returns:
- property passwordPreviousPasswordBlockCount
-
withPasswordPreviousPasswordBlockCount
public AndroidWorkProfileGeneralDeviceConfiguration withPasswordPreviousPasswordBlockCount(Integer passwordPreviousPasswordBlockCount)
Returns an immutable copy ofthiswith just thepasswordPreviousPasswordBlockCountfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Number of previous passwords to block. Valid values 0 to 24”
- Parameters:
passwordPreviousPasswordBlockCount- new value ofpasswordPreviousPasswordBlockCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordPreviousPasswordBlockCountfield changed
-
getPasswordRequiredType
public Optional<AndroidWorkProfileRequiredPasswordType> getPasswordRequiredType()
“Type of password that is required.”- Returns:
- property passwordRequiredType
-
withPasswordRequiredType
public AndroidWorkProfileGeneralDeviceConfiguration withPasswordRequiredType(AndroidWorkProfileRequiredPasswordType passwordRequiredType)
Returns an immutable copy ofthiswith just thepasswordRequiredTypefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Type of password that is required.”
- Parameters:
passwordRequiredType- new value ofpasswordRequiredTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordRequiredTypefield changed
-
getPasswordSignInFailureCountBeforeFactoryReset
public Optional<Integer> getPasswordSignInFailureCountBeforeFactoryReset()
“Number of sign in failures allowed before factory reset. Valid values 1 to 16”- Returns:
- property passwordSignInFailureCountBeforeFactoryReset
-
withPasswordSignInFailureCountBeforeFactoryReset
public AndroidWorkProfileGeneralDeviceConfiguration withPasswordSignInFailureCountBeforeFactoryReset(Integer passwordSignInFailureCountBeforeFactoryReset)
Returns an immutable copy ofthiswith just thepasswordSignInFailureCountBeforeFactoryResetfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Number of sign in failures allowed before factory reset. Valid values 1 to 16”
- Parameters:
passwordSignInFailureCountBeforeFactoryReset- new value ofpasswordSignInFailureCountBeforeFactoryResetfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordSignInFailureCountBeforeFactoryResetfield changed
-
getSecurityRequireVerifyApps
public Optional<Boolean> getSecurityRequireVerifyApps()
“Require the Android Verify apps feature is turned on.”- Returns:
- property securityRequireVerifyApps
-
withSecurityRequireVerifyApps
public AndroidWorkProfileGeneralDeviceConfiguration withSecurityRequireVerifyApps(Boolean securityRequireVerifyApps)
Returns an immutable copy ofthiswith just thesecurityRequireVerifyAppsfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Require the Android Verify apps feature is turned on.”
- Parameters:
securityRequireVerifyApps- new value ofsecurityRequireVerifyAppsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesecurityRequireVerifyAppsfield changed
-
getWorkProfileBlockAddingAccounts
public Optional<Boolean> getWorkProfileBlockAddingAccounts()
“Block users from adding/removing accounts in work profile.”- Returns:
- property workProfileBlockAddingAccounts
-
withWorkProfileBlockAddingAccounts
public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfileBlockAddingAccounts(Boolean workProfileBlockAddingAccounts)
Returns an immutable copy ofthiswith just theworkProfileBlockAddingAccountsfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Block users from adding/removing accounts in work profile.”
- Parameters:
workProfileBlockAddingAccounts- new value ofworkProfileBlockAddingAccountsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theworkProfileBlockAddingAccountsfield changed
-
getWorkProfileBlockCamera
public Optional<Boolean> getWorkProfileBlockCamera()
“Block work profile camera.”- Returns:
- property workProfileBlockCamera
-
withWorkProfileBlockCamera
public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfileBlockCamera(Boolean workProfileBlockCamera)
Returns an immutable copy ofthiswith just theworkProfileBlockCamerafield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Block work profile camera.”
- Parameters:
workProfileBlockCamera- new value ofworkProfileBlockCamerafield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theworkProfileBlockCamerafield changed
-
getWorkProfileBlockCrossProfileCallerId
public Optional<Boolean> getWorkProfileBlockCrossProfileCallerId()
“Block display work profile caller ID in personal profile.”- Returns:
- property workProfileBlockCrossProfileCallerId
-
withWorkProfileBlockCrossProfileCallerId
public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfileBlockCrossProfileCallerId(Boolean workProfileBlockCrossProfileCallerId)
Returns an immutable copy ofthiswith just theworkProfileBlockCrossProfileCallerIdfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Block display work profile caller ID in personal profile.”
- Parameters:
workProfileBlockCrossProfileCallerId- new value ofworkProfileBlockCrossProfileCallerIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theworkProfileBlockCrossProfileCallerIdfield changed
-
getWorkProfileBlockCrossProfileContactsSearch
public Optional<Boolean> getWorkProfileBlockCrossProfileContactsSearch()
“Block work profile contacts availability in personal profile.”- Returns:
- property workProfileBlockCrossProfileContactsSearch
-
withWorkProfileBlockCrossProfileContactsSearch
public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfileBlockCrossProfileContactsSearch(Boolean workProfileBlockCrossProfileContactsSearch)
Returns an immutable copy ofthiswith just theworkProfileBlockCrossProfileContactsSearchfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Block work profile contacts availability in personal profile.”
- Parameters:
workProfileBlockCrossProfileContactsSearch- new value ofworkProfileBlockCrossProfileContactsSearchfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theworkProfileBlockCrossProfileContactsSearchfield changed
-
getWorkProfileBlockCrossProfileCopyPaste
public Optional<Boolean> getWorkProfileBlockCrossProfileCopyPaste()
“Boolean that indicates if the setting disallow cross profile copy/paste is enabled.”- Returns:
- property workProfileBlockCrossProfileCopyPaste
-
withWorkProfileBlockCrossProfileCopyPaste
public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfileBlockCrossProfileCopyPaste(Boolean workProfileBlockCrossProfileCopyPaste)
Returns an immutable copy ofthiswith just theworkProfileBlockCrossProfileCopyPastefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Boolean that indicates if the setting disallow cross profile copy/paste is enabled.”
- Parameters:
workProfileBlockCrossProfileCopyPaste- new value ofworkProfileBlockCrossProfileCopyPastefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theworkProfileBlockCrossProfileCopyPastefield changed
-
getWorkProfileBlockNotificationsWhileDeviceLocked
public Optional<Boolean> getWorkProfileBlockNotificationsWhileDeviceLocked()
“Indicates whether or not to block notifications while device locked.”- Returns:
- property workProfileBlockNotificationsWhileDeviceLocked
-
withWorkProfileBlockNotificationsWhileDeviceLocked
public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfileBlockNotificationsWhileDeviceLocked(Boolean workProfileBlockNotificationsWhileDeviceLocked)
Returns an immutable copy ofthiswith just theworkProfileBlockNotificationsWhileDeviceLockedfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Indicates whether or not to block notifications while device locked.”
- Parameters:
workProfileBlockNotificationsWhileDeviceLocked- new value ofworkProfileBlockNotificationsWhileDeviceLockedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theworkProfileBlockNotificationsWhileDeviceLockedfield changed
-
getWorkProfileBlockScreenCapture
public Optional<Boolean> getWorkProfileBlockScreenCapture()
“Block screen capture in work profile.”- Returns:
- property workProfileBlockScreenCapture
-
withWorkProfileBlockScreenCapture
public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfileBlockScreenCapture(Boolean workProfileBlockScreenCapture)
Returns an immutable copy ofthiswith just theworkProfileBlockScreenCapturefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Block screen capture in work profile.”
- Parameters:
workProfileBlockScreenCapture- new value ofworkProfileBlockScreenCapturefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theworkProfileBlockScreenCapturefield changed
-
getWorkProfileBluetoothEnableContactSharing
public Optional<Boolean> getWorkProfileBluetoothEnableContactSharing()
“Allow bluetooth devices to access enterprise contacts.”- Returns:
- property workProfileBluetoothEnableContactSharing
-
withWorkProfileBluetoothEnableContactSharing
public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfileBluetoothEnableContactSharing(Boolean workProfileBluetoothEnableContactSharing)
Returns an immutable copy ofthiswith just theworkProfileBluetoothEnableContactSharingfield changed. Field description below . The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Allow bluetooth devices to access enterprise contacts.”
- Parameters:
workProfileBluetoothEnableContactSharing- new value ofworkProfileBluetoothEnableContactSharingfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theworkProfileBluetoothEnableContactSharingfield changed
-
getWorkProfileDataSharingType
public Optional<AndroidWorkProfileCrossProfileDataSharingType> getWorkProfileDataSharingType()
“Type of data sharing that is allowed.”- Returns:
- property workProfileDataSharingType
-
withWorkProfileDataSharingType
public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfileDataSharingType(AndroidWorkProfileCrossProfileDataSharingType workProfileDataSharingType)
Returns an immutable copy ofthiswith just theworkProfileDataSharingTypefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Type of data sharing that is allowed.”
- Parameters:
workProfileDataSharingType- new value ofworkProfileDataSharingTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theworkProfileDataSharingTypefield changed
-
getWorkProfileDefaultAppPermissionPolicy
public Optional<AndroidWorkProfileDefaultAppPermissionPolicyType> getWorkProfileDefaultAppPermissionPolicy()
“Type of password that is required.”- Returns:
- property workProfileDefaultAppPermissionPolicy
-
withWorkProfileDefaultAppPermissionPolicy
public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfileDefaultAppPermissionPolicy(AndroidWorkProfileDefaultAppPermissionPolicyType workProfileDefaultAppPermissionPolicy)
Returns an immutable copy ofthiswith just theworkProfileDefaultAppPermissionPolicyfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Type of password that is required.”
- Parameters:
workProfileDefaultAppPermissionPolicy- new value ofworkProfileDefaultAppPermissionPolicyfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theworkProfileDefaultAppPermissionPolicyfield changed
-
getWorkProfilePasswordBlockFingerprintUnlock
public Optional<Boolean> getWorkProfilePasswordBlockFingerprintUnlock()
“Indicates whether or not to block fingerprint unlock for work profile.”- Returns:
- property workProfilePasswordBlockFingerprintUnlock
-
withWorkProfilePasswordBlockFingerprintUnlock
public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfilePasswordBlockFingerprintUnlock(Boolean workProfilePasswordBlockFingerprintUnlock)
Returns an immutable copy ofthiswith just theworkProfilePasswordBlockFingerprintUnlockfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Indicates whether or not to block fingerprint unlock for work profile.”
- Parameters:
workProfilePasswordBlockFingerprintUnlock- new value ofworkProfilePasswordBlockFingerprintUnlockfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theworkProfilePasswordBlockFingerprintUnlockfield changed
-
getWorkProfilePasswordBlockTrustAgents
public Optional<Boolean> getWorkProfilePasswordBlockTrustAgents()
“Indicates whether or not to block Smart Lock and other trust agents for work profile.”- Returns:
- property workProfilePasswordBlockTrustAgents
-
withWorkProfilePasswordBlockTrustAgents
public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfilePasswordBlockTrustAgents(Boolean workProfilePasswordBlockTrustAgents)
Returns an immutable copy ofthiswith just theworkProfilePasswordBlockTrustAgentsfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Indicates whether or not to block Smart Lock and other trust agents for work profile.”
- Parameters:
workProfilePasswordBlockTrustAgents- new value ofworkProfilePasswordBlockTrustAgentsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theworkProfilePasswordBlockTrustAgentsfield changed
-
getWorkProfilePasswordExpirationDays
public Optional<Integer> getWorkProfilePasswordExpirationDays()
“Number of days before the work profile password expires. Valid values 1 to 365”- Returns:
- property workProfilePasswordExpirationDays
-
withWorkProfilePasswordExpirationDays
public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfilePasswordExpirationDays(Integer workProfilePasswordExpirationDays)
Returns an immutable copy ofthiswith just theworkProfilePasswordExpirationDaysfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Number of days before the work profile password expires. Valid values 1 to 365”
- Parameters:
workProfilePasswordExpirationDays- new value ofworkProfilePasswordExpirationDaysfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theworkProfilePasswordExpirationDaysfield changed
-
getWorkProfilePasswordMinimumLength
public Optional<Integer> getWorkProfilePasswordMinimumLength()
“Minimum length of work profile password. Valid values 4 to 16”- Returns:
- property workProfilePasswordMinimumLength
-
withWorkProfilePasswordMinimumLength
public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfilePasswordMinimumLength(Integer workProfilePasswordMinimumLength)
Returns an immutable copy ofthiswith just theworkProfilePasswordMinimumLengthfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Minimum length of work profile password. Valid values 4 to 16”
- Parameters:
workProfilePasswordMinimumLength- new value ofworkProfilePasswordMinimumLengthfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theworkProfilePasswordMinimumLengthfield changed
-
getWorkProfilePasswordMinLetterCharacters
public Optional<Integer> getWorkProfilePasswordMinLetterCharacters()
“Minimum # of letter characters required in work profile password. Valid values 1 to 10”- Returns:
- property workProfilePasswordMinLetterCharacters
-
withWorkProfilePasswordMinLetterCharacters
public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfilePasswordMinLetterCharacters(Integer workProfilePasswordMinLetterCharacters)
Returns an immutable copy ofthiswith just theworkProfilePasswordMinLetterCharactersfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Minimum # of letter characters required in work profile password. Valid values 1 to 10”
- Parameters:
workProfilePasswordMinLetterCharacters- new value ofworkProfilePasswordMinLetterCharactersfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theworkProfilePasswordMinLetterCharactersfield changed
-
getWorkProfilePasswordMinLowerCaseCharacters
public Optional<Integer> getWorkProfilePasswordMinLowerCaseCharacters()
“Minimum # of lower-case characters required in work profile password. Valid values 1 to 10”- Returns:
- property workProfilePasswordMinLowerCaseCharacters
-
withWorkProfilePasswordMinLowerCaseCharacters
public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfilePasswordMinLowerCaseCharacters(Integer workProfilePasswordMinLowerCaseCharacters)
Returns an immutable copy ofthiswith just theworkProfilePasswordMinLowerCaseCharactersfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Minimum # of lower-case characters required in work profile password. Valid values 1 to 10”
- Parameters:
workProfilePasswordMinLowerCaseCharacters- new value ofworkProfilePasswordMinLowerCaseCharactersfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theworkProfilePasswordMinLowerCaseCharactersfield changed
-
getWorkProfilePasswordMinNonLetterCharacters
public Optional<Integer> getWorkProfilePasswordMinNonLetterCharacters()
“Minimum # of non-letter characters required in work profile password. Valid values 1 to 10”- Returns:
- property workProfilePasswordMinNonLetterCharacters
-
withWorkProfilePasswordMinNonLetterCharacters
public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfilePasswordMinNonLetterCharacters(Integer workProfilePasswordMinNonLetterCharacters)
Returns an immutable copy ofthiswith just theworkProfilePasswordMinNonLetterCharactersfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Minimum # of non-letter characters required in work profile password. Valid values 1 to 10”
- Parameters:
workProfilePasswordMinNonLetterCharacters- new value ofworkProfilePasswordMinNonLetterCharactersfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theworkProfilePasswordMinNonLetterCharactersfield changed
-
getWorkProfilePasswordMinNumericCharacters
public Optional<Integer> getWorkProfilePasswordMinNumericCharacters()
“Minimum # of numeric characters required in work profile password. Valid values 1 to 10”- Returns:
- property workProfilePasswordMinNumericCharacters
-
withWorkProfilePasswordMinNumericCharacters
public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfilePasswordMinNumericCharacters(Integer workProfilePasswordMinNumericCharacters)
Returns an immutable copy ofthiswith just theworkProfilePasswordMinNumericCharactersfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Minimum # of numeric characters required in work profile password. Valid values 1 to 10”
- Parameters:
workProfilePasswordMinNumericCharacters- new value ofworkProfilePasswordMinNumericCharactersfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theworkProfilePasswordMinNumericCharactersfield changed
-
getWorkProfilePasswordMinSymbolCharacters
public Optional<Integer> getWorkProfilePasswordMinSymbolCharacters()
“Minimum # of symbols required in work profile password. Valid values 1 to 10”- Returns:
- property workProfilePasswordMinSymbolCharacters
-
withWorkProfilePasswordMinSymbolCharacters
public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfilePasswordMinSymbolCharacters(Integer workProfilePasswordMinSymbolCharacters)
Returns an immutable copy ofthiswith just theworkProfilePasswordMinSymbolCharactersfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Minimum # of symbols required in work profile password. Valid values 1 to 10”
- Parameters:
workProfilePasswordMinSymbolCharacters- new value ofworkProfilePasswordMinSymbolCharactersfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theworkProfilePasswordMinSymbolCharactersfield changed
-
getWorkProfilePasswordMinUpperCaseCharacters
public Optional<Integer> getWorkProfilePasswordMinUpperCaseCharacters()
“Minimum # of upper-case characters required in work profile password. Valid values 1 to 10”- Returns:
- property workProfilePasswordMinUpperCaseCharacters
-
withWorkProfilePasswordMinUpperCaseCharacters
public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfilePasswordMinUpperCaseCharacters(Integer workProfilePasswordMinUpperCaseCharacters)
Returns an immutable copy ofthiswith just theworkProfilePasswordMinUpperCaseCharactersfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Minimum # of upper-case characters required in work profile password. Valid values 1 to 10”
- Parameters:
workProfilePasswordMinUpperCaseCharacters- new value ofworkProfilePasswordMinUpperCaseCharactersfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theworkProfilePasswordMinUpperCaseCharactersfield changed
-
getWorkProfilePasswordMinutesOfInactivityBeforeScreenTimeout
public Optional<Integer> getWorkProfilePasswordMinutesOfInactivityBeforeScreenTimeout()
“Minutes of inactivity before the screen times out.”- Returns:
- property workProfilePasswordMinutesOfInactivityBeforeScreenTimeout
-
withWorkProfilePasswordMinutesOfInactivityBeforeScreenTimeout
public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfilePasswordMinutesOfInactivityBeforeScreenTimeout(Integer workProfilePasswordMinutesOfInactivityBeforeScreenTimeout)
Returns an immutable copy ofthiswith just theworkProfilePasswordMinutesOfInactivityBeforeScreenTimeoutfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Minutes of inactivity before the screen times out.”
- Parameters:
workProfilePasswordMinutesOfInactivityBeforeScreenTimeout- new value ofworkProfilePasswordMinutesOfInactivityBeforeScreenTimeoutfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theworkProfilePasswordMinutesOfInactivityBeforeScreenTimeoutfield changed
-
getWorkProfilePasswordPreviousPasswordBlockCount
public Optional<Integer> getWorkProfilePasswordPreviousPasswordBlockCount()
“Number of previous work profile passwords to block. Valid values 0 to 24”- Returns:
- property workProfilePasswordPreviousPasswordBlockCount
-
withWorkProfilePasswordPreviousPasswordBlockCount
public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfilePasswordPreviousPasswordBlockCount(Integer workProfilePasswordPreviousPasswordBlockCount)
Returns an immutable copy ofthiswith just theworkProfilePasswordPreviousPasswordBlockCountfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Number of previous work profile passwords to block. Valid values 0 to 24”
- Parameters:
workProfilePasswordPreviousPasswordBlockCount- new value ofworkProfilePasswordPreviousPasswordBlockCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theworkProfilePasswordPreviousPasswordBlockCountfield changed
-
getWorkProfilePasswordRequiredType
public Optional<AndroidWorkProfileRequiredPasswordType> getWorkProfilePasswordRequiredType()
“Type of work profile password that is required.”- Returns:
- property workProfilePasswordRequiredType
-
withWorkProfilePasswordRequiredType
public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfilePasswordRequiredType(AndroidWorkProfileRequiredPasswordType workProfilePasswordRequiredType)
Returns an immutable copy ofthiswith just theworkProfilePasswordRequiredTypefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Type of work profile password that is required.”
- Parameters:
workProfilePasswordRequiredType- new value ofworkProfilePasswordRequiredTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theworkProfilePasswordRequiredTypefield changed
-
getWorkProfilePasswordSignInFailureCountBeforeFactoryReset
public Optional<Integer> getWorkProfilePasswordSignInFailureCountBeforeFactoryReset()
“Number of sign in failures allowed before work profile is removed and all corporate data deleted. Valid values 1 to 16”- Returns:
- property workProfilePasswordSignInFailureCountBeforeFactoryReset
-
withWorkProfilePasswordSignInFailureCountBeforeFactoryReset
public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfilePasswordSignInFailureCountBeforeFactoryReset(Integer workProfilePasswordSignInFailureCountBeforeFactoryReset)
Returns an immutable copy ofthiswith just theworkProfilePasswordSignInFailureCountBeforeFactoryResetfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Number of sign in failures allowed before work profile is removed and all corporate data deleted. Valid values 1 to 16”
- Parameters:
workProfilePasswordSignInFailureCountBeforeFactoryReset- new value ofworkProfilePasswordSignInFailureCountBeforeFactoryResetfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theworkProfilePasswordSignInFailureCountBeforeFactoryResetfield changed
-
getWorkProfileRequirePassword
public Optional<Boolean> getWorkProfileRequirePassword()
“Password is required or not for work profile”- Returns:
- property workProfileRequirePassword
-
withWorkProfileRequirePassword
public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfileRequirePassword(Boolean workProfileRequirePassword)
Returns an immutable copy ofthiswith just theworkProfileRequirePasswordfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Password is required or not for work profile”
- Parameters:
workProfileRequirePassword- new value ofworkProfileRequirePasswordfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theworkProfileRequirePasswordfield changed
-
withUnmappedField
public AndroidWorkProfileGeneralDeviceConfiguration withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDeviceConfiguration
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeviceConfiguration
-
patch
public AndroidWorkProfileGeneralDeviceConfiguration patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classDeviceConfiguration- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public AndroidWorkProfileGeneralDeviceConfiguration put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classDeviceConfiguration- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classDeviceConfiguration
-
-