Package com.microsoft.graph.models
Class WindowsInformationProtectionPolicy
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.ManagedAppPolicy
com.microsoft.graph.models.WindowsInformationProtection
com.microsoft.graph.models.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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a newWindowsInformationProtectionPolicy
and sets the default values. -
Method Summary
Modifier and TypeMethodDescriptioncreateFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the daysWithoutContactBeforeUnenroll property value.The deserialization information for the current modelGets the mdmEnrollmentUrl property value.Gets the minutesOfInactivityBeforeDeviceLock property value.Gets the numberOfPastPinsRemembered property value.Gets the passwordMaximumAttemptCount property value.Gets the pinExpirationDays property value.Gets the pinLowercaseLetters property value.Gets the pinMinimumLength property value.Gets the pinSpecialCharacters property value.Gets the pinUppercaseLetters property value.Gets the revokeOnMdmHandoffDisabled property value.Gets the windowsHelloForBusinessBlocked property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
Sets the daysWithoutContactBeforeUnenroll property value.void
setMdmEnrollmentUrl
(String value) Sets the mdmEnrollmentUrl property value.void
Sets the minutesOfInactivityBeforeDeviceLock property value.void
Sets the numberOfPastPinsRemembered property value.void
Sets the passwordMaximumAttemptCount property value.void
setPinExpirationDays
(Integer value) Sets the pinExpirationDays property value.void
Sets the pinLowercaseLetters property value.void
setPinMinimumLength
(Integer value) Sets the pinMinimumLength property value.void
Sets the pinSpecialCharacters property value.void
Sets the pinUppercaseLetters property value.void
Sets the revokeOnMdmHandoffDisabled property value.void
Sets the windowsHelloForBusinessBlocked property value.Methods inherited from class com.microsoft.graph.models.WindowsInformationProtection
getAssignments, getAzureRightsManagementServicesAllowed, getDataRecoveryCertificate, getEnforcementLevel, getEnterpriseDomain, getEnterpriseInternalProxyServers, getEnterpriseIPRanges, getEnterpriseIPRangesAreAuthoritative, getEnterpriseNetworkDomainNames, getEnterpriseProtectedDomainNames, getEnterpriseProxiedDomains, getEnterpriseProxyServers, getEnterpriseProxyServersAreAuthoritative, getExemptAppLockerFiles, getExemptApps, getIconsVisible, getIndexingEncryptedStoresOrItemsBlocked, getIsAssigned, getNeutralDomainResources, getProtectedAppLockerFiles, getProtectedApps, getProtectionUnderLockConfigRequired, getRevokeOnUnenrollDisabled, getRightsManagementServicesTemplateId, getSmbAutoEncryptedFileExtensions, setAssignments, setAzureRightsManagementServicesAllowed, setDataRecoveryCertificate, setEnforcementLevel, setEnterpriseDomain, setEnterpriseInternalProxyServers, setEnterpriseIPRanges, setEnterpriseIPRangesAreAuthoritative, setEnterpriseNetworkDomainNames, setEnterpriseProtectedDomainNames, setEnterpriseProxiedDomains, setEnterpriseProxyServers, setEnterpriseProxyServersAreAuthoritative, setExemptAppLockerFiles, setExemptApps, setIconsVisible, setIndexingEncryptedStoresOrItemsBlocked, setIsAssigned, setNeutralDomainResources, setProtectedAppLockerFiles, setProtectedApps, setProtectionUnderLockConfigRequired, setRevokeOnUnenrollDisabled, setRightsManagementServicesTemplateId, setSmbAutoEncryptedFileExtensions
Methods inherited from class com.microsoft.graph.models.ManagedAppPolicy
getCreatedDateTime, getDescription, getDisplayName, getLastModifiedDateTime, getVersion, setCreatedDateTime, setDescription, setDisplayName, setLastModifiedDateTime, setVersion
Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
WindowsInformationProtectionPolicy
public WindowsInformationProtectionPolicy()Instantiates a newWindowsInformationProtectionPolicy
and sets the default values.
-
-
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
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 interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classWindowsInformationProtection
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getMdmEnrollmentUrl
Gets the mdmEnrollmentUrl property value. Enrollment url for the MDM- Returns:
- a
String
-
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
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
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
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
Gets the pinLowercaseLetters property value. Pin Character Requirements -
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
Gets the pinSpecialCharacters property value. Pin Character Requirements -
getPinUppercaseLetters
Gets the pinUppercaseLetters property value. Pin Character Requirements -
getRevokeOnMdmHandoffDisabled
Gets the revokeOnMdmHandoffDisabled property value. New property in RS2, pending documentation- Returns:
- a
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 interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
serialize
in classWindowsInformationProtection
- Parameters:
writer
- Serialization writer to use to serialize this model
-
setDaysWithoutContactBeforeUnenroll
Sets the daysWithoutContactBeforeUnenroll property value. Offline interval before app data is wiped (days)- Parameters:
value
- Value to set for the daysWithoutContactBeforeUnenroll property.
-
setMdmEnrollmentUrl
Sets the mdmEnrollmentUrl property value. Enrollment url for the MDM- Parameters:
value
- Value to set for the mdmEnrollmentUrl property.
-
setMinutesOfInactivityBeforeDeviceLock
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
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
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
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
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
Sets the revokeOnMdmHandoffDisabled property value. New property in RS2, pending documentation- Parameters:
value
- Value to set for the revokeOnMdmHandoffDisabled property.
-
setWindowsHelloForBusinessBlocked
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.
-