Class AndroidCompliancePolicy
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.DeviceCompliancePolicy
-
- odata.msgraph.client.entity.AndroidCompliancePolicy
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class AndroidCompliancePolicy extends DeviceCompliancePolicy implements com.github.davidmoten.odata.client.ODataEntityType
“This class contains compliance settings for Android.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAndroidCompliancePolicy.Builder
-
Field Summary
-
Fields inherited from class odata.msgraph.client.entity.DeviceCompliancePolicy
assignments, createdDateTime, description, deviceSettingStateSummaries, deviceStatuses, deviceStatusOverview, displayName, lastModifiedDateTime, scheduledActionsForRule, userStatuses, userStatusOverview, version
-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAndroidCompliancePolicy()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AndroidCompliancePolicy.BuilderbuilderAndroidCompliancePolicy()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>getDeviceThreatProtectionEnabled()“Require that devices have enabled device threat protection.”Optional<DeviceThreatProtectionLevel>getDeviceThreatProtectionRequiredSecurityLevel()“Require Mobile Threat Protection minimum risk level to report noncompliance.”Optional<String>getMinAndroidSecurityPatchLevel()“Minimum Android security patch level.”Optional<String>getOsMaximumVersion()“Maximum Android version.”Optional<String>getOsMinimumVersion()“Minimum Android version.”Optional<Integer>getPasswordExpirationDays()“Number of days before the password expires.Optional<Integer>getPasswordMinimumLength()“Minimum password length.Optional<Integer>getPasswordMinutesOfInactivityBeforeLock()“Minutes of inactivity before a password is required.”Optional<Integer>getPasswordPreviousPasswordBlockCount()“Number of previous passwords to block.Optional<Boolean>getPasswordRequired()“Require a password to unlock device.”Optional<AndroidRequiredPasswordType>getPasswordRequiredType()“Type of characters in password”Optional<Boolean>getSecurityBlockJailbrokenDevices()“Devices must not be jailbroken or rooted.”Optional<Boolean>getSecurityDisableUsbDebugging()“Disable USB debugging on Android devices.”Optional<Boolean>getSecurityPreventInstallAppsFromUnknownSources()“Require that devices disallow installation of apps from unknown sources.”Optional<Boolean>getSecurityRequireCompanyPortalAppIntegrity()“Require the device to pass the Company Portal client app runtime integrity check .”Optional<Boolean>getSecurityRequireGooglePlayServices()“Require Google Play Services to be installed and enabled on the device.”Optional<Boolean>getSecurityRequireSafetyNetAttestationBasicIntegrity()“Require the device to pass the SafetyNet basic integrity check.”Optional<Boolean>getSecurityRequireSafetyNetAttestationCertifiedDevice()“Require the device to pass the SafetyNet certified device check.”Optional<Boolean>getSecurityRequireUpToDateSecurityProviders()“Require the device to have up to date security providers.Optional<Boolean>getSecurityRequireVerifyApps()“Require the Android Verify apps feature is turned on.”Optional<Boolean>getStorageRequireEncryption()“Require encryption on Android devices.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()AndroidCompliancePolicypatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)AndroidCompliancePolicyput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()AndroidCompliancePolicywithDeviceThreatProtectionEnabled(Boolean deviceThreatProtectionEnabled)Returns an immutable copy ofthiswith just thedeviceThreatProtectionEnabledfield changed.AndroidCompliancePolicywithDeviceThreatProtectionRequiredSecurityLevel(DeviceThreatProtectionLevel deviceThreatProtectionRequiredSecurityLevel)Returns an immutable copy ofthiswith just thedeviceThreatProtectionRequiredSecurityLevelfield changed.AndroidCompliancePolicywithMinAndroidSecurityPatchLevel(String minAndroidSecurityPatchLevel)Returns an immutable copy ofthiswith just theminAndroidSecurityPatchLevelfield changed.AndroidCompliancePolicywithOsMaximumVersion(String osMaximumVersion)Returns an immutable copy ofthiswith just theosMaximumVersionfield changed.AndroidCompliancePolicywithOsMinimumVersion(String osMinimumVersion)Returns an immutable copy ofthiswith just theosMinimumVersionfield changed.AndroidCompliancePolicywithPasswordExpirationDays(Integer passwordExpirationDays)Returns an immutable copy ofthiswith just thepasswordExpirationDaysfield changed.AndroidCompliancePolicywithPasswordMinimumLength(Integer passwordMinimumLength)Returns an immutable copy ofthiswith just thepasswordMinimumLengthfield changed.AndroidCompliancePolicywithPasswordMinutesOfInactivityBeforeLock(Integer passwordMinutesOfInactivityBeforeLock)Returns an immutable copy ofthiswith just thepasswordMinutesOfInactivityBeforeLockfield changed.AndroidCompliancePolicywithPasswordPreviousPasswordBlockCount(Integer passwordPreviousPasswordBlockCount)Returns an immutable copy ofthiswith just thepasswordPreviousPasswordBlockCountfield changed.AndroidCompliancePolicywithPasswordRequired(Boolean passwordRequired)Returns an immutable copy ofthiswith just thepasswordRequiredfield changed.AndroidCompliancePolicywithPasswordRequiredType(AndroidRequiredPasswordType passwordRequiredType)Returns an immutable copy ofthiswith just thepasswordRequiredTypefield changed.AndroidCompliancePolicywithSecurityBlockJailbrokenDevices(Boolean securityBlockJailbrokenDevices)Returns an immutable copy ofthiswith just thesecurityBlockJailbrokenDevicesfield changed.AndroidCompliancePolicywithSecurityDisableUsbDebugging(Boolean securityDisableUsbDebugging)Returns an immutable copy ofthiswith just thesecurityDisableUsbDebuggingfield changed.AndroidCompliancePolicywithSecurityPreventInstallAppsFromUnknownSources(Boolean securityPreventInstallAppsFromUnknownSources)Returns an immutable copy ofthiswith just thesecurityPreventInstallAppsFromUnknownSourcesfield changed.AndroidCompliancePolicywithSecurityRequireCompanyPortalAppIntegrity(Boolean securityRequireCompanyPortalAppIntegrity)Returns an immutable copy ofthiswith just thesecurityRequireCompanyPortalAppIntegrityfield changed.AndroidCompliancePolicywithSecurityRequireGooglePlayServices(Boolean securityRequireGooglePlayServices)Returns an immutable copy ofthiswith just thesecurityRequireGooglePlayServicesfield changed.AndroidCompliancePolicywithSecurityRequireSafetyNetAttestationBasicIntegrity(Boolean securityRequireSafetyNetAttestationBasicIntegrity)Returns an immutable copy ofthiswith just thesecurityRequireSafetyNetAttestationBasicIntegrityfield changed.AndroidCompliancePolicywithSecurityRequireSafetyNetAttestationCertifiedDevice(Boolean securityRequireSafetyNetAttestationCertifiedDevice)Returns an immutable copy ofthiswith just thesecurityRequireSafetyNetAttestationCertifiedDevicefield changed.AndroidCompliancePolicywithSecurityRequireUpToDateSecurityProviders(Boolean securityRequireUpToDateSecurityProviders)Returns an immutable copy ofthiswith just thesecurityRequireUpToDateSecurityProvidersfield changed.AndroidCompliancePolicywithSecurityRequireVerifyApps(Boolean securityRequireVerifyApps)Returns an immutable copy ofthiswith just thesecurityRequireVerifyAppsfield changed.AndroidCompliancePolicywithStorageRequireEncryption(Boolean storageRequireEncryption)Returns an immutable copy ofthiswith just thestorageRequireEncryptionfield changed.AndroidCompliancePolicywithUnmappedField(String name, Object value)-
Methods inherited from class odata.msgraph.client.entity.DeviceCompliancePolicy
assign, getAssignments, getCreatedDateTime, getDescription, getDeviceSettingStateSummaries, getDeviceStatuses, getDeviceStatusOverview, getDisplayName, getLastModifiedDateTime, getScheduledActionsForRule, getUserStatuses, getUserStatusOverview, getVersion, scheduleActionsForRules, withAssignments, withCreatedDateTime, withDescription, withDeviceSettingStateSummaries, withDeviceStatuses, withDeviceStatusOverview, withDisplayName, withLastModifiedDateTime, withScheduledActionsForRule, withUserStatuses, withUserStatusOverview, withVersion
-
-
-
-
Field Detail
-
deviceThreatProtectionEnabled
protected Boolean deviceThreatProtectionEnabled
-
deviceThreatProtectionRequiredSecurityLevel
protected DeviceThreatProtectionLevel deviceThreatProtectionRequiredSecurityLevel
-
minAndroidSecurityPatchLevel
protected String minAndroidSecurityPatchLevel
-
osMaximumVersion
protected String osMaximumVersion
-
osMinimumVersion
protected String osMinimumVersion
-
passwordExpirationDays
protected Integer passwordExpirationDays
-
passwordMinimumLength
protected Integer passwordMinimumLength
-
passwordMinutesOfInactivityBeforeLock
protected Integer passwordMinutesOfInactivityBeforeLock
-
passwordPreviousPasswordBlockCount
protected Integer passwordPreviousPasswordBlockCount
-
passwordRequired
protected Boolean passwordRequired
-
passwordRequiredType
protected AndroidRequiredPasswordType passwordRequiredType
-
securityBlockJailbrokenDevices
protected Boolean securityBlockJailbrokenDevices
-
securityDisableUsbDebugging
protected Boolean securityDisableUsbDebugging
-
securityPreventInstallAppsFromUnknownSources
protected Boolean securityPreventInstallAppsFromUnknownSources
-
securityRequireCompanyPortalAppIntegrity
protected Boolean securityRequireCompanyPortalAppIntegrity
-
securityRequireGooglePlayServices
protected Boolean securityRequireGooglePlayServices
-
securityRequireSafetyNetAttestationBasicIntegrity
protected Boolean securityRequireSafetyNetAttestationBasicIntegrity
-
securityRequireSafetyNetAttestationCertifiedDevice
protected Boolean securityRequireSafetyNetAttestationCertifiedDevice
-
securityRequireUpToDateSecurityProviders
protected Boolean securityRequireUpToDateSecurityProviders
-
securityRequireVerifyApps
protected Boolean securityRequireVerifyApps
-
storageRequireEncryption
protected Boolean storageRequireEncryption
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceCompliancePolicy
-
builderAndroidCompliancePolicy
public static AndroidCompliancePolicy.Builder builderAndroidCompliancePolicy()
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 classDeviceCompliancePolicy
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDeviceCompliancePolicy
-
getDeviceThreatProtectionEnabled
public Optional<Boolean> getDeviceThreatProtectionEnabled()
“Require that devices have enabled device threat protection.”- Returns:
- property deviceThreatProtectionEnabled
-
withDeviceThreatProtectionEnabled
public AndroidCompliancePolicy withDeviceThreatProtectionEnabled(Boolean deviceThreatProtectionEnabled)
Returns an immutable copy ofthiswith just thedeviceThreatProtectionEnabledfield 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 that devices have enabled device threat protection.”
- Parameters:
deviceThreatProtectionEnabled- new value ofdeviceThreatProtectionEnabledfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceThreatProtectionEnabledfield changed
-
getDeviceThreatProtectionRequiredSecurityLevel
public Optional<DeviceThreatProtectionLevel> getDeviceThreatProtectionRequiredSecurityLevel()
“Require Mobile Threat Protection minimum risk level to report noncompliance.”- Returns:
- property deviceThreatProtectionRequiredSecurityLevel
-
withDeviceThreatProtectionRequiredSecurityLevel
public AndroidCompliancePolicy withDeviceThreatProtectionRequiredSecurityLevel(DeviceThreatProtectionLevel deviceThreatProtectionRequiredSecurityLevel)
Returns an immutable copy ofthiswith just thedeviceThreatProtectionRequiredSecurityLevelfield 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 Mobile Threat Protection minimum risk level to report noncompliance.”
- Parameters:
deviceThreatProtectionRequiredSecurityLevel- new value ofdeviceThreatProtectionRequiredSecurityLevelfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceThreatProtectionRequiredSecurityLevelfield changed
-
getMinAndroidSecurityPatchLevel
public Optional<String> getMinAndroidSecurityPatchLevel()
“Minimum Android security patch level.”- Returns:
- property minAndroidSecurityPatchLevel
-
withMinAndroidSecurityPatchLevel
public AndroidCompliancePolicy withMinAndroidSecurityPatchLevel(String minAndroidSecurityPatchLevel)
Returns an immutable copy ofthiswith just theminAndroidSecurityPatchLevelfield 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 Android security patch level.”
- Parameters:
minAndroidSecurityPatchLevel- new value ofminAndroidSecurityPatchLevelfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theminAndroidSecurityPatchLevelfield changed
-
getOsMaximumVersion
public Optional<String> getOsMaximumVersion()
“Maximum Android version.”- Returns:
- property osMaximumVersion
-
withOsMaximumVersion
public AndroidCompliancePolicy withOsMaximumVersion(String osMaximumVersion)
Returns an immutable copy ofthiswith just theosMaximumVersionfield 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.“Maximum Android version.”
- Parameters:
osMaximumVersion- new value ofosMaximumVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theosMaximumVersionfield changed
-
getOsMinimumVersion
public Optional<String> getOsMinimumVersion()
“Minimum Android version.”- Returns:
- property osMinimumVersion
-
withOsMinimumVersion
public AndroidCompliancePolicy withOsMinimumVersion(String osMinimumVersion)
Returns an immutable copy ofthiswith just theosMinimumVersionfield 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 Android version.”
- Parameters:
osMinimumVersion- new value ofosMinimumVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theosMinimumVersionfield changed
-
getPasswordExpirationDays
public Optional<Integer> getPasswordExpirationDays()
“Number of days before the password expires. Valid values 1 to 365”- Returns:
- property passwordExpirationDays
-
withPasswordExpirationDays
public AndroidCompliancePolicy 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 password length. Valid values 4 to 16”- Returns:
- property passwordMinimumLength
-
withPasswordMinimumLength
public AndroidCompliancePolicy 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 password length. Valid values 4 to 16”
- Parameters:
passwordMinimumLength- new value ofpasswordMinimumLengthfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordMinimumLengthfield changed
-
getPasswordMinutesOfInactivityBeforeLock
public Optional<Integer> getPasswordMinutesOfInactivityBeforeLock()
“Minutes of inactivity before a password is required.”- Returns:
- property passwordMinutesOfInactivityBeforeLock
-
withPasswordMinutesOfInactivityBeforeLock
public AndroidCompliancePolicy withPasswordMinutesOfInactivityBeforeLock(Integer passwordMinutesOfInactivityBeforeLock)
Returns an immutable copy ofthiswith just thepasswordMinutesOfInactivityBeforeLockfield 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 a password is required.”
- Parameters:
passwordMinutesOfInactivityBeforeLock- new value ofpasswordMinutesOfInactivityBeforeLockfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordMinutesOfInactivityBeforeLockfield changed
-
getPasswordPreviousPasswordBlockCount
public Optional<Integer> getPasswordPreviousPasswordBlockCount()
“Number of previous passwords to block. Valid values 1 to 24”- Returns:
- property passwordPreviousPasswordBlockCount
-
withPasswordPreviousPasswordBlockCount
public AndroidCompliancePolicy 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 1 to 24”
- Parameters:
passwordPreviousPasswordBlockCount- new value ofpasswordPreviousPasswordBlockCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordPreviousPasswordBlockCountfield changed
-
getPasswordRequired
public Optional<Boolean> getPasswordRequired()
“Require a password to unlock device.”- Returns:
- property passwordRequired
-
withPasswordRequired
public AndroidCompliancePolicy withPasswordRequired(Boolean passwordRequired)
Returns an immutable copy ofthiswith just thepasswordRequiredfield 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 a password to unlock device.”
- Parameters:
passwordRequired- new value ofpasswordRequiredfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordRequiredfield changed
-
getPasswordRequiredType
public Optional<AndroidRequiredPasswordType> getPasswordRequiredType()
“Type of characters in password”- Returns:
- property passwordRequiredType
-
withPasswordRequiredType
public AndroidCompliancePolicy withPasswordRequiredType(AndroidRequiredPasswordType 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 characters in password”
- Parameters:
passwordRequiredType- new value ofpasswordRequiredTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordRequiredTypefield changed
-
getSecurityBlockJailbrokenDevices
public Optional<Boolean> getSecurityBlockJailbrokenDevices()
“Devices must not be jailbroken or rooted.”- Returns:
- property securityBlockJailbrokenDevices
-
withSecurityBlockJailbrokenDevices
public AndroidCompliancePolicy withSecurityBlockJailbrokenDevices(Boolean securityBlockJailbrokenDevices)
Returns an immutable copy ofthiswith just thesecurityBlockJailbrokenDevicesfield 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.“Devices must not be jailbroken or rooted.”
- Parameters:
securityBlockJailbrokenDevices- new value ofsecurityBlockJailbrokenDevicesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesecurityBlockJailbrokenDevicesfield changed
-
getSecurityDisableUsbDebugging
public Optional<Boolean> getSecurityDisableUsbDebugging()
“Disable USB debugging on Android devices.”- Returns:
- property securityDisableUsbDebugging
-
withSecurityDisableUsbDebugging
public AndroidCompliancePolicy withSecurityDisableUsbDebugging(Boolean securityDisableUsbDebugging)
Returns an immutable copy ofthiswith just thesecurityDisableUsbDebuggingfield 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.“Disable USB debugging on Android devices.”
- Parameters:
securityDisableUsbDebugging- new value ofsecurityDisableUsbDebuggingfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesecurityDisableUsbDebuggingfield changed
-
getSecurityPreventInstallAppsFromUnknownSources
public Optional<Boolean> getSecurityPreventInstallAppsFromUnknownSources()
“Require that devices disallow installation of apps from unknown sources.”- Returns:
- property securityPreventInstallAppsFromUnknownSources
-
withSecurityPreventInstallAppsFromUnknownSources
public AndroidCompliancePolicy withSecurityPreventInstallAppsFromUnknownSources(Boolean securityPreventInstallAppsFromUnknownSources)
Returns an immutable copy ofthiswith just thesecurityPreventInstallAppsFromUnknownSourcesfield 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 that devices disallow installation of apps from unknown sources.”
- Parameters:
securityPreventInstallAppsFromUnknownSources- new value ofsecurityPreventInstallAppsFromUnknownSourcesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesecurityPreventInstallAppsFromUnknownSourcesfield changed
-
getSecurityRequireCompanyPortalAppIntegrity
public Optional<Boolean> getSecurityRequireCompanyPortalAppIntegrity()
“Require the device to pass the Company Portal client app runtime integrity check .”- Returns:
- property securityRequireCompanyPortalAppIntegrity
-
withSecurityRequireCompanyPortalAppIntegrity
public AndroidCompliancePolicy withSecurityRequireCompanyPortalAppIntegrity(Boolean securityRequireCompanyPortalAppIntegrity)
Returns an immutable copy ofthiswith just thesecurityRequireCompanyPortalAppIntegrityfield 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 device to pass the Company Portal client app runtime integrity check .”
- Parameters:
securityRequireCompanyPortalAppIntegrity- new value ofsecurityRequireCompanyPortalAppIntegrityfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesecurityRequireCompanyPortalAppIntegrityfield changed
-
getSecurityRequireGooglePlayServices
public Optional<Boolean> getSecurityRequireGooglePlayServices()
“Require Google Play Services to be installed and enabled on the device.”- Returns:
- property securityRequireGooglePlayServices
-
withSecurityRequireGooglePlayServices
public AndroidCompliancePolicy withSecurityRequireGooglePlayServices(Boolean securityRequireGooglePlayServices)
Returns an immutable copy ofthiswith just thesecurityRequireGooglePlayServicesfield 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 Google Play Services to be installed and enabled on the device.”
- Parameters:
securityRequireGooglePlayServices- new value ofsecurityRequireGooglePlayServicesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesecurityRequireGooglePlayServicesfield changed
-
getSecurityRequireSafetyNetAttestationBasicIntegrity
public Optional<Boolean> getSecurityRequireSafetyNetAttestationBasicIntegrity()
“Require the device to pass the SafetyNet basic integrity check.”- Returns:
- property securityRequireSafetyNetAttestationBasicIntegrity
-
withSecurityRequireSafetyNetAttestationBasicIntegrity
public AndroidCompliancePolicy withSecurityRequireSafetyNetAttestationBasicIntegrity(Boolean securityRequireSafetyNetAttestationBasicIntegrity)
Returns an immutable copy ofthiswith just thesecurityRequireSafetyNetAttestationBasicIntegrityfield 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 device to pass the SafetyNet basic integrity check.”
- Parameters:
securityRequireSafetyNetAttestationBasicIntegrity- new value ofsecurityRequireSafetyNetAttestationBasicIntegrityfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesecurityRequireSafetyNetAttestationBasicIntegrityfield changed
-
getSecurityRequireSafetyNetAttestationCertifiedDevice
public Optional<Boolean> getSecurityRequireSafetyNetAttestationCertifiedDevice()
“Require the device to pass the SafetyNet certified device check.”- Returns:
- property securityRequireSafetyNetAttestationCertifiedDevice
-
withSecurityRequireSafetyNetAttestationCertifiedDevice
public AndroidCompliancePolicy withSecurityRequireSafetyNetAttestationCertifiedDevice(Boolean securityRequireSafetyNetAttestationCertifiedDevice)
Returns an immutable copy ofthiswith just thesecurityRequireSafetyNetAttestationCertifiedDevicefield 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 device to pass the SafetyNet certified device check.”
- Parameters:
securityRequireSafetyNetAttestationCertifiedDevice- new value ofsecurityRequireSafetyNetAttestationCertifiedDevicefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesecurityRequireSafetyNetAttestationCertifiedDevicefield changed
-
getSecurityRequireUpToDateSecurityProviders
public Optional<Boolean> getSecurityRequireUpToDateSecurityProviders()
“Require the device to have up to date security providers. The device will require Google Play Services to be enabled and up to date.”- Returns:
- property securityRequireUpToDateSecurityProviders
-
withSecurityRequireUpToDateSecurityProviders
public AndroidCompliancePolicy withSecurityRequireUpToDateSecurityProviders(Boolean securityRequireUpToDateSecurityProviders)
Returns an immutable copy ofthiswith just thesecurityRequireUpToDateSecurityProvidersfield 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 device to have up to date security providers. The device will require Google Play Services to be enabled and up to date.”
- Parameters:
securityRequireUpToDateSecurityProviders- new value ofsecurityRequireUpToDateSecurityProvidersfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesecurityRequireUpToDateSecurityProvidersfield changed
-
getSecurityRequireVerifyApps
public Optional<Boolean> getSecurityRequireVerifyApps()
“Require the Android Verify apps feature is turned on.”- Returns:
- property securityRequireVerifyApps
-
withSecurityRequireVerifyApps
public AndroidCompliancePolicy 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
-
getStorageRequireEncryption
public Optional<Boolean> getStorageRequireEncryption()
“Require encryption on Android devices.”- Returns:
- property storageRequireEncryption
-
withStorageRequireEncryption
public AndroidCompliancePolicy withStorageRequireEncryption(Boolean storageRequireEncryption)
Returns an immutable copy ofthiswith just thestorageRequireEncryptionfield 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 encryption on Android devices.”
- Parameters:
storageRequireEncryption- new value ofstorageRequireEncryptionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thestorageRequireEncryptionfield changed
-
withUnmappedField
public AndroidCompliancePolicy withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classDeviceCompliancePolicy
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeviceCompliancePolicy
-
patch
public AndroidCompliancePolicy patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classDeviceCompliancePolicy- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public AndroidCompliancePolicy put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classDeviceCompliancePolicy- 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 classDeviceCompliancePolicy
-
-