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

        protected Boolean passwordRequireToUnlockFromIdle
      • secureBootEnabled

        protected Boolean secureBootEnabled
      • storageRequireEncryption

        protected Boolean storageRequireEncryption
      • validOperatingSystemBuildRangesNextLink

        protected String validOperatingSystemBuildRangesNextLink
    • Constructor Detail

      • Windows10MobileCompliancePolicy

        protected Windows10MobileCompliancePolicy()
    • Method Detail

      • 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:
        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 Windows10MobileCompliancePolicy 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
      • 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 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 Windows10MobileCompliancePolicy 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
      • 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 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
      • getOsMaximumVersion

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

        public Windows10MobileCompliancePolicy 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 Phone 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 Phone version.”
        Returns:
        property osMinimumVersion
      • withOsMinimumVersion

        public Windows10MobileCompliancePolicy 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 Phone 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()
        “Whether or not to block syncing the calendar.”
        Returns:
        property passwordBlockSimple
      • withPasswordBlockSimple

        public Windows10MobileCompliancePolicy 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.

        “Whether or not to block syncing the calendar.”

        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()
        “Number of days before password expiration. Valid values 1 to 255”
        Returns:
        property passwordExpirationDays
      • withPasswordExpirationDays

        public Windows10MobileCompliancePolicy 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.

        “Number of days before password expiration. Valid values 1 to 255”

        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 Windows10MobileCompliancePolicy 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()
        “Minimum password length. Valid values 4 to 16”
        Returns:
        property passwordMinimumLength
      • withPasswordMinimumLength

        public Windows10MobileCompliancePolicy 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.

        “Minimum password length. Valid values 4 to 16”

        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 Windows10MobileCompliancePolicy 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 Windows10MobileCompliancePolicy 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 Phone device.”
        Returns:
        property passwordRequired
      • withPasswordRequired

        public Windows10MobileCompliancePolicy 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 Phone device.”

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

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

        public Windows10MobileCompliancePolicy 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
      • 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 of this with just the passwordRequireToUnlockFromIdle 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:
        passwordRequireToUnlockFromIdle - new value of passwordRequireToUnlockFromIdle field (as defined in service metadata)
        Returns:
        immutable copy of this with just the passwordRequireToUnlockFromIdle 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 Windows10MobileCompliancePolicy 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
      • getStorageRequireEncryption

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

        public Windows10MobileCompliancePolicy 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
      • 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 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 Windows10MobileCompliancePolicy 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 Windows10MobileCompliancePolicy 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