Class Windows10CompliancePolicy
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceCompliancePolicy
-
- odata.msgraph.client.beta.entity.Windows10CompliancePolicy
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Windows10CompliancePolicy extends DeviceCompliancePolicy implements com.github.davidmoten.odata.client.ODataEntityType
“This class contains compliance settings for Windows 10.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindows10CompliancePolicy.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 protectedWindows10CompliancePolicy()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Windows10CompliancePolicy.BuilderbuilderWindows10CompliancePolicy()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>getAntiSpywareRequired()“Require any AntiSpyware solution registered with Windows Decurity Center to be on and monitoring (e.g.Optional<Boolean>getAntivirusRequired()“Require any Antivirus solution registered with Windows Decurity Center to be on and monitoring (e.g.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>getConfigurationManagerComplianceRequired()“Require to consider SCCM Compliance state into consideration for Intune Compliance State.”Optional<Boolean>getDefenderEnabled()“Require Windows Defender Antimalware on Windows devices.”Optional<String>getDefenderVersion()“Require Windows Defender Antimalware minimum version on Windows devices.”Optional<DeviceCompliancePolicyScript>getDeviceCompliancePolicyScript()Optional<Boolean>getDeviceThreatProtectionEnabled()“Require that devices have enabled device threat protection.”Optional<DeviceThreatProtectionLevel>getDeviceThreatProtectionRequiredSecurityLevel()“Require Device Threat Protection minimum risk level to report noncompliance.”Optional<Boolean>getEarlyLaunchAntiMalwareDriverEnabled()“Require devices to be reported as healthy by Windows Device Health Attestation - early launch antimalware driver is enabled.”Optional<String>getMobileOsMaximumVersion()“Maximum Windows Phone version.”Optional<String>getMobileOsMinimumVersion()“Minimum Windows Phone version.”Optional<String>getOsMaximumVersion()“Maximum Windows 10 version.”Optional<String>getOsMinimumVersion()“Minimum Windows 10 version.”Optional<Boolean>getPasswordBlockSimple()“Indicates whether or not to block simple password.”Optional<Integer>getPasswordExpirationDays()“The password expiration in days.”Optional<Integer>getPasswordMinimumCharacterSetCount()“The number of character sets required in the password.”Optional<Integer>getPasswordMinimumLength()“The 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 device.”Optional<Boolean>getPasswordRequiredToUnlockFromIdle()“Require a password to unlock an idle device.”Optional<RequiredPasswordType>getPasswordRequiredType()“The required password type.”Optional<Boolean>getRequireHealthyDeviceReport()“Require devices to be reported as healthy by Windows Device Health Attestation.”Optional<Boolean>getRtpEnabled()“Require Windows Defender Antimalware Real-Time Protection on Windows devices.”Optional<Boolean>getSecureBootEnabled()“Require devices to be reported as healthy by Windows Device Health Attestation - secure boot is enabled.”Optional<Boolean>getSignatureOutOfDate()“Require Windows Defender Antimalware Signature to be up to date on Windows devices.”Optional<Boolean>getStorageRequireEncryption()“Require encryption on windows devices.”Optional<Boolean>getTpmRequired()“Require Trusted Platform Module(TPM) to be present.”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()Windows10CompliancePolicypatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)Windows10CompliancePolicyput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()Windows10CompliancePolicywithActiveFirewallRequired(Boolean activeFirewallRequired)Returns an immutable copy ofthiswith just theactiveFirewallRequiredfield changed.Windows10CompliancePolicywithAntiSpywareRequired(Boolean antiSpywareRequired)Returns an immutable copy ofthiswith just theantiSpywareRequiredfield changed.Windows10CompliancePolicywithAntivirusRequired(Boolean antivirusRequired)Returns an immutable copy ofthiswith just theantivirusRequiredfield changed.Windows10CompliancePolicywithBitLockerEnabled(Boolean bitLockerEnabled)Returns an immutable copy ofthiswith just thebitLockerEnabledfield changed.Windows10CompliancePolicywithCodeIntegrityEnabled(Boolean codeIntegrityEnabled)Returns an immutable copy ofthiswith just thecodeIntegrityEnabledfield changed.Windows10CompliancePolicywithConfigurationManagerComplianceRequired(Boolean configurationManagerComplianceRequired)Returns an immutable copy ofthiswith just theconfigurationManagerComplianceRequiredfield changed.Windows10CompliancePolicywithDefenderEnabled(Boolean defenderEnabled)Returns an immutable copy ofthiswith just thedefenderEnabledfield changed.Windows10CompliancePolicywithDefenderVersion(String defenderVersion)Returns an immutable copy ofthiswith just thedefenderVersionfield changed.Windows10CompliancePolicywithDeviceCompliancePolicyScript(DeviceCompliancePolicyScript deviceCompliancePolicyScript)Windows10CompliancePolicywithDeviceThreatProtectionEnabled(Boolean deviceThreatProtectionEnabled)Returns an immutable copy ofthiswith just thedeviceThreatProtectionEnabledfield changed.Windows10CompliancePolicywithDeviceThreatProtectionRequiredSecurityLevel(DeviceThreatProtectionLevel deviceThreatProtectionRequiredSecurityLevel)Returns an immutable copy ofthiswith just thedeviceThreatProtectionRequiredSecurityLevelfield changed.Windows10CompliancePolicywithEarlyLaunchAntiMalwareDriverEnabled(Boolean earlyLaunchAntiMalwareDriverEnabled)Returns an immutable copy ofthiswith just theearlyLaunchAntiMalwareDriverEnabledfield changed.Windows10CompliancePolicywithMobileOsMaximumVersion(String mobileOsMaximumVersion)Returns an immutable copy ofthiswith just themobileOsMaximumVersionfield changed.Windows10CompliancePolicywithMobileOsMinimumVersion(String mobileOsMinimumVersion)Returns an immutable copy ofthiswith just themobileOsMinimumVersionfield changed.Windows10CompliancePolicywithOsMaximumVersion(String osMaximumVersion)Returns an immutable copy ofthiswith just theosMaximumVersionfield changed.Windows10CompliancePolicywithOsMinimumVersion(String osMinimumVersion)Returns an immutable copy ofthiswith just theosMinimumVersionfield changed.Windows10CompliancePolicywithPasswordBlockSimple(Boolean passwordBlockSimple)Returns an immutable copy ofthiswith just thepasswordBlockSimplefield changed.Windows10CompliancePolicywithPasswordExpirationDays(Integer passwordExpirationDays)Returns an immutable copy ofthiswith just thepasswordExpirationDaysfield changed.Windows10CompliancePolicywithPasswordMinimumCharacterSetCount(Integer passwordMinimumCharacterSetCount)Returns an immutable copy ofthiswith just thepasswordMinimumCharacterSetCountfield changed.Windows10CompliancePolicywithPasswordMinimumLength(Integer passwordMinimumLength)Returns an immutable copy ofthiswith just thepasswordMinimumLengthfield changed.Windows10CompliancePolicywithPasswordMinutesOfInactivityBeforeLock(Integer passwordMinutesOfInactivityBeforeLock)Returns an immutable copy ofthiswith just thepasswordMinutesOfInactivityBeforeLockfield changed.Windows10CompliancePolicywithPasswordPreviousPasswordBlockCount(Integer passwordPreviousPasswordBlockCount)Returns an immutable copy ofthiswith just thepasswordPreviousPasswordBlockCountfield changed.Windows10CompliancePolicywithPasswordRequired(Boolean passwordRequired)Returns an immutable copy ofthiswith just thepasswordRequiredfield changed.Windows10CompliancePolicywithPasswordRequiredToUnlockFromIdle(Boolean passwordRequiredToUnlockFromIdle)Returns an immutable copy ofthiswith just thepasswordRequiredToUnlockFromIdlefield changed.Windows10CompliancePolicywithPasswordRequiredType(RequiredPasswordType passwordRequiredType)Returns an immutable copy ofthiswith just thepasswordRequiredTypefield changed.Windows10CompliancePolicywithRequireHealthyDeviceReport(Boolean requireHealthyDeviceReport)Returns an immutable copy ofthiswith just therequireHealthyDeviceReportfield changed.Windows10CompliancePolicywithRtpEnabled(Boolean rtpEnabled)Returns an immutable copy ofthiswith just thertpEnabledfield changed.Windows10CompliancePolicywithSecureBootEnabled(Boolean secureBootEnabled)Returns an immutable copy ofthiswith just thesecureBootEnabledfield changed.Windows10CompliancePolicywithSignatureOutOfDate(Boolean signatureOutOfDate)Returns an immutable copy ofthiswith just thesignatureOutOfDatefield changed.Windows10CompliancePolicywithStorageRequireEncryption(Boolean storageRequireEncryption)Returns an immutable copy ofthiswith just thestorageRequireEncryptionfield changed.Windows10CompliancePolicywithTpmRequired(Boolean tpmRequired)Returns an immutable copy ofthiswith just thetpmRequiredfield changed.Windows10CompliancePolicywithUnmappedField(String name, String value)Windows10CompliancePolicywithValidOperatingSystemBuildRanges(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
-
antiSpywareRequired
protected Boolean antiSpywareRequired
-
antivirusRequired
protected Boolean antivirusRequired
-
bitLockerEnabled
protected Boolean bitLockerEnabled
-
codeIntegrityEnabled
protected Boolean codeIntegrityEnabled
-
configurationManagerComplianceRequired
protected Boolean configurationManagerComplianceRequired
-
defenderEnabled
protected Boolean defenderEnabled
-
defenderVersion
protected String defenderVersion
-
deviceCompliancePolicyScript
protected DeviceCompliancePolicyScript deviceCompliancePolicyScript
-
deviceThreatProtectionEnabled
protected Boolean deviceThreatProtectionEnabled
-
deviceThreatProtectionRequiredSecurityLevel
protected DeviceThreatProtectionLevel deviceThreatProtectionRequiredSecurityLevel
-
earlyLaunchAntiMalwareDriverEnabled
protected Boolean earlyLaunchAntiMalwareDriverEnabled
-
mobileOsMaximumVersion
protected String mobileOsMaximumVersion
-
mobileOsMinimumVersion
protected String mobileOsMinimumVersion
-
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
-
passwordRequiredToUnlockFromIdle
protected Boolean passwordRequiredToUnlockFromIdle
-
passwordRequiredType
protected RequiredPasswordType passwordRequiredType
-
requireHealthyDeviceReport
protected Boolean requireHealthyDeviceReport
-
rtpEnabled
protected Boolean rtpEnabled
-
secureBootEnabled
protected Boolean secureBootEnabled
-
signatureOutOfDate
protected Boolean signatureOutOfDate
-
storageRequireEncryption
protected Boolean storageRequireEncryption
-
tpmRequired
protected Boolean tpmRequired
-
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
-
builderWindows10CompliancePolicy
public static Windows10CompliancePolicy.Builder builderWindows10CompliancePolicy()
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 Windows10CompliancePolicy 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
-
getAntiSpywareRequired
public Optional<Boolean> getAntiSpywareRequired()
“Require any AntiSpyware solution registered with Windows Decurity Center to be on and monitoring (e.g. Symantec, Windows Defender).”- Returns:
- property antiSpywareRequired
-
withAntiSpywareRequired
public Windows10CompliancePolicy withAntiSpywareRequired(Boolean antiSpywareRequired)
Returns an immutable copy ofthiswith just theantiSpywareRequiredfield 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 any AntiSpyware solution registered with Windows Decurity Center to be on and monitoring (e.g. Symantec, Windows Defender).”
- Parameters:
antiSpywareRequired- new value ofantiSpywareRequiredfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theantiSpywareRequiredfield changed
-
getAntivirusRequired
public Optional<Boolean> getAntivirusRequired()
“Require any Antivirus solution registered with Windows Decurity Center to be on and monitoring (e.g. Symantec, Windows Defender).”- Returns:
- property antivirusRequired
-
withAntivirusRequired
public Windows10CompliancePolicy withAntivirusRequired(Boolean antivirusRequired)
Returns an immutable copy ofthiswith just theantivirusRequiredfield 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 any Antivirus solution registered with Windows Decurity Center to be on and monitoring (e.g. Symantec, Windows Defender).”
- Parameters:
antivirusRequired- new value ofantivirusRequiredfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theantivirusRequiredfield 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 Windows10CompliancePolicy 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 Windows10CompliancePolicy 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
-
getConfigurationManagerComplianceRequired
public Optional<Boolean> getConfigurationManagerComplianceRequired()
“Require to consider SCCM Compliance state into consideration for Intune Compliance State.”- Returns:
- property configurationManagerComplianceRequired
-
withConfigurationManagerComplianceRequired
public Windows10CompliancePolicy withConfigurationManagerComplianceRequired(Boolean configurationManagerComplianceRequired)
Returns an immutable copy ofthiswith just theconfigurationManagerComplianceRequiredfield 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 to consider SCCM Compliance state into consideration for Intune Compliance State.”
- Parameters:
configurationManagerComplianceRequired- new value ofconfigurationManagerComplianceRequiredfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theconfigurationManagerComplianceRequiredfield changed
-
getDefenderEnabled
public Optional<Boolean> getDefenderEnabled()
“Require Windows Defender Antimalware on Windows devices.”- Returns:
- property defenderEnabled
-
withDefenderEnabled
public Windows10CompliancePolicy withDefenderEnabled(Boolean defenderEnabled)
Returns an immutable copy ofthiswith just thedefenderEnabledfield 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 Windows Defender Antimalware on Windows devices.”
- Parameters:
defenderEnabled- new value ofdefenderEnabledfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedefenderEnabledfield changed
-
getDefenderVersion
public Optional<String> getDefenderVersion()
“Require Windows Defender Antimalware minimum version on Windows devices.”- Returns:
- property defenderVersion
-
withDefenderVersion
public Windows10CompliancePolicy withDefenderVersion(String defenderVersion)
Returns an immutable copy ofthiswith just thedefenderVersionfield 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 Windows Defender Antimalware minimum version on Windows devices.”
- Parameters:
defenderVersion- new value ofdefenderVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedefenderVersionfield changed
-
getDeviceCompliancePolicyScript
public Optional<DeviceCompliancePolicyScript> getDeviceCompliancePolicyScript()
-
withDeviceCompliancePolicyScript
public Windows10CompliancePolicy withDeviceCompliancePolicyScript(DeviceCompliancePolicyScript deviceCompliancePolicyScript)
-
getDeviceThreatProtectionEnabled
public Optional<Boolean> getDeviceThreatProtectionEnabled()
“Require that devices have enabled device threat protection.”- Returns:
- property deviceThreatProtectionEnabled
-
withDeviceThreatProtectionEnabled
public Windows10CompliancePolicy 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 Device Threat Protection minimum risk level to report noncompliance.”- Returns:
- property deviceThreatProtectionRequiredSecurityLevel
-
withDeviceThreatProtectionRequiredSecurityLevel
public Windows10CompliancePolicy 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 Device 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
-
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 Windows10CompliancePolicy 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
-
getMobileOsMaximumVersion
public Optional<String> getMobileOsMaximumVersion()
“Maximum Windows Phone version.”- Returns:
- property mobileOsMaximumVersion
-
withMobileOsMaximumVersion
public Windows10CompliancePolicy withMobileOsMaximumVersion(String mobileOsMaximumVersion)
Returns an immutable copy ofthiswith just themobileOsMaximumVersionfield 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:
mobileOsMaximumVersion- new value ofmobileOsMaximumVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themobileOsMaximumVersionfield changed
-
getMobileOsMinimumVersion
public Optional<String> getMobileOsMinimumVersion()
“Minimum Windows Phone version.”- Returns:
- property mobileOsMinimumVersion
-
withMobileOsMinimumVersion
public Windows10CompliancePolicy withMobileOsMinimumVersion(String mobileOsMinimumVersion)
Returns an immutable copy ofthiswith just themobileOsMinimumVersionfield 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:
mobileOsMinimumVersion- new value ofmobileOsMinimumVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themobileOsMinimumVersionfield changed
-
getOsMaximumVersion
public Optional<String> getOsMaximumVersion()
“Maximum Windows 10 version.”- Returns:
- property osMaximumVersion
-
withOsMaximumVersion
public Windows10CompliancePolicy 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 10 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 10 version.”- Returns:
- property osMinimumVersion
-
withOsMinimumVersion
public Windows10CompliancePolicy 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 10 version.”
- Parameters:
osMinimumVersion- new value ofosMinimumVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theosMinimumVersionfield changed
-
getPasswordBlockSimple
public Optional<Boolean> getPasswordBlockSimple()
“Indicates whether or not to block simple password.”- Returns:
- property passwordBlockSimple
-
withPasswordBlockSimple
public Windows10CompliancePolicy 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.“Indicates whether or not to block simple password.”
- Parameters:
passwordBlockSimple- new value ofpasswordBlockSimplefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordBlockSimplefield changed
-
getPasswordExpirationDays
public Optional<Integer> getPasswordExpirationDays()
“The password expiration in days.”- Returns:
- property passwordExpirationDays
-
withPasswordExpirationDays
public Windows10CompliancePolicy 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.“The password expiration in days.”
- 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 Windows10CompliancePolicy 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()
“The minimum password length.”- Returns:
- property passwordMinimumLength
-
withPasswordMinimumLength
public Windows10CompliancePolicy 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.“The minimum password length.”
- 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 Windows10CompliancePolicy 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 Windows10CompliancePolicy 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 device.”- Returns:
- property passwordRequired
-
withPasswordRequired
public Windows10CompliancePolicy 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 device.”
- Parameters:
passwordRequired- new value ofpasswordRequiredfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordRequiredfield changed
-
getPasswordRequiredToUnlockFromIdle
public Optional<Boolean> getPasswordRequiredToUnlockFromIdle()
“Require a password to unlock an idle device.”- Returns:
- property passwordRequiredToUnlockFromIdle
-
withPasswordRequiredToUnlockFromIdle
public Windows10CompliancePolicy withPasswordRequiredToUnlockFromIdle(Boolean passwordRequiredToUnlockFromIdle)
Returns an immutable copy ofthiswith just thepasswordRequiredToUnlockFromIdlefield 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:
passwordRequiredToUnlockFromIdle- new value ofpasswordRequiredToUnlockFromIdlefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordRequiredToUnlockFromIdlefield changed
-
getPasswordRequiredType
public Optional<RequiredPasswordType> getPasswordRequiredType()
“The required password type.”- Returns:
- property passwordRequiredType
-
withPasswordRequiredType
public Windows10CompliancePolicy 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
-
getRequireHealthyDeviceReport
public Optional<Boolean> getRequireHealthyDeviceReport()
“Require devices to be reported as healthy by Windows Device Health Attestation.”- Returns:
- property requireHealthyDeviceReport
-
withRequireHealthyDeviceReport
public Windows10CompliancePolicy withRequireHealthyDeviceReport(Boolean requireHealthyDeviceReport)
Returns an immutable copy ofthiswith just therequireHealthyDeviceReportfield 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:
requireHealthyDeviceReport- new value ofrequireHealthyDeviceReportfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just therequireHealthyDeviceReportfield changed
-
getRtpEnabled
public Optional<Boolean> getRtpEnabled()
“Require Windows Defender Antimalware Real-Time Protection on Windows devices.”- Returns:
- property rtpEnabled
-
withRtpEnabled
public Windows10CompliancePolicy withRtpEnabled(Boolean rtpEnabled)
Returns an immutable copy ofthiswith just thertpEnabledfield 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 Windows Defender Antimalware Real-Time Protection on Windows devices.”
- Parameters:
rtpEnabled- new value ofrtpEnabledfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thertpEnabledfield 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 Windows10CompliancePolicy 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
-
getSignatureOutOfDate
public Optional<Boolean> getSignatureOutOfDate()
“Require Windows Defender Antimalware Signature to be up to date on Windows devices.”- Returns:
- property signatureOutOfDate
-
withSignatureOutOfDate
public Windows10CompliancePolicy withSignatureOutOfDate(Boolean signatureOutOfDate)
Returns an immutable copy ofthiswith just thesignatureOutOfDatefield 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 Windows Defender Antimalware Signature to be up to date on Windows devices.”
- Parameters:
signatureOutOfDate- new value ofsignatureOutOfDatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesignatureOutOfDatefield changed
-
getStorageRequireEncryption
public Optional<Boolean> getStorageRequireEncryption()
“Require encryption on windows devices.”- Returns:
- property storageRequireEncryption
-
withStorageRequireEncryption
public Windows10CompliancePolicy 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
-
getTpmRequired
public Optional<Boolean> getTpmRequired()
“Require Trusted Platform Module(TPM) to be present.”- Returns:
- property tpmRequired
-
withTpmRequired
public Windows10CompliancePolicy withTpmRequired(Boolean tpmRequired)
Returns an immutable copy ofthiswith just thetpmRequiredfield 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 Trusted Platform Module(TPM) to be present.”
- Parameters:
tpmRequired- new value oftpmRequiredfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetpmRequiredfield 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 Windows10CompliancePolicy 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 Windows10CompliancePolicy 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 Windows10CompliancePolicy 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 Windows10CompliancePolicy 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
-
-