Class Windows10MobileCompliancePolicy
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceCompliancePolicy
-
- odata.msgraph.client.beta.entity.Windows10MobileCompliancePolicy
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Windows10MobileCompliancePolicy extends DeviceCompliancePolicy implements com.github.davidmoten.odata.client.ODataEntityType
“This class contains compliance settings for Windows 10 Mobile.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindows10MobileCompliancePolicy.Builder
-
Field Summary
Fields Modifier and Type Field Description protected BooleanactiveFirewallRequiredprotected BooleanbitLockerEnabledprotected BooleancodeIntegrityEnabledprotected BooleanearlyLaunchAntiMalwareDriverEnabledprotected StringosMaximumVersionprotected StringosMinimumVersionprotected BooleanpasswordBlockSimpleprotected IntegerpasswordExpirationDaysprotected IntegerpasswordMinimumCharacterSetCountprotected IntegerpasswordMinimumLengthprotected IntegerpasswordMinutesOfInactivityBeforeLockprotected IntegerpasswordPreviousPasswordBlockCountprotected BooleanpasswordRequiredprotected RequiredPasswordTypepasswordRequiredTypeprotected BooleanpasswordRequireToUnlockFromIdleprotected BooleansecureBootEnabledprotected BooleanstorageRequireEncryptionprotected List<OperatingSystemVersionRange>validOperatingSystemBuildRangesprotected StringvalidOperatingSystemBuildRangesNextLink-
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 protectedWindows10MobileCompliancePolicy()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Windows10MobileCompliancePolicy.BuilderbuilderWindows10MobileCompliancePolicy()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Boolean>getActiveFirewallRequired()“Require active firewall on Windows devices.”Optional<Boolean>getBitLockerEnabled()“Require devices to be reported healthy by Windows Device Health Attestation - bit locker is enabled”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<Boolean>getCodeIntegrityEnabled()“Require devices to be reported as healthy by Windows Device Health Attestation.”Optional<Boolean>getEarlyLaunchAntiMalwareDriverEnabled()“Require devices to be reported as healthy by Windows Device Health Attestation - early launch antimalware driver is enabled.”Optional<String>getOsMaximumVersion()“Maximum Windows Phone version.”Optional<String>getOsMinimumVersion()“Minimum Windows Phone version.”Optional<Boolean>getPasswordBlockSimple()“Whether or not to block syncing the calendar.”Optional<Integer>getPasswordExpirationDays()“Number of days before password expiration.Optional<Integer>getPasswordMinimumCharacterSetCount()“The number of character sets required in the password.”Optional<Integer>getPasswordMinimumLength()“Minimum password length.Optional<Integer>getPasswordMinutesOfInactivityBeforeLock()“Minutes of inactivity before a password is required.”Optional<Integer>getPasswordPreviousPasswordBlockCount()“The number of previous passwords to prevent re-use of.”Optional<Boolean>getPasswordRequired()“Require a password to unlock Windows Phone device.”Optional<RequiredPasswordType>getPasswordRequiredType()“The required password type.”Optional<Boolean>getPasswordRequireToUnlockFromIdle()“Require a password to unlock an idle device.”Optional<Boolean>getSecureBootEnabled()“Require devices to be reported as healthy by Windows Device Health Attestation - secure boot is enabled.”Optional<Boolean>getStorageRequireEncryption()“Require encryption on windows devices.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()com.github.davidmoten.odata.client.CollectionPage<OperatingSystemVersionRange>getValidOperatingSystemBuildRanges()“The valid operating system build ranges on Windows devices.com.github.davidmoten.odata.client.CollectionPage<OperatingSystemVersionRange>getValidOperatingSystemBuildRanges(com.github.davidmoten.odata.client.HttpRequestOptions options)“The valid operating system build ranges on Windows devices.StringodataTypeName()Windows10MobileCompliancePolicypatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)Windows10MobileCompliancePolicyput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()Windows10MobileCompliancePolicywithActiveFirewallRequired(Boolean activeFirewallRequired)Returns an immutable copy ofthiswith just theactiveFirewallRequiredfield changed.Windows10MobileCompliancePolicywithBitLockerEnabled(Boolean bitLockerEnabled)Returns an immutable copy ofthiswith just thebitLockerEnabledfield changed.Windows10MobileCompliancePolicywithCodeIntegrityEnabled(Boolean codeIntegrityEnabled)Returns an immutable copy ofthiswith just thecodeIntegrityEnabledfield changed.Windows10MobileCompliancePolicywithEarlyLaunchAntiMalwareDriverEnabled(Boolean earlyLaunchAntiMalwareDriverEnabled)Returns an immutable copy ofthiswith just theearlyLaunchAntiMalwareDriverEnabledfield changed.Windows10MobileCompliancePolicywithOsMaximumVersion(String osMaximumVersion)Returns an immutable copy ofthiswith just theosMaximumVersionfield changed.Windows10MobileCompliancePolicywithOsMinimumVersion(String osMinimumVersion)Returns an immutable copy ofthiswith just theosMinimumVersionfield changed.Windows10MobileCompliancePolicywithPasswordBlockSimple(Boolean passwordBlockSimple)Returns an immutable copy ofthiswith just thepasswordBlockSimplefield changed.Windows10MobileCompliancePolicywithPasswordExpirationDays(Integer passwordExpirationDays)Returns an immutable copy ofthiswith just thepasswordExpirationDaysfield changed.Windows10MobileCompliancePolicywithPasswordMinimumCharacterSetCount(Integer passwordMinimumCharacterSetCount)Returns an immutable copy ofthiswith just thepasswordMinimumCharacterSetCountfield changed.Windows10MobileCompliancePolicywithPasswordMinimumLength(Integer passwordMinimumLength)Returns an immutable copy ofthiswith just thepasswordMinimumLengthfield changed.Windows10MobileCompliancePolicywithPasswordMinutesOfInactivityBeforeLock(Integer passwordMinutesOfInactivityBeforeLock)Returns an immutable copy ofthiswith just thepasswordMinutesOfInactivityBeforeLockfield changed.Windows10MobileCompliancePolicywithPasswordPreviousPasswordBlockCount(Integer passwordPreviousPasswordBlockCount)Returns an immutable copy ofthiswith just thepasswordPreviousPasswordBlockCountfield changed.Windows10MobileCompliancePolicywithPasswordRequired(Boolean passwordRequired)Returns an immutable copy ofthiswith just thepasswordRequiredfield changed.Windows10MobileCompliancePolicywithPasswordRequiredType(RequiredPasswordType passwordRequiredType)Returns an immutable copy ofthiswith just thepasswordRequiredTypefield changed.Windows10MobileCompliancePolicywithPasswordRequireToUnlockFromIdle(Boolean passwordRequireToUnlockFromIdle)Returns an immutable copy ofthiswith just thepasswordRequireToUnlockFromIdlefield changed.Windows10MobileCompliancePolicywithSecureBootEnabled(Boolean secureBootEnabled)Returns an immutable copy ofthiswith just thesecureBootEnabledfield changed.Windows10MobileCompliancePolicywithStorageRequireEncryption(Boolean storageRequireEncryption)Returns an immutable copy ofthiswith just thestorageRequireEncryptionfield changed.Windows10MobileCompliancePolicywithUnmappedField(String name, String value)Windows10MobileCompliancePolicywithValidOperatingSystemBuildRanges(List<OperatingSystemVersionRange> validOperatingSystemBuildRanges)Returns an immutable copy ofthiswith just thevalidOperatingSystemBuildRangesfield changed.-
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
-
activeFirewallRequired
protected Boolean activeFirewallRequired
-
bitLockerEnabled
protected Boolean bitLockerEnabled
-
codeIntegrityEnabled
protected Boolean codeIntegrityEnabled
-
earlyLaunchAntiMalwareDriverEnabled
protected Boolean earlyLaunchAntiMalwareDriverEnabled
-
osMaximumVersion
protected String osMaximumVersion
-
osMinimumVersion
protected String osMinimumVersion
-
passwordBlockSimple
protected Boolean passwordBlockSimple
-
passwordExpirationDays
protected Integer passwordExpirationDays
-
passwordMinimumCharacterSetCount
protected Integer passwordMinimumCharacterSetCount
-
passwordMinimumLength
protected Integer passwordMinimumLength
-
passwordMinutesOfInactivityBeforeLock
protected Integer passwordMinutesOfInactivityBeforeLock
-
passwordPreviousPasswordBlockCount
protected Integer passwordPreviousPasswordBlockCount
-
passwordRequired
protected Boolean passwordRequired
-
passwordRequiredType
protected RequiredPasswordType passwordRequiredType
-
passwordRequireToUnlockFromIdle
protected Boolean passwordRequireToUnlockFromIdle
-
secureBootEnabled
protected Boolean secureBootEnabled
-
storageRequireEncryption
protected Boolean storageRequireEncryption
-
validOperatingSystemBuildRanges
protected List<OperatingSystemVersionRange> validOperatingSystemBuildRanges
-
validOperatingSystemBuildRangesNextLink
protected String validOperatingSystemBuildRangesNextLink
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceCompliancePolicy
-
builderWindows10MobileCompliancePolicy
public static Windows10MobileCompliancePolicy.Builder builderWindows10MobileCompliancePolicy()
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
-
getActiveFirewallRequired
public Optional<Boolean> getActiveFirewallRequired()
“Require active firewall on Windows devices.”- Returns:
- property activeFirewallRequired
-
withActiveFirewallRequired
public Windows10MobileCompliancePolicy withActiveFirewallRequired(Boolean activeFirewallRequired)
Returns an immutable copy ofthiswith just theactiveFirewallRequiredfield 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 active firewall on Windows devices.”
- Parameters:
activeFirewallRequired- new value ofactiveFirewallRequiredfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theactiveFirewallRequiredfield changed
-
getBitLockerEnabled
public Optional<Boolean> getBitLockerEnabled()
“Require devices to be reported healthy by Windows Device Health Attestation - bit locker is enabled”- Returns:
- property bitLockerEnabled
-
withBitLockerEnabled
public Windows10MobileCompliancePolicy withBitLockerEnabled(Boolean bitLockerEnabled)
Returns an immutable copy ofthiswith just thebitLockerEnabledfield 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 devices to be reported healthy by Windows Device Health Attestation - bit locker is enabled”
- Parameters:
bitLockerEnabled- new value ofbitLockerEnabledfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thebitLockerEnabledfield changed
-
getCodeIntegrityEnabled
public Optional<Boolean> getCodeIntegrityEnabled()
“Require devices to be reported as healthy by Windows Device Health Attestation.”- Returns:
- property codeIntegrityEnabled
-
withCodeIntegrityEnabled
public Windows10MobileCompliancePolicy withCodeIntegrityEnabled(Boolean codeIntegrityEnabled)
Returns an immutable copy ofthiswith just thecodeIntegrityEnabledfield 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 devices to be reported as healthy by Windows Device Health Attestation.”
- Parameters:
codeIntegrityEnabled- new value ofcodeIntegrityEnabledfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecodeIntegrityEnabledfield changed
-
getEarlyLaunchAntiMalwareDriverEnabled
public Optional<Boolean> getEarlyLaunchAntiMalwareDriverEnabled()
“Require devices to be reported as healthy by Windows Device Health Attestation - early launch antimalware driver is enabled.”- Returns:
- property earlyLaunchAntiMalwareDriverEnabled
-
withEarlyLaunchAntiMalwareDriverEnabled
public Windows10MobileCompliancePolicy withEarlyLaunchAntiMalwareDriverEnabled(Boolean earlyLaunchAntiMalwareDriverEnabled)
Returns an immutable copy ofthiswith just theearlyLaunchAntiMalwareDriverEnabledfield 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 devices to be reported as healthy by Windows Device Health Attestation - early launch antimalware driver is enabled.”
- Parameters:
earlyLaunchAntiMalwareDriverEnabled- new value ofearlyLaunchAntiMalwareDriverEnabledfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theearlyLaunchAntiMalwareDriverEnabledfield changed
-
getOsMaximumVersion
public Optional<String> getOsMaximumVersion()
“Maximum Windows Phone version.”- Returns:
- property osMaximumVersion
-
withOsMaximumVersion
public Windows10MobileCompliancePolicy 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 Windows Phone 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 Windows Phone version.”- Returns:
- property osMinimumVersion
-
withOsMinimumVersion
public Windows10MobileCompliancePolicy 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 Windows Phone version.”
- Parameters:
osMinimumVersion- new value ofosMinimumVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theosMinimumVersionfield changed
-
getPasswordBlockSimple
public Optional<Boolean> getPasswordBlockSimple()
“Whether or not to block syncing the calendar.”- Returns:
- property passwordBlockSimple
-
withPasswordBlockSimple
public Windows10MobileCompliancePolicy withPasswordBlockSimple(Boolean passwordBlockSimple)
Returns an immutable copy ofthiswith just thepasswordBlockSimplefield 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.“Whether or not to block syncing the calendar.”
- Parameters:
passwordBlockSimple- new value ofpasswordBlockSimplefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordBlockSimplefield changed
-
getPasswordExpirationDays
public Optional<Integer> getPasswordExpirationDays()
“Number of days before password expiration. Valid values 1 to 255”- Returns:
- property passwordExpirationDays
-
withPasswordExpirationDays
public Windows10MobileCompliancePolicy 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 password expiration. Valid values 1 to 255”
- Parameters:
passwordExpirationDays- new value ofpasswordExpirationDaysfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordExpirationDaysfield changed
-
getPasswordMinimumCharacterSetCount
public Optional<Integer> getPasswordMinimumCharacterSetCount()
“The number of character sets required in the password.”- Returns:
- property passwordMinimumCharacterSetCount
-
withPasswordMinimumCharacterSetCount
public Windows10MobileCompliancePolicy withPasswordMinimumCharacterSetCount(Integer passwordMinimumCharacterSetCount)
Returns an immutable copy ofthiswith just thepasswordMinimumCharacterSetCountfield 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.“The number of character sets required in the password.”
- Parameters:
passwordMinimumCharacterSetCount- new value ofpasswordMinimumCharacterSetCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordMinimumCharacterSetCountfield changed
-
getPasswordMinimumLength
public Optional<Integer> getPasswordMinimumLength()
“Minimum password length. Valid values 4 to 16”- Returns:
- property passwordMinimumLength
-
withPasswordMinimumLength
public Windows10MobileCompliancePolicy 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 Windows10MobileCompliancePolicy 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()
“The number of previous passwords to prevent re-use of.”- Returns:
- property passwordPreviousPasswordBlockCount
-
withPasswordPreviousPasswordBlockCount
public Windows10MobileCompliancePolicy 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.“The number of previous passwords to prevent re-use of.”
- 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 Windows Phone device.”- Returns:
- property passwordRequired
-
withPasswordRequired
public Windows10MobileCompliancePolicy 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 Windows Phone device.”
- Parameters:
passwordRequired- new value ofpasswordRequiredfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordRequiredfield changed
-
getPasswordRequiredType
public Optional<RequiredPasswordType> getPasswordRequiredType()
“The required password type.”- Returns:
- property passwordRequiredType
-
withPasswordRequiredType
public Windows10MobileCompliancePolicy withPasswordRequiredType(RequiredPasswordType 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.“The required password type.”
- Parameters:
passwordRequiredType- new value ofpasswordRequiredTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordRequiredTypefield changed
-
getPasswordRequireToUnlockFromIdle
public Optional<Boolean> getPasswordRequireToUnlockFromIdle()
“Require a password to unlock an idle device.”- Returns:
- property passwordRequireToUnlockFromIdle
-
withPasswordRequireToUnlockFromIdle
public Windows10MobileCompliancePolicy withPasswordRequireToUnlockFromIdle(Boolean passwordRequireToUnlockFromIdle)
Returns an immutable copy ofthiswith just thepasswordRequireToUnlockFromIdlefield 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 an idle device.”
- Parameters:
passwordRequireToUnlockFromIdle- new value ofpasswordRequireToUnlockFromIdlefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordRequireToUnlockFromIdlefield changed
-
getSecureBootEnabled
public Optional<Boolean> getSecureBootEnabled()
“Require devices to be reported as healthy by Windows Device Health Attestation - secure boot is enabled.”- Returns:
- property secureBootEnabled
-
withSecureBootEnabled
public Windows10MobileCompliancePolicy withSecureBootEnabled(Boolean secureBootEnabled)
Returns an immutable copy ofthiswith just thesecureBootEnabledfield 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 devices to be reported as healthy by Windows Device Health Attestation - secure boot is enabled.”
- Parameters:
secureBootEnabled- new value ofsecureBootEnabledfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesecureBootEnabledfield changed
-
getStorageRequireEncryption
public Optional<Boolean> getStorageRequireEncryption()
“Require encryption on windows devices.”- Returns:
- property storageRequireEncryption
-
withStorageRequireEncryption
public Windows10MobileCompliancePolicy 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 windows devices.”
- Parameters:
storageRequireEncryption- new value ofstorageRequireEncryptionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thestorageRequireEncryptionfield changed
-
getValidOperatingSystemBuildRanges
public com.github.davidmoten.odata.client.CollectionPage<OperatingSystemVersionRange> getValidOperatingSystemBuildRanges()
“The valid operating system build ranges on Windows devices. This collection can contain a maximum of 10000 elements.”- Returns:
- property validOperatingSystemBuildRanges
-
withValidOperatingSystemBuildRanges
public Windows10MobileCompliancePolicy withValidOperatingSystemBuildRanges(List<OperatingSystemVersionRange> validOperatingSystemBuildRanges)
Returns an immutable copy ofthiswith just thevalidOperatingSystemBuildRangesfield 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.“The valid operating system build ranges on Windows devices. This collection can contain a maximum of 10000 elements.”
- Parameters:
validOperatingSystemBuildRanges- new value ofvalidOperatingSystemBuildRangesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thevalidOperatingSystemBuildRangesfield changed
-
getValidOperatingSystemBuildRanges
public com.github.davidmoten.odata.client.CollectionPage<OperatingSystemVersionRange> getValidOperatingSystemBuildRanges(com.github.davidmoten.odata.client.HttpRequestOptions options)
“The valid operating system build ranges on Windows devices. This collection can contain a maximum of 10000 elements.”- Parameters:
options- specify connect and read timeouts- Returns:
- property validOperatingSystemBuildRanges
-
withUnmappedField
public Windows10MobileCompliancePolicy 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 Windows10MobileCompliancePolicy 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 Windows10MobileCompliancePolicy 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
-
-