Class WindowsInformationProtectionPolicy

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

@Generated("com.microsoft.kiota") public class WindowsInformationProtectionPolicy extends WindowsInformationProtection implements com.microsoft.kiota.serialization.Parsable
Policy for Windows information protection without MDM
  • Constructor Details

  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static WindowsInformationProtectionPolicy 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 WindowsInformationProtectionPolicy
    • getDaysWithoutContactBeforeUnenroll

      @Nullable public Integer getDaysWithoutContactBeforeUnenroll()
      Gets the daysWithoutContactBeforeUnenroll property value. Offline interval before app data is wiped (days)
      Returns:
      a Integer
    • 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 WindowsInformationProtection
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getMdmEnrollmentUrl

      @Nullable public String getMdmEnrollmentUrl()
      Gets the mdmEnrollmentUrl property value. Enrollment url for the MDM
      Returns:
      a String
    • getMinutesOfInactivityBeforeDeviceLock

      @Nullable public Integer getMinutesOfInactivityBeforeDeviceLock()
      Gets the minutesOfInactivityBeforeDeviceLock property value. Specifies the maximum amount of time (in minutes) allowed after the device is idle that will cause the device to become PIN or password locked. Range is an integer X where 0 <= X <= 999.
      Returns:
      a Integer
    • getNumberOfPastPinsRemembered

      @Nullable public Integer getNumberOfPastPinsRemembered()
      Gets the numberOfPastPinsRemembered property value. Integer value that specifies the number of past PINs that can be associated to a user account that can't be reused. The largest number you can configure for this policy setting is 50. The lowest number you can configure for this policy setting is 0. If this policy is set to 0, then storage of previous PINs is not required. This node was added in Windows 10, version 1511. Default is 0.
      Returns:
      a Integer
    • getPasswordMaximumAttemptCount

      @Nullable public Integer getPasswordMaximumAttemptCount()
      Gets the passwordMaximumAttemptCount property value. The number of authentication failures allowed before the device will be wiped. A value of 0 disables device wipe functionality. Range is an integer X where 4 <= X <= 16 for desktop and 0 <= X <= 999 for mobile devices.
      Returns:
      a Integer
    • getPinExpirationDays

      @Nullable public Integer getPinExpirationDays()
      Gets the pinExpirationDays property value. Integer value specifies the period of time (in days) that a PIN can be used before the system requires the user to change it. The largest number you can configure for this policy setting is 730. The lowest number you can configure for this policy setting is 0. If this policy is set to 0, then the user's PIN will never expire. This node was added in Windows 10, version 1511. Default is 0.
      Returns:
      a Integer
    • getPinLowercaseLetters

      @Nullable public WindowsInformationProtectionPinCharacterRequirements getPinLowercaseLetters()
      Gets the pinLowercaseLetters property value. Pin Character Requirements
      Returns:
      a WindowsInformationProtectionPinCharacterRequirements
    • getPinMinimumLength

      @Nullable public Integer getPinMinimumLength()
      Gets the pinMinimumLength property value. Integer value that sets the minimum number of characters required for the PIN. Default value is 4. The lowest number you can configure for this policy setting is 4. The largest number you can configure must be less than the number configured in the Maximum PIN length policy setting or the number 127, whichever is the lowest.
      Returns:
      a Integer
    • getPinSpecialCharacters

      @Nullable public WindowsInformationProtectionPinCharacterRequirements getPinSpecialCharacters()
      Gets the pinSpecialCharacters property value. Pin Character Requirements
      Returns:
      a WindowsInformationProtectionPinCharacterRequirements
    • getPinUppercaseLetters

      @Nullable public WindowsInformationProtectionPinCharacterRequirements getPinUppercaseLetters()
      Gets the pinUppercaseLetters property value. Pin Character Requirements
      Returns:
      a WindowsInformationProtectionPinCharacterRequirements
    • getRevokeOnMdmHandoffDisabled

      @Nullable public Boolean getRevokeOnMdmHandoffDisabled()
      Gets the revokeOnMdmHandoffDisabled property value. New property in RS2, pending documentation
      Returns:
      a Boolean
    • getWindowsHelloForBusinessBlocked

      @Nullable public Boolean getWindowsHelloForBusinessBlocked()
      Gets the windowsHelloForBusinessBlocked property value. Boolean value that sets Windows Hello for Business as a method for signing into Windows.
      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 WindowsInformationProtection
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setDaysWithoutContactBeforeUnenroll

      public void setDaysWithoutContactBeforeUnenroll(@Nullable Integer value)
      Sets the daysWithoutContactBeforeUnenroll property value. Offline interval before app data is wiped (days)
      Parameters:
      value - Value to set for the daysWithoutContactBeforeUnenroll property.
    • setMdmEnrollmentUrl

      public void setMdmEnrollmentUrl(@Nullable String value)
      Sets the mdmEnrollmentUrl property value. Enrollment url for the MDM
      Parameters:
      value - Value to set for the mdmEnrollmentUrl property.
    • setMinutesOfInactivityBeforeDeviceLock

      public void setMinutesOfInactivityBeforeDeviceLock(@Nullable Integer value)
      Sets the minutesOfInactivityBeforeDeviceLock property value. Specifies the maximum amount of time (in minutes) allowed after the device is idle that will cause the device to become PIN or password locked. Range is an integer X where 0 <= X <= 999.
      Parameters:
      value - Value to set for the minutesOfInactivityBeforeDeviceLock property.
    • setNumberOfPastPinsRemembered

      public void setNumberOfPastPinsRemembered(@Nullable Integer value)
      Sets the numberOfPastPinsRemembered property value. Integer value that specifies the number of past PINs that can be associated to a user account that can't be reused. The largest number you can configure for this policy setting is 50. The lowest number you can configure for this policy setting is 0. If this policy is set to 0, then storage of previous PINs is not required. This node was added in Windows 10, version 1511. Default is 0.
      Parameters:
      value - Value to set for the numberOfPastPinsRemembered property.
    • setPasswordMaximumAttemptCount

      public void setPasswordMaximumAttemptCount(@Nullable Integer value)
      Sets the passwordMaximumAttemptCount property value. The number of authentication failures allowed before the device will be wiped. A value of 0 disables device wipe functionality. Range is an integer X where 4 <= X <= 16 for desktop and 0 <= X <= 999 for mobile devices.
      Parameters:
      value - Value to set for the passwordMaximumAttemptCount property.
    • setPinExpirationDays

      public void setPinExpirationDays(@Nullable Integer value)
      Sets the pinExpirationDays property value. Integer value specifies the period of time (in days) that a PIN can be used before the system requires the user to change it. The largest number you can configure for this policy setting is 730. The lowest number you can configure for this policy setting is 0. If this policy is set to 0, then the user's PIN will never expire. This node was added in Windows 10, version 1511. Default is 0.
      Parameters:
      value - Value to set for the pinExpirationDays property.
    • setPinLowercaseLetters

      public void setPinLowercaseLetters(@Nullable WindowsInformationProtectionPinCharacterRequirements value)
      Sets the pinLowercaseLetters property value. Pin Character Requirements
      Parameters:
      value - Value to set for the pinLowercaseLetters property.
    • setPinMinimumLength

      public void setPinMinimumLength(@Nullable Integer value)
      Sets the pinMinimumLength property value. Integer value that sets the minimum number of characters required for the PIN. Default value is 4. The lowest number you can configure for this policy setting is 4. The largest number you can configure must be less than the number configured in the Maximum PIN length policy setting or the number 127, whichever is the lowest.
      Parameters:
      value - Value to set for the pinMinimumLength property.
    • setPinSpecialCharacters

      public void setPinSpecialCharacters(@Nullable WindowsInformationProtectionPinCharacterRequirements value)
      Sets the pinSpecialCharacters property value. Pin Character Requirements
      Parameters:
      value - Value to set for the pinSpecialCharacters property.
    • setPinUppercaseLetters

      public void setPinUppercaseLetters(@Nullable WindowsInformationProtectionPinCharacterRequirements value)
      Sets the pinUppercaseLetters property value. Pin Character Requirements
      Parameters:
      value - Value to set for the pinUppercaseLetters property.
    • setRevokeOnMdmHandoffDisabled

      public void setRevokeOnMdmHandoffDisabled(@Nullable Boolean value)
      Sets the revokeOnMdmHandoffDisabled property value. New property in RS2, pending documentation
      Parameters:
      value - Value to set for the revokeOnMdmHandoffDisabled property.
    • setWindowsHelloForBusinessBlocked

      public void setWindowsHelloForBusinessBlocked(@Nullable Boolean value)
      Sets the windowsHelloForBusinessBlocked property value. Boolean value that sets Windows Hello for Business as a method for signing into Windows.
      Parameters:
      value - Value to set for the windowsHelloForBusinessBlocked property.