Class AospDeviceOwnerDeviceConfiguration
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceConfiguration
-
- odata.msgraph.client.beta.entity.AospDeviceOwnerDeviceConfiguration
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class AospDeviceOwnerDeviceConfiguration extends DeviceConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
“This topic provides descriptions of the declared methods, properties and relationships exposed by the AndroidDeviceOwnerAOSPDeviceConfiguration resource.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAospDeviceOwnerDeviceConfiguration.Builder
-
Field Summary
Fields Modifier and Type Field Description protected BooleanappsAllowInstallFromUnknownSourcesprotected BooleanbackupBlockedprotected BooleanbluetoothBlockConfigurationprotected BooleanbluetoothBlockContactSharingprotected BooleanbluetoothBlockedprotected BooleancameraBlockedprotected BooleancellularBlockWiFiTetheringprotected BooleanfactoryResetBlockedprotected IntegerpasswordMinimumLengthprotected IntegerpasswordMinutesOfInactivityBeforeScreenTimeoutprotected AndroidDeviceOwnerRequiredPasswordTypepasswordRequiredTypeprotected IntegerpasswordSignInFailureCountBeforeFactoryResetprotected BooleanscreenCaptureBlockedprotected BooleansecurityAllowDebuggingFeaturesprotected BooleanstorageAllowUsbprotected BooleanstorageBlockExternalMediaprotected BooleanstorageBlockUsbFileTransferprotected BooleanwifiBlockEditConfigurations-
Fields inherited from class odata.msgraph.client.beta.entity.DeviceConfiguration
createdDateTime, description, deviceManagementApplicabilityRuleDeviceMode, deviceManagementApplicabilityRuleOsEdition, deviceManagementApplicabilityRuleOsVersion, displayName, lastModifiedDateTime, roleScopeTagIds, roleScopeTagIdsNextLink, supportsScopeTags, version
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAospDeviceOwnerDeviceConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AospDeviceOwnerDeviceConfiguration.BuilderbuilderAospDeviceOwnerDeviceConfiguration()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Boolean>getAppsAllowInstallFromUnknownSources()“Indicates whether or not the user is allowed to enable to unknown sources setting.”Optional<Boolean>getBackupBlocked()“Indicates whether or not to block backup service.”Optional<Boolean>getBluetoothBlockConfiguration()“Indicates whether or not to block a user from configuring bluetooth.”Optional<Boolean>getBluetoothBlockContactSharing()“Indicates whether or not to block a user from sharing contacts via bluetooth.”Optional<Boolean>getBluetoothBlocked()“Indicates whether or not to disable the use of bluetooth.Optional<Boolean>getCameraBlocked()“Indicates whether or not to disable the use of the camera.”Optional<Boolean>getCellularBlockWiFiTethering()“Indicates whether or not to block Wi-Fi tethering.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<Boolean>getFactoryResetBlocked()“Indicates whether or not the factory reset option in settings is disabled.”Optional<Integer>getPasswordMinimumLength()“Indicates the minimum length of the password required on the device.Optional<Integer>getPasswordMinutesOfInactivityBeforeScreenTimeout()“Minutes of inactivity before the screen times out.”Optional<AndroidDeviceOwnerRequiredPasswordType>getPasswordRequiredType()“Indicates the minimum password quality required on the device.”Optional<Integer>getPasswordSignInFailureCountBeforeFactoryReset()“Indicates the number of times a user can enter an incorrect password before the device is wiped.Optional<Boolean>getScreenCaptureBlocked()“Indicates whether or not to disable the capability to take screenshots.”Optional<Boolean>getSecurityAllowDebuggingFeatures()“Indicates whether or not to block the user from enabling debugging features on the device.”Optional<Boolean>getStorageAllowUsb()“Indicates whether or not to block USB storage.”Optional<Boolean>getStorageBlockExternalMedia()“Indicates whether or not to block external media.”Optional<Boolean>getStorageBlockUsbFileTransfer()“Indicates whether or not to block USB file transfer.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<Boolean>getWifiBlockEditConfigurations()“Indicates whether or not to block the user from editing the wifi connection settings.”StringodataTypeName()AospDeviceOwnerDeviceConfigurationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)AospDeviceOwnerDeviceConfigurationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()AospDeviceOwnerDeviceConfigurationwithAppsAllowInstallFromUnknownSources(Boolean appsAllowInstallFromUnknownSources)Returns an immutable copy ofthiswith just theappsAllowInstallFromUnknownSourcesfield changed.AospDeviceOwnerDeviceConfigurationwithBackupBlocked(Boolean backupBlocked)Returns an immutable copy ofthiswith just thebackupBlockedfield changed.AospDeviceOwnerDeviceConfigurationwithBluetoothBlockConfiguration(Boolean bluetoothBlockConfiguration)Returns an immutable copy ofthiswith just thebluetoothBlockConfigurationfield changed.AospDeviceOwnerDeviceConfigurationwithBluetoothBlockContactSharing(Boolean bluetoothBlockContactSharing)Returns an immutable copy ofthiswith just thebluetoothBlockContactSharingfield changed.AospDeviceOwnerDeviceConfigurationwithBluetoothBlocked(Boolean bluetoothBlocked)Returns an immutable copy ofthiswith just thebluetoothBlockedfield changed.AospDeviceOwnerDeviceConfigurationwithCameraBlocked(Boolean cameraBlocked)Returns an immutable copy ofthiswith just thecameraBlockedfield changed.AospDeviceOwnerDeviceConfigurationwithCellularBlockWiFiTethering(Boolean cellularBlockWiFiTethering)Returns an immutable copy ofthiswith just thecellularBlockWiFiTetheringfield changed.AospDeviceOwnerDeviceConfigurationwithFactoryResetBlocked(Boolean factoryResetBlocked)Returns an immutable copy ofthiswith just thefactoryResetBlockedfield changed.AospDeviceOwnerDeviceConfigurationwithPasswordMinimumLength(Integer passwordMinimumLength)Returns an immutable copy ofthiswith just thepasswordMinimumLengthfield changed.AospDeviceOwnerDeviceConfigurationwithPasswordMinutesOfInactivityBeforeScreenTimeout(Integer passwordMinutesOfInactivityBeforeScreenTimeout)Returns an immutable copy ofthiswith just thepasswordMinutesOfInactivityBeforeScreenTimeoutfield changed.AospDeviceOwnerDeviceConfigurationwithPasswordRequiredType(AndroidDeviceOwnerRequiredPasswordType passwordRequiredType)Returns an immutable copy ofthiswith just thepasswordRequiredTypefield changed.AospDeviceOwnerDeviceConfigurationwithPasswordSignInFailureCountBeforeFactoryReset(Integer passwordSignInFailureCountBeforeFactoryReset)Returns an immutable copy ofthiswith just thepasswordSignInFailureCountBeforeFactoryResetfield changed.AospDeviceOwnerDeviceConfigurationwithScreenCaptureBlocked(Boolean screenCaptureBlocked)Returns an immutable copy ofthiswith just thescreenCaptureBlockedfield changed.AospDeviceOwnerDeviceConfigurationwithSecurityAllowDebuggingFeatures(Boolean securityAllowDebuggingFeatures)Returns an immutable copy ofthiswith just thesecurityAllowDebuggingFeaturesfield changed.AospDeviceOwnerDeviceConfigurationwithStorageAllowUsb(Boolean storageAllowUsb)Returns an immutable copy ofthiswith just thestorageAllowUsbfield changed.AospDeviceOwnerDeviceConfigurationwithStorageBlockExternalMedia(Boolean storageBlockExternalMedia)Returns an immutable copy ofthiswith just thestorageBlockExternalMediafield changed.AospDeviceOwnerDeviceConfigurationwithStorageBlockUsbFileTransfer(Boolean storageBlockUsbFileTransfer)Returns an immutable copy ofthiswith just thestorageBlockUsbFileTransferfield changed.AospDeviceOwnerDeviceConfigurationwithUnmappedField(String name, String value)AospDeviceOwnerDeviceConfigurationwithWifiBlockEditConfigurations(Boolean wifiBlockEditConfigurations)Returns an immutable copy ofthiswith just thewifiBlockEditConfigurationsfield changed.-
Methods inherited from class odata.msgraph.client.beta.entity.DeviceConfiguration
assign, assignedAccessMultiModeProfiles, getAssignments, getCreatedDateTime, getDescription, getDeviceManagementApplicabilityRuleDeviceMode, getDeviceManagementApplicabilityRuleOsEdition, getDeviceManagementApplicabilityRuleOsVersion, getDeviceSettingStateSummaries, getDeviceStatuses, getDeviceStatusOverview, getDisplayName, getGroupAssignments, getLastModifiedDateTime, getOmaSettingPlainTextValue, getRoleScopeTagIds, getRoleScopeTagIds, getSupportsScopeTags, getUserStatuses, getUserStatusOverview, getVersion, windowsPrivacyAccessControls, withCreatedDateTime, withDescription, withDeviceManagementApplicabilityRuleDeviceMode, withDeviceManagementApplicabilityRuleOsEdition, withDeviceManagementApplicabilityRuleOsVersion, withDisplayName, withLastModifiedDateTime, withRoleScopeTagIds, withSupportsScopeTags, withVersion
-
-
-
-
Field Detail
-
appsAllowInstallFromUnknownSources
protected Boolean appsAllowInstallFromUnknownSources
-
backupBlocked
protected Boolean backupBlocked
-
bluetoothBlockConfiguration
protected Boolean bluetoothBlockConfiguration
-
bluetoothBlockContactSharing
protected Boolean bluetoothBlockContactSharing
-
bluetoothBlocked
protected Boolean bluetoothBlocked
-
cameraBlocked
protected Boolean cameraBlocked
-
cellularBlockWiFiTethering
protected Boolean cellularBlockWiFiTethering
-
factoryResetBlocked
protected Boolean factoryResetBlocked
-
passwordMinimumLength
protected Integer passwordMinimumLength
-
passwordMinutesOfInactivityBeforeScreenTimeout
protected Integer passwordMinutesOfInactivityBeforeScreenTimeout
-
passwordRequiredType
protected AndroidDeviceOwnerRequiredPasswordType passwordRequiredType
-
passwordSignInFailureCountBeforeFactoryReset
protected Integer passwordSignInFailureCountBeforeFactoryReset
-
screenCaptureBlocked
protected Boolean screenCaptureBlocked
-
securityAllowDebuggingFeatures
protected Boolean securityAllowDebuggingFeatures
-
storageAllowUsb
protected Boolean storageAllowUsb
-
storageBlockExternalMedia
protected Boolean storageBlockExternalMedia
-
storageBlockUsbFileTransfer
protected Boolean storageBlockUsbFileTransfer
-
wifiBlockEditConfigurations
protected Boolean wifiBlockEditConfigurations
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceConfiguration
-
builderAospDeviceOwnerDeviceConfiguration
public static AospDeviceOwnerDeviceConfiguration.Builder builderAospDeviceOwnerDeviceConfiguration()
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
-
getAppsAllowInstallFromUnknownSources
public Optional<Boolean> getAppsAllowInstallFromUnknownSources()
“Indicates whether or not the user is allowed to enable to unknown sources setting.”- Returns:
- property appsAllowInstallFromUnknownSources
-
withAppsAllowInstallFromUnknownSources
public AospDeviceOwnerDeviceConfiguration withAppsAllowInstallFromUnknownSources(Boolean appsAllowInstallFromUnknownSources)
Returns an immutable copy ofthiswith just theappsAllowInstallFromUnknownSourcesfield 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 the user is allowed to enable to unknown sources setting.”
- Parameters:
appsAllowInstallFromUnknownSources- new value ofappsAllowInstallFromUnknownSourcesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theappsAllowInstallFromUnknownSourcesfield changed
-
getBackupBlocked
public Optional<Boolean> getBackupBlocked()
“Indicates whether or not to block backup service.”- Returns:
- property backupBlocked
-
withBackupBlocked
public AospDeviceOwnerDeviceConfiguration withBackupBlocked(Boolean backupBlocked)
Returns an immutable copy ofthiswith just thebackupBlockedfield 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 backup service.”
- Parameters:
backupBlocked- new value ofbackupBlockedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thebackupBlockedfield changed
-
getBluetoothBlockConfiguration
public Optional<Boolean> getBluetoothBlockConfiguration()
“Indicates whether or not to block a user from configuring bluetooth.”- Returns:
- property bluetoothBlockConfiguration
-
withBluetoothBlockConfiguration
public AospDeviceOwnerDeviceConfiguration withBluetoothBlockConfiguration(Boolean bluetoothBlockConfiguration)
Returns an immutable copy ofthiswith just thebluetoothBlockConfigurationfield 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 a user from configuring bluetooth.”
- Parameters:
bluetoothBlockConfiguration- new value ofbluetoothBlockConfigurationfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thebluetoothBlockConfigurationfield changed
-
getBluetoothBlockContactSharing
public Optional<Boolean> getBluetoothBlockContactSharing()
“Indicates whether or not to block a user from sharing contacts via bluetooth.”- Returns:
- property bluetoothBlockContactSharing
-
withBluetoothBlockContactSharing
public AospDeviceOwnerDeviceConfiguration withBluetoothBlockContactSharing(Boolean bluetoothBlockContactSharing)
Returns an immutable copy ofthiswith just thebluetoothBlockContactSharingfield 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 a user from sharing contacts via bluetooth.”
- Parameters:
bluetoothBlockContactSharing- new value ofbluetoothBlockContactSharingfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thebluetoothBlockContactSharingfield changed
-
getBluetoothBlocked
public Optional<Boolean> getBluetoothBlocked()
“Indicates whether or not to disable the use of bluetooth. When set to true, bluetooth cannot be enabled on the device.”- Returns:
- property bluetoothBlocked
-
withBluetoothBlocked
public AospDeviceOwnerDeviceConfiguration withBluetoothBlocked(Boolean bluetoothBlocked)
Returns an immutable copy ofthiswith just thebluetoothBlockedfield 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 disable the use of bluetooth. When set to true, bluetooth cannot be enabled on the device.”
- Parameters:
bluetoothBlocked- new value ofbluetoothBlockedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thebluetoothBlockedfield changed
-
getCameraBlocked
public Optional<Boolean> getCameraBlocked()
“Indicates whether or not to disable the use of the camera.”- Returns:
- property cameraBlocked
-
withCameraBlocked
public AospDeviceOwnerDeviceConfiguration withCameraBlocked(Boolean cameraBlocked)
Returns an immutable copy ofthiswith just thecameraBlockedfield 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 disable the use of the camera.”
- Parameters:
cameraBlocked- new value ofcameraBlockedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecameraBlockedfield changed
-
getCellularBlockWiFiTethering
public Optional<Boolean> getCellularBlockWiFiTethering()
“Indicates whether or not to block Wi-Fi tethering.”- Returns:
- property cellularBlockWiFiTethering
-
withCellularBlockWiFiTethering
public AospDeviceOwnerDeviceConfiguration withCellularBlockWiFiTethering(Boolean cellularBlockWiFiTethering)
Returns an immutable copy ofthiswith just thecellularBlockWiFiTetheringfield 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 Wi-Fi tethering.”
- Parameters:
cellularBlockWiFiTethering- new value ofcellularBlockWiFiTetheringfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecellularBlockWiFiTetheringfield changed
-
getFactoryResetBlocked
public Optional<Boolean> getFactoryResetBlocked()
“Indicates whether or not the factory reset option in settings is disabled.”- Returns:
- property factoryResetBlocked
-
withFactoryResetBlocked
public AospDeviceOwnerDeviceConfiguration withFactoryResetBlocked(Boolean factoryResetBlocked)
Returns an immutable copy ofthiswith just thefactoryResetBlockedfield 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 the factory reset option in settings is disabled.”
- Parameters:
factoryResetBlocked- new value offactoryResetBlockedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefactoryResetBlockedfield changed
-
getPasswordMinimumLength
public Optional<Integer> getPasswordMinimumLength()
“Indicates the minimum length of the password required on the device. Valid values 4 to 16”- Returns:
- property passwordMinimumLength
-
withPasswordMinimumLength
public AospDeviceOwnerDeviceConfiguration 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.“Indicates the minimum length of the password required on the device. 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 AospDeviceOwnerDeviceConfiguration 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
-
getPasswordRequiredType
public Optional<AndroidDeviceOwnerRequiredPasswordType> getPasswordRequiredType()
“Indicates the minimum password quality required on the device.”- Returns:
- property passwordRequiredType
-
withPasswordRequiredType
public AospDeviceOwnerDeviceConfiguration withPasswordRequiredType(AndroidDeviceOwnerRequiredPasswordType 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.“Indicates the minimum password quality required on the device.”
- Parameters:
passwordRequiredType- new value ofpasswordRequiredTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordRequiredTypefield changed
-
getPasswordSignInFailureCountBeforeFactoryReset
public Optional<Integer> getPasswordSignInFailureCountBeforeFactoryReset()
“Indicates the number of times a user can enter an incorrect password before the device is wiped. Valid values 4 to 11”- Returns:
- property passwordSignInFailureCountBeforeFactoryReset
-
withPasswordSignInFailureCountBeforeFactoryReset
public AospDeviceOwnerDeviceConfiguration 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.“Indicates the number of times a user can enter an incorrect password before the device is wiped. Valid values 4 to 11”
- Parameters:
passwordSignInFailureCountBeforeFactoryReset- new value ofpasswordSignInFailureCountBeforeFactoryResetfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordSignInFailureCountBeforeFactoryResetfield changed
-
getScreenCaptureBlocked
public Optional<Boolean> getScreenCaptureBlocked()
“Indicates whether or not to disable the capability to take screenshots.”- Returns:
- property screenCaptureBlocked
-
withScreenCaptureBlocked
public AospDeviceOwnerDeviceConfiguration withScreenCaptureBlocked(Boolean screenCaptureBlocked)
Returns an immutable copy ofthiswith just thescreenCaptureBlockedfield 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 disable the capability to take screenshots.”
- Parameters:
screenCaptureBlocked- new value ofscreenCaptureBlockedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thescreenCaptureBlockedfield changed
-
getSecurityAllowDebuggingFeatures
public Optional<Boolean> getSecurityAllowDebuggingFeatures()
“Indicates whether or not to block the user from enabling debugging features on the device.”- Returns:
- property securityAllowDebuggingFeatures
-
withSecurityAllowDebuggingFeatures
public AospDeviceOwnerDeviceConfiguration withSecurityAllowDebuggingFeatures(Boolean securityAllowDebuggingFeatures)
Returns an immutable copy ofthiswith just thesecurityAllowDebuggingFeaturesfield 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 the user from enabling debugging features on the device.”
- Parameters:
securityAllowDebuggingFeatures- new value ofsecurityAllowDebuggingFeaturesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesecurityAllowDebuggingFeaturesfield changed
-
getStorageAllowUsb
public Optional<Boolean> getStorageAllowUsb()
“Indicates whether or not to block USB storage.”- Returns:
- property storageAllowUsb
-
withStorageAllowUsb
public AospDeviceOwnerDeviceConfiguration withStorageAllowUsb(Boolean storageAllowUsb)
Returns an immutable copy ofthiswith just thestorageAllowUsbfield 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 USB storage.”
- Parameters:
storageAllowUsb- new value ofstorageAllowUsbfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thestorageAllowUsbfield changed
-
getStorageBlockExternalMedia
public Optional<Boolean> getStorageBlockExternalMedia()
“Indicates whether or not to block external media.”- Returns:
- property storageBlockExternalMedia
-
withStorageBlockExternalMedia
public AospDeviceOwnerDeviceConfiguration withStorageBlockExternalMedia(Boolean storageBlockExternalMedia)
Returns an immutable copy ofthiswith just thestorageBlockExternalMediafield 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 external media.”
- Parameters:
storageBlockExternalMedia- new value ofstorageBlockExternalMediafield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thestorageBlockExternalMediafield changed
-
getStorageBlockUsbFileTransfer
public Optional<Boolean> getStorageBlockUsbFileTransfer()
“Indicates whether or not to block USB file transfer.”- Returns:
- property storageBlockUsbFileTransfer
-
withStorageBlockUsbFileTransfer
public AospDeviceOwnerDeviceConfiguration withStorageBlockUsbFileTransfer(Boolean storageBlockUsbFileTransfer)
Returns an immutable copy ofthiswith just thestorageBlockUsbFileTransferfield 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 USB file transfer.”
- Parameters:
storageBlockUsbFileTransfer- new value ofstorageBlockUsbFileTransferfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thestorageBlockUsbFileTransferfield changed
-
getWifiBlockEditConfigurations
public Optional<Boolean> getWifiBlockEditConfigurations()
“Indicates whether or not to block the user from editing the wifi connection settings.”- Returns:
- property wifiBlockEditConfigurations
-
withWifiBlockEditConfigurations
public AospDeviceOwnerDeviceConfiguration withWifiBlockEditConfigurations(Boolean wifiBlockEditConfigurations)
Returns an immutable copy ofthiswith just thewifiBlockEditConfigurationsfield 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 the user from editing the wifi connection settings.”
- Parameters:
wifiBlockEditConfigurations- new value ofwifiBlockEditConfigurationsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thewifiBlockEditConfigurationsfield changed
-
withUnmappedField
public AospDeviceOwnerDeviceConfiguration 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 AospDeviceOwnerDeviceConfiguration 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 AospDeviceOwnerDeviceConfiguration 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
-
-