Class Windows10CompliancePolicy

All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class Windows10CompliancePolicy extends DeviceCompliancePolicy implements com.microsoft.kiota.serialization.Parsable
This class contains compliance settings for Windows 10.
  • Constructor Details

    • Windows10CompliancePolicy

      public Windows10CompliancePolicy()
      Instantiates a new Windows10CompliancePolicy and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static Windows10CompliancePolicy createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode)
      Creates a new instance of the appropriate class based on discriminator value
      Parameters:
      parseNode - The parse node to use to read the discriminator value and create the object
      Returns:
      a Windows10CompliancePolicy
    • getBitLockerEnabled

      @Nullable public Boolean getBitLockerEnabled()
      Gets the bitLockerEnabled property value. Require devices to be reported healthy by Windows Device Health Attestation - bit locker is enabled
      Returns:
      a Boolean
    • getCodeIntegrityEnabled

      @Nullable public Boolean getCodeIntegrityEnabled()
      Gets the codeIntegrityEnabled property value. Require devices to be reported as healthy by Windows Device Health Attestation.
      Returns:
      a Boolean
    • getEarlyLaunchAntiMalwareDriverEnabled

      @Nullable public Boolean getEarlyLaunchAntiMalwareDriverEnabled()
      Gets the earlyLaunchAntiMalwareDriverEnabled property value. Require devices to be reported as healthy by Windows Device Health Attestation - early launch antimalware driver is enabled.
      Returns:
      a Boolean
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class DeviceCompliancePolicy
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getMobileOsMaximumVersion

      @Nullable public String getMobileOsMaximumVersion()
      Gets the mobileOsMaximumVersion property value. Maximum Windows Phone version.
      Returns:
      a String
    • getMobileOsMinimumVersion

      @Nullable public String getMobileOsMinimumVersion()
      Gets the mobileOsMinimumVersion property value. Minimum Windows Phone version.
      Returns:
      a String
    • getOsMaximumVersion

      @Nullable public String getOsMaximumVersion()
      Gets the osMaximumVersion property value. Maximum Windows 10 version.
      Returns:
      a String
    • getOsMinimumVersion

      @Nullable public String getOsMinimumVersion()
      Gets the osMinimumVersion property value. Minimum Windows 10 version.
      Returns:
      a String
    • getPasswordBlockSimple

      @Nullable public Boolean getPasswordBlockSimple()
      Gets the passwordBlockSimple property value. Indicates whether or not to block simple password.
      Returns:
      a Boolean
    • getPasswordExpirationDays

      @Nullable public Integer getPasswordExpirationDays()
      Gets the passwordExpirationDays property value. The password expiration in days.
      Returns:
      a Integer
    • getPasswordMinimumCharacterSetCount

      @Nullable public Integer getPasswordMinimumCharacterSetCount()
      Gets the passwordMinimumCharacterSetCount property value. The number of character sets required in the password.
      Returns:
      a Integer
    • getPasswordMinimumLength

      @Nullable public Integer getPasswordMinimumLength()
      Gets the passwordMinimumLength property value. The minimum password length.
      Returns:
      a Integer
    • getPasswordMinutesOfInactivityBeforeLock

      @Nullable public Integer getPasswordMinutesOfInactivityBeforeLock()
      Gets the passwordMinutesOfInactivityBeforeLock property value. Minutes of inactivity before a password is required.
      Returns:
      a Integer
    • getPasswordPreviousPasswordBlockCount

      @Nullable public Integer getPasswordPreviousPasswordBlockCount()
      Gets the passwordPreviousPasswordBlockCount property value. The number of previous passwords to prevent re-use of.
      Returns:
      a Integer
    • getPasswordRequired

      @Nullable public Boolean getPasswordRequired()
      Gets the passwordRequired property value. Require a password to unlock Windows device.
      Returns:
      a Boolean
    • getPasswordRequiredToUnlockFromIdle

      @Nullable public Boolean getPasswordRequiredToUnlockFromIdle()
      Gets the passwordRequiredToUnlockFromIdle property value. Require a password to unlock an idle device.
      Returns:
      a Boolean
    • getPasswordRequiredType

      @Nullable public RequiredPasswordType getPasswordRequiredType()
      Gets the passwordRequiredType property value. Possible values of required passwords.
      Returns:
      a RequiredPasswordType
    • getRequireHealthyDeviceReport

      @Nullable public Boolean getRequireHealthyDeviceReport()
      Gets the requireHealthyDeviceReport property value. Require devices to be reported as healthy by Windows Device Health Attestation.
      Returns:
      a Boolean
    • getSecureBootEnabled

      @Nullable public Boolean getSecureBootEnabled()
      Gets the secureBootEnabled property value. Require devices to be reported as healthy by Windows Device Health Attestation - secure boot is enabled.
      Returns:
      a Boolean
    • getStorageRequireEncryption

      @Nullable public Boolean getStorageRequireEncryption()
      Gets the storageRequireEncryption property value. Require encryption on windows devices.
      Returns:
      a Boolean
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class DeviceCompliancePolicy
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setBitLockerEnabled

      public void setBitLockerEnabled(@Nullable Boolean value)
      Sets the bitLockerEnabled property value. Require devices to be reported healthy by Windows Device Health Attestation - bit locker is enabled
      Parameters:
      value - Value to set for the bitLockerEnabled property.
    • setCodeIntegrityEnabled

      public void setCodeIntegrityEnabled(@Nullable Boolean value)
      Sets the codeIntegrityEnabled property value. Require devices to be reported as healthy by Windows Device Health Attestation.
      Parameters:
      value - Value to set for the codeIntegrityEnabled property.
    • setEarlyLaunchAntiMalwareDriverEnabled

      public void setEarlyLaunchAntiMalwareDriverEnabled(@Nullable Boolean value)
      Sets the earlyLaunchAntiMalwareDriverEnabled property value. Require devices to be reported as healthy by Windows Device Health Attestation - early launch antimalware driver is enabled.
      Parameters:
      value - Value to set for the earlyLaunchAntiMalwareDriverEnabled property.
    • setMobileOsMaximumVersion

      public void setMobileOsMaximumVersion(@Nullable String value)
      Sets the mobileOsMaximumVersion property value. Maximum Windows Phone version.
      Parameters:
      value - Value to set for the mobileOsMaximumVersion property.
    • setMobileOsMinimumVersion

      public void setMobileOsMinimumVersion(@Nullable String value)
      Sets the mobileOsMinimumVersion property value. Minimum Windows Phone version.
      Parameters:
      value - Value to set for the mobileOsMinimumVersion property.
    • setOsMaximumVersion

      public void setOsMaximumVersion(@Nullable String value)
      Sets the osMaximumVersion property value. Maximum Windows 10 version.
      Parameters:
      value - Value to set for the osMaximumVersion property.
    • setOsMinimumVersion

      public void setOsMinimumVersion(@Nullable String value)
      Sets the osMinimumVersion property value. Minimum Windows 10 version.
      Parameters:
      value - Value to set for the osMinimumVersion property.
    • setPasswordBlockSimple

      public void setPasswordBlockSimple(@Nullable Boolean value)
      Sets the passwordBlockSimple property value. Indicates whether or not to block simple password.
      Parameters:
      value - Value to set for the passwordBlockSimple property.
    • setPasswordExpirationDays

      public void setPasswordExpirationDays(@Nullable Integer value)
      Sets the passwordExpirationDays property value. The password expiration in days.
      Parameters:
      value - Value to set for the passwordExpirationDays property.
    • setPasswordMinimumCharacterSetCount

      public void setPasswordMinimumCharacterSetCount(@Nullable Integer value)
      Sets the passwordMinimumCharacterSetCount property value. The number of character sets required in the password.
      Parameters:
      value - Value to set for the passwordMinimumCharacterSetCount property.
    • setPasswordMinimumLength

      public void setPasswordMinimumLength(@Nullable Integer value)
      Sets the passwordMinimumLength property value. The minimum password length.
      Parameters:
      value - Value to set for the passwordMinimumLength property.
    • setPasswordMinutesOfInactivityBeforeLock

      public void setPasswordMinutesOfInactivityBeforeLock(@Nullable Integer value)
      Sets the passwordMinutesOfInactivityBeforeLock property value. Minutes of inactivity before a password is required.
      Parameters:
      value - Value to set for the passwordMinutesOfInactivityBeforeLock property.
    • setPasswordPreviousPasswordBlockCount

      public void setPasswordPreviousPasswordBlockCount(@Nullable Integer value)
      Sets the passwordPreviousPasswordBlockCount property value. The number of previous passwords to prevent re-use of.
      Parameters:
      value - Value to set for the passwordPreviousPasswordBlockCount property.
    • setPasswordRequired

      public void setPasswordRequired(@Nullable Boolean value)
      Sets the passwordRequired property value. Require a password to unlock Windows device.
      Parameters:
      value - Value to set for the passwordRequired property.
    • setPasswordRequiredToUnlockFromIdle

      public void setPasswordRequiredToUnlockFromIdle(@Nullable Boolean value)
      Sets the passwordRequiredToUnlockFromIdle property value. Require a password to unlock an idle device.
      Parameters:
      value - Value to set for the passwordRequiredToUnlockFromIdle property.
    • setPasswordRequiredType

      public void setPasswordRequiredType(@Nullable RequiredPasswordType value)
      Sets the passwordRequiredType property value. Possible values of required passwords.
      Parameters:
      value - Value to set for the passwordRequiredType property.
    • setRequireHealthyDeviceReport

      public void setRequireHealthyDeviceReport(@Nullable Boolean value)
      Sets the requireHealthyDeviceReport property value. Require devices to be reported as healthy by Windows Device Health Attestation.
      Parameters:
      value - Value to set for the requireHealthyDeviceReport property.
    • setSecureBootEnabled

      public void setSecureBootEnabled(@Nullable Boolean value)
      Sets the secureBootEnabled property value. Require devices to be reported as healthy by Windows Device Health Attestation - secure boot is enabled.
      Parameters:
      value - Value to set for the secureBootEnabled property.
    • setStorageRequireEncryption

      public void setStorageRequireEncryption(@Nullable Boolean value)
      Sets the storageRequireEncryption property value. Require encryption on windows devices.
      Parameters:
      value - Value to set for the storageRequireEncryption property.