Class AndroidDeviceOwnerCompliancePolicy
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceCompliancePolicy
-
- odata.msgraph.client.beta.entity.AndroidDeviceOwnerCompliancePolicy
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class AndroidDeviceOwnerCompliancePolicy extends DeviceCompliancePolicy implements com.github.davidmoten.odata.client.ODataEntityType
“This topic provides descriptions of the declared methods, properties and relationships exposed by the AndroidDeviceOwnerCompliancePolicy resource.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAndroidDeviceOwnerCompliancePolicy.Builder
-
Field Summary
-
Fields inherited from class odata.msgraph.client.beta.entity.DeviceCompliancePolicy
createdDateTime, description, displayName, lastModifiedDateTime, roleScopeTagIds, roleScopeTagIdsNextLink, version
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAndroidDeviceOwnerCompliancePolicy()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AndroidDeviceOwnerCompliancePolicy.BuilderbuilderAndroidDeviceOwnerCompliancePolicy()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<DeviceThreatProtectionLevel>getAdvancedThreatProtectionRequiredSecurityLevel()“MDATP Require Mobile Threat Protection minimum risk level to report noncompliance.”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>getPasswordMinimumLetterCharacters()“Indicates the minimum number of letter characters required for device password.Optional<Integer>getPasswordMinimumLowerCaseCharacters()“Indicates the minimum number of lower case characters required for device password.Optional<Integer>getPasswordMinimumNonLetterCharacters()“Indicates the minimum number of non-letter characters required for device password.Optional<Integer>getPasswordMinimumNumericCharacters()“Indicates the minimum number of numeric characters required for device password.Optional<Integer>getPasswordMinimumSymbolCharacters()“Indicates the minimum number of symbol characters required for device password.Optional<Integer>getPasswordMinimumUpperCaseCharacters()“Indicates the minimum number of upper case letter characters required for device password.Optional<Integer>getPasswordMinutesOfInactivityBeforeLock()“Minutes of inactivity before a password is required.”Optional<Integer>getPasswordPreviousPasswordCountToBlock()“Number of previous passwords to block.Optional<Boolean>getPasswordRequired()“Require a password to unlock device.”Optional<AndroidDeviceOwnerRequiredPasswordType>getPasswordRequiredType()“Type of characters in password”Optional<Boolean>getSecurityRequireIntuneAppIntegrity()“If setting is set to true, checks that the Intune app installed on fully managed , dedicated, or corporate-owned work profile Android Enterprise enrolled devices , is the one provided by Microsoft from the Managed Google Playstore.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>getStorageRequireEncryption()“Require encryption on Android devices.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()AndroidDeviceOwnerCompliancePolicypatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)AndroidDeviceOwnerCompliancePolicyput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()AndroidDeviceOwnerCompliancePolicywithAdvancedThreatProtectionRequiredSecurityLevel(DeviceThreatProtectionLevel advancedThreatProtectionRequiredSecurityLevel)Returns an immutable copy ofthiswith just theadvancedThreatProtectionRequiredSecurityLevelfield changed.AndroidDeviceOwnerCompliancePolicywithDeviceThreatProtectionEnabled(Boolean deviceThreatProtectionEnabled)Returns an immutable copy ofthiswith just thedeviceThreatProtectionEnabledfield changed.AndroidDeviceOwnerCompliancePolicywithDeviceThreatProtectionRequiredSecurityLevel(DeviceThreatProtectionLevel deviceThreatProtectionRequiredSecurityLevel)Returns an immutable copy ofthiswith just thedeviceThreatProtectionRequiredSecurityLevelfield changed.AndroidDeviceOwnerCompliancePolicywithMinAndroidSecurityPatchLevel(String minAndroidSecurityPatchLevel)Returns an immutable copy ofthiswith just theminAndroidSecurityPatchLevelfield changed.AndroidDeviceOwnerCompliancePolicywithOsMaximumVersion(String osMaximumVersion)Returns an immutable copy ofthiswith just theosMaximumVersionfield changed.AndroidDeviceOwnerCompliancePolicywithOsMinimumVersion(String osMinimumVersion)Returns an immutable copy ofthiswith just theosMinimumVersionfield changed.AndroidDeviceOwnerCompliancePolicywithPasswordExpirationDays(Integer passwordExpirationDays)Returns an immutable copy ofthiswith just thepasswordExpirationDaysfield changed.AndroidDeviceOwnerCompliancePolicywithPasswordMinimumLength(Integer passwordMinimumLength)Returns an immutable copy ofthiswith just thepasswordMinimumLengthfield changed.AndroidDeviceOwnerCompliancePolicywithPasswordMinimumLetterCharacters(Integer passwordMinimumLetterCharacters)Returns an immutable copy ofthiswith just thepasswordMinimumLetterCharactersfield changed.AndroidDeviceOwnerCompliancePolicywithPasswordMinimumLowerCaseCharacters(Integer passwordMinimumLowerCaseCharacters)Returns an immutable copy ofthiswith just thepasswordMinimumLowerCaseCharactersfield changed.AndroidDeviceOwnerCompliancePolicywithPasswordMinimumNonLetterCharacters(Integer passwordMinimumNonLetterCharacters)Returns an immutable copy ofthiswith just thepasswordMinimumNonLetterCharactersfield changed.AndroidDeviceOwnerCompliancePolicywithPasswordMinimumNumericCharacters(Integer passwordMinimumNumericCharacters)Returns an immutable copy ofthiswith just thepasswordMinimumNumericCharactersfield changed.AndroidDeviceOwnerCompliancePolicywithPasswordMinimumSymbolCharacters(Integer passwordMinimumSymbolCharacters)Returns an immutable copy ofthiswith just thepasswordMinimumSymbolCharactersfield changed.AndroidDeviceOwnerCompliancePolicywithPasswordMinimumUpperCaseCharacters(Integer passwordMinimumUpperCaseCharacters)Returns an immutable copy ofthiswith just thepasswordMinimumUpperCaseCharactersfield changed.AndroidDeviceOwnerCompliancePolicywithPasswordMinutesOfInactivityBeforeLock(Integer passwordMinutesOfInactivityBeforeLock)Returns an immutable copy ofthiswith just thepasswordMinutesOfInactivityBeforeLockfield changed.AndroidDeviceOwnerCompliancePolicywithPasswordPreviousPasswordCountToBlock(Integer passwordPreviousPasswordCountToBlock)Returns an immutable copy ofthiswith just thepasswordPreviousPasswordCountToBlockfield changed.AndroidDeviceOwnerCompliancePolicywithPasswordRequired(Boolean passwordRequired)Returns an immutable copy ofthiswith just thepasswordRequiredfield changed.AndroidDeviceOwnerCompliancePolicywithPasswordRequiredType(AndroidDeviceOwnerRequiredPasswordType passwordRequiredType)Returns an immutable copy ofthiswith just thepasswordRequiredTypefield changed.AndroidDeviceOwnerCompliancePolicywithSecurityRequireIntuneAppIntegrity(Boolean securityRequireIntuneAppIntegrity)Returns an immutable copy ofthiswith just thesecurityRequireIntuneAppIntegrityfield changed.AndroidDeviceOwnerCompliancePolicywithSecurityRequireSafetyNetAttestationBasicIntegrity(Boolean securityRequireSafetyNetAttestationBasicIntegrity)Returns an immutable copy ofthiswith just thesecurityRequireSafetyNetAttestationBasicIntegrityfield changed.AndroidDeviceOwnerCompliancePolicywithSecurityRequireSafetyNetAttestationCertifiedDevice(Boolean securityRequireSafetyNetAttestationCertifiedDevice)Returns an immutable copy ofthiswith just thesecurityRequireSafetyNetAttestationCertifiedDevicefield changed.AndroidDeviceOwnerCompliancePolicywithStorageRequireEncryption(Boolean storageRequireEncryption)Returns an immutable copy ofthiswith just thestorageRequireEncryptionfield changed.AndroidDeviceOwnerCompliancePolicywithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.entity.DeviceCompliancePolicy
assign, getAssignments, getCreatedDateTime, getDescription, getDeviceSettingStateSummaries, getDeviceStatuses, getDeviceStatusOverview, getDisplayName, getLastModifiedDateTime, getRoleScopeTagIds, getRoleScopeTagIds, getScheduledActionsForRule, getUserStatuses, getUserStatusOverview, getVersion, scheduleActionsForRules, withCreatedDateTime, withDescription, withDisplayName, withLastModifiedDateTime, withRoleScopeTagIds, withVersion
-
-
-
-
Field Detail
-
advancedThreatProtectionRequiredSecurityLevel
protected DeviceThreatProtectionLevel advancedThreatProtectionRequiredSecurityLevel
-
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
-
passwordMinimumLetterCharacters
protected Integer passwordMinimumLetterCharacters
-
passwordMinimumLowerCaseCharacters
protected Integer passwordMinimumLowerCaseCharacters
-
passwordMinimumNonLetterCharacters
protected Integer passwordMinimumNonLetterCharacters
-
passwordMinimumNumericCharacters
protected Integer passwordMinimumNumericCharacters
-
passwordMinimumSymbolCharacters
protected Integer passwordMinimumSymbolCharacters
-
passwordMinimumUpperCaseCharacters
protected Integer passwordMinimumUpperCaseCharacters
-
passwordMinutesOfInactivityBeforeLock
protected Integer passwordMinutesOfInactivityBeforeLock
-
passwordPreviousPasswordCountToBlock
protected Integer passwordPreviousPasswordCountToBlock
-
passwordRequired
protected Boolean passwordRequired
-
passwordRequiredType
protected AndroidDeviceOwnerRequiredPasswordType passwordRequiredType
-
securityRequireIntuneAppIntegrity
protected Boolean securityRequireIntuneAppIntegrity
-
securityRequireSafetyNetAttestationBasicIntegrity
protected Boolean securityRequireSafetyNetAttestationBasicIntegrity
-
securityRequireSafetyNetAttestationCertifiedDevice
protected Boolean securityRequireSafetyNetAttestationCertifiedDevice
-
storageRequireEncryption
protected Boolean storageRequireEncryption
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceCompliancePolicy
-
builderAndroidDeviceOwnerCompliancePolicy
public static AndroidDeviceOwnerCompliancePolicy.Builder builderAndroidDeviceOwnerCompliancePolicy()
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
-
getAdvancedThreatProtectionRequiredSecurityLevel
public Optional<DeviceThreatProtectionLevel> getAdvancedThreatProtectionRequiredSecurityLevel()
“MDATP Require Mobile Threat Protection minimum risk level to report noncompliance.”- Returns:
- property advancedThreatProtectionRequiredSecurityLevel
-
withAdvancedThreatProtectionRequiredSecurityLevel
public AndroidDeviceOwnerCompliancePolicy withAdvancedThreatProtectionRequiredSecurityLevel(DeviceThreatProtectionLevel advancedThreatProtectionRequiredSecurityLevel)
Returns an immutable copy ofthiswith just theadvancedThreatProtectionRequiredSecurityLevelfield 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.“MDATP Require Mobile Threat Protection minimum risk level to report noncompliance.”
- Parameters:
advancedThreatProtectionRequiredSecurityLevel- new value ofadvancedThreatProtectionRequiredSecurityLevelfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theadvancedThreatProtectionRequiredSecurityLevelfield changed
-
getDeviceThreatProtectionEnabled
public Optional<Boolean> getDeviceThreatProtectionEnabled()
“Require that devices have enabled device threat protection.”- Returns:
- property deviceThreatProtectionEnabled
-
withDeviceThreatProtectionEnabled
public AndroidDeviceOwnerCompliancePolicy 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 AndroidDeviceOwnerCompliancePolicy 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 AndroidDeviceOwnerCompliancePolicy 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 AndroidDeviceOwnerCompliancePolicy 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 AndroidDeviceOwnerCompliancePolicy 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 AndroidDeviceOwnerCompliancePolicy 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 AndroidDeviceOwnerCompliancePolicy 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
-
getPasswordMinimumLetterCharacters
public Optional<Integer> getPasswordMinimumLetterCharacters()
“Indicates the minimum number of letter characters required for device password. Valid values 1 to 16”- Returns:
- property passwordMinimumLetterCharacters
-
withPasswordMinimumLetterCharacters
public AndroidDeviceOwnerCompliancePolicy withPasswordMinimumLetterCharacters(Integer passwordMinimumLetterCharacters)
Returns an immutable copy ofthiswith just thepasswordMinimumLetterCharactersfield 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 number of letter characters required for device password. Valid values 1 to 16”
- Parameters:
passwordMinimumLetterCharacters- new value ofpasswordMinimumLetterCharactersfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordMinimumLetterCharactersfield changed
-
getPasswordMinimumLowerCaseCharacters
public Optional<Integer> getPasswordMinimumLowerCaseCharacters()
“Indicates the minimum number of lower case characters required for device password. Valid values 1 to 16”- Returns:
- property passwordMinimumLowerCaseCharacters
-
withPasswordMinimumLowerCaseCharacters
public AndroidDeviceOwnerCompliancePolicy withPasswordMinimumLowerCaseCharacters(Integer passwordMinimumLowerCaseCharacters)
Returns an immutable copy ofthiswith just thepasswordMinimumLowerCaseCharactersfield 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 number of lower case characters required for device password. Valid values 1 to 16”
- Parameters:
passwordMinimumLowerCaseCharacters- new value ofpasswordMinimumLowerCaseCharactersfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordMinimumLowerCaseCharactersfield changed
-
getPasswordMinimumNonLetterCharacters
public Optional<Integer> getPasswordMinimumNonLetterCharacters()
“Indicates the minimum number of non-letter characters required for device password. Valid values 1 to 16”- Returns:
- property passwordMinimumNonLetterCharacters
-
withPasswordMinimumNonLetterCharacters
public AndroidDeviceOwnerCompliancePolicy withPasswordMinimumNonLetterCharacters(Integer passwordMinimumNonLetterCharacters)
Returns an immutable copy ofthiswith just thepasswordMinimumNonLetterCharactersfield 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 number of non-letter characters required for device password. Valid values 1 to 16”
- Parameters:
passwordMinimumNonLetterCharacters- new value ofpasswordMinimumNonLetterCharactersfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordMinimumNonLetterCharactersfield changed
-
getPasswordMinimumNumericCharacters
public Optional<Integer> getPasswordMinimumNumericCharacters()
“Indicates the minimum number of numeric characters required for device password. Valid values 1 to 16”- Returns:
- property passwordMinimumNumericCharacters
-
withPasswordMinimumNumericCharacters
public AndroidDeviceOwnerCompliancePolicy withPasswordMinimumNumericCharacters(Integer passwordMinimumNumericCharacters)
Returns an immutable copy ofthiswith just thepasswordMinimumNumericCharactersfield 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 number of numeric characters required for device password. Valid values 1 to 16”
- Parameters:
passwordMinimumNumericCharacters- new value ofpasswordMinimumNumericCharactersfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordMinimumNumericCharactersfield changed
-
getPasswordMinimumSymbolCharacters
public Optional<Integer> getPasswordMinimumSymbolCharacters()
“Indicates the minimum number of symbol characters required for device password. Valid values 1 to 16”- Returns:
- property passwordMinimumSymbolCharacters
-
withPasswordMinimumSymbolCharacters
public AndroidDeviceOwnerCompliancePolicy withPasswordMinimumSymbolCharacters(Integer passwordMinimumSymbolCharacters)
Returns an immutable copy ofthiswith just thepasswordMinimumSymbolCharactersfield 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 number of symbol characters required for device password. Valid values 1 to 16”
- Parameters:
passwordMinimumSymbolCharacters- new value ofpasswordMinimumSymbolCharactersfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordMinimumSymbolCharactersfield changed
-
getPasswordMinimumUpperCaseCharacters
public Optional<Integer> getPasswordMinimumUpperCaseCharacters()
“Indicates the minimum number of upper case letter characters required for device password. Valid values 1 to 16”- Returns:
- property passwordMinimumUpperCaseCharacters
-
withPasswordMinimumUpperCaseCharacters
public AndroidDeviceOwnerCompliancePolicy withPasswordMinimumUpperCaseCharacters(Integer passwordMinimumUpperCaseCharacters)
Returns an immutable copy ofthiswith just thepasswordMinimumUpperCaseCharactersfield 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 number of upper case letter characters required for device password. Valid values 1 to 16”
- Parameters:
passwordMinimumUpperCaseCharacters- new value ofpasswordMinimumUpperCaseCharactersfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordMinimumUpperCaseCharactersfield changed
-
getPasswordMinutesOfInactivityBeforeLock
public Optional<Integer> getPasswordMinutesOfInactivityBeforeLock()
“Minutes of inactivity before a password is required.”- Returns:
- property passwordMinutesOfInactivityBeforeLock
-
withPasswordMinutesOfInactivityBeforeLock
public AndroidDeviceOwnerCompliancePolicy 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
-
getPasswordPreviousPasswordCountToBlock
public Optional<Integer> getPasswordPreviousPasswordCountToBlock()
“Number of previous passwords to block. Valid values 1 to 24”- Returns:
- property passwordPreviousPasswordCountToBlock
-
withPasswordPreviousPasswordCountToBlock
public AndroidDeviceOwnerCompliancePolicy withPasswordPreviousPasswordCountToBlock(Integer passwordPreviousPasswordCountToBlock)
Returns an immutable copy ofthiswith just thepasswordPreviousPasswordCountToBlockfield 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:
passwordPreviousPasswordCountToBlock- new value ofpasswordPreviousPasswordCountToBlockfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordPreviousPasswordCountToBlockfield changed
-
getPasswordRequired
public Optional<Boolean> getPasswordRequired()
“Require a password to unlock device.”- Returns:
- property passwordRequired
-
withPasswordRequired
public AndroidDeviceOwnerCompliancePolicy 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<AndroidDeviceOwnerRequiredPasswordType> getPasswordRequiredType()
“Type of characters in password”- Returns:
- property passwordRequiredType
-
withPasswordRequiredType
public AndroidDeviceOwnerCompliancePolicy 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.“Type of characters in password”
- Parameters:
passwordRequiredType- new value ofpasswordRequiredTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordRequiredTypefield changed
-
getSecurityRequireIntuneAppIntegrity
public Optional<Boolean> getSecurityRequireIntuneAppIntegrity()
“If setting is set to true, checks that the Intune app installed on fully managed , dedicated, or corporate-owned work profile Android Enterprise enrolled devices , is the one provided by Microsoft from the Managed Google Playstore. If the check fails, the device will be reported as non-compliant.”- Returns:
- property securityRequireIntuneAppIntegrity
-
withSecurityRequireIntuneAppIntegrity
public AndroidDeviceOwnerCompliancePolicy withSecurityRequireIntuneAppIntegrity(Boolean securityRequireIntuneAppIntegrity)
Returns an immutable copy ofthiswith just thesecurityRequireIntuneAppIntegrityfield 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.“If setting is set to true, checks that the Intune app installed on fully managed , dedicated, or corporate-owned work profile Android Enterprise enrolled devices , is the one provided by Microsoft from the Managed Google Playstore. If the check fails, the device will be reported as non-compliant.”
- Parameters:
securityRequireIntuneAppIntegrity- new value ofsecurityRequireIntuneAppIntegrityfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesecurityRequireIntuneAppIntegrityfield changed
-
getSecurityRequireSafetyNetAttestationBasicIntegrity
public Optional<Boolean> getSecurityRequireSafetyNetAttestationBasicIntegrity()
“Require the device to pass the SafetyNet basic integrity check.”- Returns:
- property securityRequireSafetyNetAttestationBasicIntegrity
-
withSecurityRequireSafetyNetAttestationBasicIntegrity
public AndroidDeviceOwnerCompliancePolicy 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 AndroidDeviceOwnerCompliancePolicy 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
-
getStorageRequireEncryption
public Optional<Boolean> getStorageRequireEncryption()
“Require encryption on Android devices.”- Returns:
- property storageRequireEncryption
-
withStorageRequireEncryption
public AndroidDeviceOwnerCompliancePolicy 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 AndroidDeviceOwnerCompliancePolicy withUnmappedField(String name, String 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 AndroidDeviceOwnerCompliancePolicy 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 AndroidDeviceOwnerCompliancePolicy 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
-
-