Class 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.”
    • 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
      • deviceThreatProtectionEnabled

        protected Boolean deviceThreatProtectionEnabled
      • 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
      • requireHealthyDeviceReport

        protected Boolean requireHealthyDeviceReport
      • rtpEnabled

        protected Boolean rtpEnabled
      • secureBootEnabled

        protected Boolean secureBootEnabled
      • signatureOutOfDate

        protected Boolean signatureOutOfDate
      • storageRequireEncryption

        protected Boolean storageRequireEncryption
      • tpmRequired

        protected Boolean tpmRequired
      • validOperatingSystemBuildRangesNextLink

        protected String validOperatingSystemBuildRangesNextLink
    • Constructor Detail

      • Windows10CompliancePolicy

        protected Windows10CompliancePolicy()
    • Method Detail

      • 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:
        getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityType
        Overrides:
        getChangedFields in class DeviceCompliancePolicy
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        postInject in class DeviceCompliancePolicy
      • getActiveFirewallRequired

        public Optional<Boolean> getActiveFirewallRequired()
        “Require active firewall on Windows devices.”
        Returns:
        property activeFirewallRequired
      • withActiveFirewallRequired

        public Windows10CompliancePolicy withActiveFirewallRequired​(Boolean activeFirewallRequired)
        Returns an immutable copy of this with just the activeFirewallRequired field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of activeFirewallRequired field (as defined in service metadata)
        Returns:
        immutable copy of this with just the activeFirewallRequired field 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 of this with just the antiSpywareRequired field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of antiSpywareRequired field (as defined in service metadata)
        Returns:
        immutable copy of this with just the antiSpywareRequired field 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 of this with just the antivirusRequired field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. 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 of antivirusRequired field (as defined in service metadata)
        Returns:
        immutable copy of this with just the antivirusRequired field 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 of this with just the bitLockerEnabled field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. 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 of bitLockerEnabled field (as defined in service metadata)
        Returns:
        immutable copy of this with just the bitLockerEnabled field 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 of this with just the codeIntegrityEnabled field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of codeIntegrityEnabled field (as defined in service metadata)
        Returns:
        immutable copy of this with just the codeIntegrityEnabled field 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 of this with just the configurationManagerComplianceRequired field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of configurationManagerComplianceRequired field (as defined in service metadata)
        Returns:
        immutable copy of this with just the configurationManagerComplianceRequired field 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 of this with just the defenderEnabled field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. 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 of defenderEnabled field (as defined in service metadata)
        Returns:
        immutable copy of this with just the defenderEnabled field 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 of this with just the defenderVersion field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. 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 of defenderVersion field (as defined in service metadata)
        Returns:
        immutable copy of this with just the defenderVersion field changed
      • 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 of this with just the deviceThreatProtectionEnabled field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of deviceThreatProtectionEnabled field (as defined in service metadata)
        Returns:
        immutable copy of this with just the deviceThreatProtectionEnabled field 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 of this with just the deviceThreatProtectionRequiredSecurityLevel field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of deviceThreatProtectionRequiredSecurityLevel field (as defined in service metadata)
        Returns:
        immutable copy of this with just the deviceThreatProtectionRequiredSecurityLevel field 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 of this with just the earlyLaunchAntiMalwareDriverEnabled field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of earlyLaunchAntiMalwareDriverEnabled field (as defined in service metadata)
        Returns:
        immutable copy of this with just the earlyLaunchAntiMalwareDriverEnabled field changed
      • getMobileOsMaximumVersion

        public Optional<String> getMobileOsMaximumVersion()
        “Maximum Windows Phone version.”
        Returns:
        property mobileOsMaximumVersion
      • withMobileOsMaximumVersion

        public Windows10CompliancePolicy withMobileOsMaximumVersion​(String mobileOsMaximumVersion)
        Returns an immutable copy of this with just the mobileOsMaximumVersion field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Maximum Windows Phone version.”

        Parameters:
        mobileOsMaximumVersion - new value of mobileOsMaximumVersion field (as defined in service metadata)
        Returns:
        immutable copy of this with just the mobileOsMaximumVersion field changed
      • getMobileOsMinimumVersion

        public Optional<String> getMobileOsMinimumVersion()
        “Minimum Windows Phone version.”
        Returns:
        property mobileOsMinimumVersion
      • withMobileOsMinimumVersion

        public Windows10CompliancePolicy withMobileOsMinimumVersion​(String mobileOsMinimumVersion)
        Returns an immutable copy of this with just the mobileOsMinimumVersion field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Minimum Windows Phone version.”

        Parameters:
        mobileOsMinimumVersion - new value of mobileOsMinimumVersion field (as defined in service metadata)
        Returns:
        immutable copy of this with just the mobileOsMinimumVersion field changed
      • getOsMaximumVersion

        public Optional<String> getOsMaximumVersion()
        “Maximum Windows 10 version.”
        Returns:
        property osMaximumVersion
      • withOsMaximumVersion

        public Windows10CompliancePolicy withOsMaximumVersion​(String osMaximumVersion)
        Returns an immutable copy of this with just the osMaximumVersion field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. patch() is called (if available)on the returned object only the changed fields are submitted.

        “Maximum Windows 10 version.”

        Parameters:
        osMaximumVersion - new value of osMaximumVersion field (as defined in service metadata)
        Returns:
        immutable copy of this with just the osMaximumVersion field changed
      • getOsMinimumVersion

        public Optional<String> getOsMinimumVersion()
        “Minimum Windows 10 version.”
        Returns:
        property osMinimumVersion
      • withOsMinimumVersion

        public Windows10CompliancePolicy withOsMinimumVersion​(String osMinimumVersion)
        Returns an immutable copy of this with just the osMinimumVersion field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. patch() is called (if available)on the returned object only the changed fields are submitted.

        “Minimum Windows 10 version.”

        Parameters:
        osMinimumVersion - new value of osMinimumVersion field (as defined in service metadata)
        Returns:
        immutable copy of this with just the osMinimumVersion field 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 of this with just the passwordBlockSimple field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of passwordBlockSimple field (as defined in service metadata)
        Returns:
        immutable copy of this with just the passwordBlockSimple field changed
      • getPasswordExpirationDays

        public Optional<Integer> getPasswordExpirationDays()
        “The password expiration in days.”
        Returns:
        property passwordExpirationDays
      • withPasswordExpirationDays

        public Windows10CompliancePolicy withPasswordExpirationDays​(Integer passwordExpirationDays)
        Returns an immutable copy of this with just the passwordExpirationDays field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “The password expiration in days.”

        Parameters:
        passwordExpirationDays - new value of passwordExpirationDays field (as defined in service metadata)
        Returns:
        immutable copy of this with just the passwordExpirationDays field 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 of this with just the passwordMinimumCharacterSetCount field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of passwordMinimumCharacterSetCount field (as defined in service metadata)
        Returns:
        immutable copy of this with just the passwordMinimumCharacterSetCount field changed
      • getPasswordMinimumLength

        public Optional<Integer> getPasswordMinimumLength()
        “The minimum password length.”
        Returns:
        property passwordMinimumLength
      • withPasswordMinimumLength

        public Windows10CompliancePolicy withPasswordMinimumLength​(Integer passwordMinimumLength)
        Returns an immutable copy of this with just the passwordMinimumLength field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “The minimum password length.”

        Parameters:
        passwordMinimumLength - new value of passwordMinimumLength field (as defined in service metadata)
        Returns:
        immutable copy of this with just the passwordMinimumLength field 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 of this with just the passwordMinutesOfInactivityBeforeLock field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of passwordMinutesOfInactivityBeforeLock field (as defined in service metadata)
        Returns:
        immutable copy of this with just the passwordMinutesOfInactivityBeforeLock field 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 of this with just the passwordPreviousPasswordBlockCount field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of passwordPreviousPasswordBlockCount field (as defined in service metadata)
        Returns:
        immutable copy of this with just the passwordPreviousPasswordBlockCount field 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 of this with just the passwordRequired field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. 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 of passwordRequired field (as defined in service metadata)
        Returns:
        immutable copy of this with just the passwordRequired field 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 of this with just the passwordRequiredToUnlockFromIdle field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of passwordRequiredToUnlockFromIdle field (as defined in service metadata)
        Returns:
        immutable copy of this with just the passwordRequiredToUnlockFromIdle field changed
      • getPasswordRequiredType

        public Optional<RequiredPasswordType> getPasswordRequiredType()
        “The required password type.”
        Returns:
        property passwordRequiredType
      • withPasswordRequiredType

        public Windows10CompliancePolicy withPasswordRequiredType​(RequiredPasswordType passwordRequiredType)
        Returns an immutable copy of this with just the passwordRequiredType field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “The required password type.”

        Parameters:
        passwordRequiredType - new value of passwordRequiredType field (as defined in service metadata)
        Returns:
        immutable copy of this with just the passwordRequiredType field 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 of this with just the requireHealthyDeviceReport field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of requireHealthyDeviceReport field (as defined in service metadata)
        Returns:
        immutable copy of this with just the requireHealthyDeviceReport field 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 of this with just the rtpEnabled field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of rtpEnabled field (as defined in service metadata)
        Returns:
        immutable copy of this with just the rtpEnabled field 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 of this with just the secureBootEnabled field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. 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 of secureBootEnabled field (as defined in service metadata)
        Returns:
        immutable copy of this with just the secureBootEnabled field 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 of this with just the signatureOutOfDate field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of signatureOutOfDate field (as defined in service metadata)
        Returns:
        immutable copy of this with just the signatureOutOfDate field changed
      • getStorageRequireEncryption

        public Optional<Boolean> getStorageRequireEncryption()
        “Require encryption on windows devices.”
        Returns:
        property storageRequireEncryption
      • withStorageRequireEncryption

        public Windows10CompliancePolicy withStorageRequireEncryption​(Boolean storageRequireEncryption)
        Returns an immutable copy of this with just the storageRequireEncryption field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Require encryption on windows devices.”

        Parameters:
        storageRequireEncryption - new value of storageRequireEncryption field (as defined in service metadata)
        Returns:
        immutable copy of this with just the storageRequireEncryption field 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 of this with just the tpmRequired field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. 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 of tpmRequired field (as defined in service metadata)
        Returns:
        immutable copy of this with just the tpmRequired field 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 of this with just the validOperatingSystemBuildRanges field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of validOperatingSystemBuildRanges field (as defined in service metadata)
        Returns:
        immutable copy of this with just the validOperatingSystemBuildRanges field 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
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        getUnmappedFields in class DeviceCompliancePolicy
      • patch

        public Windows10CompliancePolicy patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class DeviceCompliancePolicy
        Returns:
        a copy of this with 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 of this with changed fields reset (they were ignored anyway).
        Overrides:
        put in class DeviceCompliancePolicy
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected