Class WindowsInformationProtectionPolicy
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.ManagedAppPolicy
-
- odata.msgraph.client.entity.WindowsInformationProtection
-
- odata.msgraph.client.entity.WindowsInformationProtectionPolicy
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class WindowsInformationProtectionPolicy extends WindowsInformationProtection implements com.github.davidmoten.odata.client.ODataEntityType
“Policy for Windows information protection without MDM”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowsInformationProtectionPolicy.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegerdaysWithoutContactBeforeUnenrollprotected StringmdmEnrollmentUrlprotected IntegerminutesOfInactivityBeforeDeviceLockprotected IntegernumberOfPastPinsRememberedprotected IntegerpasswordMaximumAttemptCountprotected IntegerpinExpirationDaysprotected WindowsInformationProtectionPinCharacterRequirementspinLowercaseLettersprotected IntegerpinMinimumLengthprotected WindowsInformationProtectionPinCharacterRequirementspinSpecialCharactersprotected WindowsInformationProtectionPinCharacterRequirementspinUppercaseLettersprotected BooleanrevokeOnMdmHandoffDisabledprotected BooleanwindowsHelloForBusinessBlocked-
Fields inherited from class odata.msgraph.client.entity.WindowsInformationProtection
assignments, azureRightsManagementServicesAllowed, dataRecoveryCertificate, enforcementLevel, enterpriseDomain, enterpriseInternalProxyServers, enterpriseInternalProxyServersNextLink, enterpriseIPRanges, enterpriseIPRangesAreAuthoritative, enterpriseIPRangesNextLink, enterpriseNetworkDomainNames, enterpriseNetworkDomainNamesNextLink, enterpriseProtectedDomainNames, enterpriseProtectedDomainNamesNextLink, enterpriseProxiedDomains, enterpriseProxiedDomainsNextLink, enterpriseProxyServers, enterpriseProxyServersAreAuthoritative, enterpriseProxyServersNextLink, exemptAppLockerFiles, exemptApps, exemptAppsNextLink, iconsVisible, indexingEncryptedStoresOrItemsBlocked, isAssigned, neutralDomainResources, neutralDomainResourcesNextLink, protectedAppLockerFiles, protectedApps, protectedAppsNextLink, protectionUnderLockConfigRequired, revokeOnUnenrollDisabled, rightsManagementServicesTemplateId, smbAutoEncryptedFileExtensions, smbAutoEncryptedFileExtensionsNextLink
-
Fields inherited from class odata.msgraph.client.entity.ManagedAppPolicy
createdDateTime, description, displayName, lastModifiedDateTime, version
-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindowsInformationProtectionPolicy()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WindowsInformationProtectionPolicy.BuilderbuilderWindowsInformationProtectionPolicy()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<Integer>getDaysWithoutContactBeforeUnenroll()“Offline interval before app data is wiped (days)”Optional<String>getMdmEnrollmentUrl()“Enrollment url for the MDM”Optional<Integer>getMinutesOfInactivityBeforeDeviceLock()“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.Optional<Integer>getNumberOfPastPinsRemembered()“Integer value that specifies the number of past PINs that can be associated to a user account that can't be reused.Optional<Integer>getPasswordMaximumAttemptCount()“The number of authentication failures allowed before the device will be wiped.Optional<Integer>getPinExpirationDays()“Integer value specifies the period of time (in days) that a PIN can be used before the system requires the user to change it.Optional<WindowsInformationProtectionPinCharacterRequirements>getPinLowercaseLetters()“Integer value that configures the use of lowercase letters in the Windows Hello for Business PIN.Optional<Integer>getPinMinimumLength()“Integer value that sets the minimum number of characters required for the PIN.Optional<WindowsInformationProtectionPinCharacterRequirements>getPinSpecialCharacters()“Integer value that configures the use of special characters in the Windows Hello for Business PIN.Optional<WindowsInformationProtectionPinCharacterRequirements>getPinUppercaseLetters()“Integer value that configures the use of uppercase letters in the Windows Hello for Business PIN.Optional<Boolean>getRevokeOnMdmHandoffDisabled()“New property in RS2, pending documentation”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<Boolean>getWindowsHelloForBusinessBlocked()“Boolean value that sets Windows Hello for Business as a method for signing into Windows.”StringodataTypeName()WindowsInformationProtectionPolicypatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)WindowsInformationProtectionPolicyput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()WindowsInformationProtectionPolicywithDaysWithoutContactBeforeUnenroll(Integer daysWithoutContactBeforeUnenroll)Returns an immutable copy ofthiswith just thedaysWithoutContactBeforeUnenrollfield changed.WindowsInformationProtectionPolicywithMdmEnrollmentUrl(String mdmEnrollmentUrl)Returns an immutable copy ofthiswith just themdmEnrollmentUrlfield changed.WindowsInformationProtectionPolicywithMinutesOfInactivityBeforeDeviceLock(Integer minutesOfInactivityBeforeDeviceLock)Returns an immutable copy ofthiswith just theminutesOfInactivityBeforeDeviceLockfield changed.WindowsInformationProtectionPolicywithNumberOfPastPinsRemembered(Integer numberOfPastPinsRemembered)Returns an immutable copy ofthiswith just thenumberOfPastPinsRememberedfield changed.WindowsInformationProtectionPolicywithPasswordMaximumAttemptCount(Integer passwordMaximumAttemptCount)Returns an immutable copy ofthiswith just thepasswordMaximumAttemptCountfield changed.WindowsInformationProtectionPolicywithPinExpirationDays(Integer pinExpirationDays)Returns an immutable copy ofthiswith just thepinExpirationDaysfield changed.WindowsInformationProtectionPolicywithPinLowercaseLetters(WindowsInformationProtectionPinCharacterRequirements pinLowercaseLetters)Returns an immutable copy ofthiswith just thepinLowercaseLettersfield changed.WindowsInformationProtectionPolicywithPinMinimumLength(Integer pinMinimumLength)Returns an immutable copy ofthiswith just thepinMinimumLengthfield changed.WindowsInformationProtectionPolicywithPinSpecialCharacters(WindowsInformationProtectionPinCharacterRequirements pinSpecialCharacters)Returns an immutable copy ofthiswith just thepinSpecialCharactersfield changed.WindowsInformationProtectionPolicywithPinUppercaseLetters(WindowsInformationProtectionPinCharacterRequirements pinUppercaseLetters)Returns an immutable copy ofthiswith just thepinUppercaseLettersfield changed.WindowsInformationProtectionPolicywithRevokeOnMdmHandoffDisabled(Boolean revokeOnMdmHandoffDisabled)Returns an immutable copy ofthiswith just therevokeOnMdmHandoffDisabledfield changed.WindowsInformationProtectionPolicywithUnmappedField(String name, Object value)WindowsInformationProtectionPolicywithWindowsHelloForBusinessBlocked(Boolean windowsHelloForBusinessBlocked)Returns an immutable copy ofthiswith just thewindowsHelloForBusinessBlockedfield changed.-
Methods inherited from class odata.msgraph.client.entity.WindowsInformationProtection
assign, getAssignments, getAzureRightsManagementServicesAllowed, getDataRecoveryCertificate, getEnforcementLevel, getEnterpriseDomain, getEnterpriseInternalProxyServers, getEnterpriseInternalProxyServers, getEnterpriseIPRanges, getEnterpriseIPRanges, getEnterpriseIPRangesAreAuthoritative, getEnterpriseNetworkDomainNames, getEnterpriseNetworkDomainNames, getEnterpriseProtectedDomainNames, getEnterpriseProtectedDomainNames, getEnterpriseProxiedDomains, getEnterpriseProxiedDomains, getEnterpriseProxyServers, getEnterpriseProxyServers, getEnterpriseProxyServersAreAuthoritative, getExemptAppLockerFiles, getExemptApps, getExemptApps, getIconsVisible, getIndexingEncryptedStoresOrItemsBlocked, getIsAssigned, getNeutralDomainResources, getNeutralDomainResources, getProtectedAppLockerFiles, getProtectedApps, getProtectedApps, getProtectionUnderLockConfigRequired, getRevokeOnUnenrollDisabled, getRightsManagementServicesTemplateId, getSmbAutoEncryptedFileExtensions, getSmbAutoEncryptedFileExtensions, withAssignments, withAzureRightsManagementServicesAllowed, withDataRecoveryCertificate, withEnforcementLevel, withEnterpriseDomain, withEnterpriseInternalProxyServers, withEnterpriseIPRanges, withEnterpriseIPRangesAreAuthoritative, withEnterpriseNetworkDomainNames, withEnterpriseProtectedDomainNames, withEnterpriseProxiedDomains, withEnterpriseProxyServers, withEnterpriseProxyServersAreAuthoritative, withExemptAppLockerFiles, withExemptApps, withIconsVisible, withIndexingEncryptedStoresOrItemsBlocked, withIsAssigned, withNeutralDomainResources, withProtectedAppLockerFiles, withProtectedApps, withProtectionUnderLockConfigRequired, withRevokeOnUnenrollDisabled, withRightsManagementServicesTemplateId, withSmbAutoEncryptedFileExtensions
-
Methods inherited from class odata.msgraph.client.entity.ManagedAppPolicy
getCreatedDateTime, getDescription, getDisplayName, getLastModifiedDateTime, getVersion, targetApps, withCreatedDateTime, withDescription, withDisplayName, withLastModifiedDateTime, withVersion
-
-
-
-
Field Detail
-
daysWithoutContactBeforeUnenroll
protected Integer daysWithoutContactBeforeUnenroll
-
mdmEnrollmentUrl
protected String mdmEnrollmentUrl
-
minutesOfInactivityBeforeDeviceLock
protected Integer minutesOfInactivityBeforeDeviceLock
-
numberOfPastPinsRemembered
protected Integer numberOfPastPinsRemembered
-
passwordMaximumAttemptCount
protected Integer passwordMaximumAttemptCount
-
pinExpirationDays
protected Integer pinExpirationDays
-
pinLowercaseLetters
protected WindowsInformationProtectionPinCharacterRequirements pinLowercaseLetters
-
pinMinimumLength
protected Integer pinMinimumLength
-
pinSpecialCharacters
protected WindowsInformationProtectionPinCharacterRequirements pinSpecialCharacters
-
pinUppercaseLetters
protected WindowsInformationProtectionPinCharacterRequirements pinUppercaseLetters
-
revokeOnMdmHandoffDisabled
protected Boolean revokeOnMdmHandoffDisabled
-
windowsHelloForBusinessBlocked
protected Boolean windowsHelloForBusinessBlocked
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classWindowsInformationProtection
-
builderWindowsInformationProtectionPolicy
public static WindowsInformationProtectionPolicy.Builder builderWindowsInformationProtectionPolicy()
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:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classWindowsInformationProtection
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classWindowsInformationProtection
-
getDaysWithoutContactBeforeUnenroll
public Optional<Integer> getDaysWithoutContactBeforeUnenroll()
“Offline interval before app data is wiped (days)”- Returns:
- property daysWithoutContactBeforeUnenroll
-
withDaysWithoutContactBeforeUnenroll
public WindowsInformationProtectionPolicy withDaysWithoutContactBeforeUnenroll(Integer daysWithoutContactBeforeUnenroll)
Returns an immutable copy ofthiswith just thedaysWithoutContactBeforeUnenrollfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Offline interval before app data is wiped (days)”
- Parameters:
daysWithoutContactBeforeUnenroll- new value ofdaysWithoutContactBeforeUnenrollfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedaysWithoutContactBeforeUnenrollfield changed
-
getMdmEnrollmentUrl
public Optional<String> getMdmEnrollmentUrl()
“Enrollment url for the MDM”- Returns:
- property mdmEnrollmentUrl
-
withMdmEnrollmentUrl
public WindowsInformationProtectionPolicy withMdmEnrollmentUrl(String mdmEnrollmentUrl)
Returns an immutable copy ofthiswith just themdmEnrollmentUrlfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Enrollment url for the MDM”
- Parameters:
mdmEnrollmentUrl- new value ofmdmEnrollmentUrlfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themdmEnrollmentUrlfield changed
-
getMinutesOfInactivityBeforeDeviceLock
public Optional<Integer> getMinutesOfInactivityBeforeDeviceLock()
“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:
- property minutesOfInactivityBeforeDeviceLock
-
withMinutesOfInactivityBeforeDeviceLock
public WindowsInformationProtectionPolicy withMinutesOfInactivityBeforeDeviceLock(Integer minutesOfInactivityBeforeDeviceLock)
Returns an immutable copy ofthiswith just theminutesOfInactivityBeforeDeviceLockfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“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:
minutesOfInactivityBeforeDeviceLock- new value ofminutesOfInactivityBeforeDeviceLockfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theminutesOfInactivityBeforeDeviceLockfield changed
-
getNumberOfPastPinsRemembered
public Optional<Integer> getNumberOfPastPinsRemembered()
“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:
- property numberOfPastPinsRemembered
-
withNumberOfPastPinsRemembered
public WindowsInformationProtectionPolicy withNumberOfPastPinsRemembered(Integer numberOfPastPinsRemembered)
Returns an immutable copy ofthiswith just thenumberOfPastPinsRememberedfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“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:
numberOfPastPinsRemembered- new value ofnumberOfPastPinsRememberedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenumberOfPastPinsRememberedfield changed
-
getPasswordMaximumAttemptCount
public Optional<Integer> getPasswordMaximumAttemptCount()
“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:
- property passwordMaximumAttemptCount
-
withPasswordMaximumAttemptCount
public WindowsInformationProtectionPolicy withPasswordMaximumAttemptCount(Integer passwordMaximumAttemptCount)
Returns an immutable copy ofthiswith just thepasswordMaximumAttemptCountfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“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:
passwordMaximumAttemptCount- new value ofpasswordMaximumAttemptCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordMaximumAttemptCountfield changed
-
getPinExpirationDays
public Optional<Integer> getPinExpirationDays()
“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:
- property pinExpirationDays
-
withPinExpirationDays
public WindowsInformationProtectionPolicy withPinExpirationDays(Integer pinExpirationDays)
Returns an immutable copy ofthiswith just thepinExpirationDaysfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“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:
pinExpirationDays- new value ofpinExpirationDaysfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepinExpirationDaysfield changed
-
getPinLowercaseLetters
public Optional<WindowsInformationProtectionPinCharacterRequirements> getPinLowercaseLetters()
“Integer value that configures the use of lowercase letters in the Windows Hello for Business PIN. Default is NotAllow.”- Returns:
- property pinLowercaseLetters
-
withPinLowercaseLetters
public WindowsInformationProtectionPolicy withPinLowercaseLetters(WindowsInformationProtectionPinCharacterRequirements pinLowercaseLetters)
Returns an immutable copy ofthiswith just thepinLowercaseLettersfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Integer value that configures the use of lowercase letters in the Windows Hello for Business PIN. Default is NotAllow.”
- Parameters:
pinLowercaseLetters- new value ofpinLowercaseLettersfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepinLowercaseLettersfield changed
-
getPinMinimumLength
public Optional<Integer> getPinMinimumLength()
“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:
- property pinMinimumLength
-
withPinMinimumLength
public WindowsInformationProtectionPolicy withPinMinimumLength(Integer pinMinimumLength)
Returns an immutable copy ofthiswith just thepinMinimumLengthfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“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:
pinMinimumLength- new value ofpinMinimumLengthfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepinMinimumLengthfield changed
-
getPinSpecialCharacters
public Optional<WindowsInformationProtectionPinCharacterRequirements> getPinSpecialCharacters()
“Integer value that configures the use of special characters in the Windows Hello for Business PIN. Valid special characters for Windows Hello for Business PIN gestures include: ! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~. Default is NotAllow.”- Returns:
- property pinSpecialCharacters
-
withPinSpecialCharacters
public WindowsInformationProtectionPolicy withPinSpecialCharacters(WindowsInformationProtectionPinCharacterRequirements pinSpecialCharacters)
Returns an immutable copy ofthiswith just thepinSpecialCharactersfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Integer value that configures the use of special characters in the Windows Hello for Business PIN. Valid special characters for Windows Hello for Business PIN gestures include: ! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~. Default is NotAllow.”
- Parameters:
pinSpecialCharacters- new value ofpinSpecialCharactersfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepinSpecialCharactersfield changed
-
getPinUppercaseLetters
public Optional<WindowsInformationProtectionPinCharacterRequirements> getPinUppercaseLetters()
“Integer value that configures the use of uppercase letters in the Windows Hello for Business PIN. Default is NotAllow.”- Returns:
- property pinUppercaseLetters
-
withPinUppercaseLetters
public WindowsInformationProtectionPolicy withPinUppercaseLetters(WindowsInformationProtectionPinCharacterRequirements pinUppercaseLetters)
Returns an immutable copy ofthiswith just thepinUppercaseLettersfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Integer value that configures the use of uppercase letters in the Windows Hello for Business PIN. Default is NotAllow.”
- Parameters:
pinUppercaseLetters- new value ofpinUppercaseLettersfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepinUppercaseLettersfield changed
-
getRevokeOnMdmHandoffDisabled
public Optional<Boolean> getRevokeOnMdmHandoffDisabled()
“New property in RS2, pending documentation”- Returns:
- property revokeOnMdmHandoffDisabled
-
withRevokeOnMdmHandoffDisabled
public WindowsInformationProtectionPolicy withRevokeOnMdmHandoffDisabled(Boolean revokeOnMdmHandoffDisabled)
Returns an immutable copy ofthiswith just therevokeOnMdmHandoffDisabledfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“New property in RS2, pending documentation”
- Parameters:
revokeOnMdmHandoffDisabled- new value ofrevokeOnMdmHandoffDisabledfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just therevokeOnMdmHandoffDisabledfield changed
-
getWindowsHelloForBusinessBlocked
public Optional<Boolean> getWindowsHelloForBusinessBlocked()
“Boolean value that sets Windows Hello for Business as a method for signing into Windows.”- Returns:
- property windowsHelloForBusinessBlocked
-
withWindowsHelloForBusinessBlocked
public WindowsInformationProtectionPolicy withWindowsHelloForBusinessBlocked(Boolean windowsHelloForBusinessBlocked)
Returns an immutable copy ofthiswith just thewindowsHelloForBusinessBlockedfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Boolean value that sets Windows Hello for Business as a method for signing into Windows.”
- Parameters:
windowsHelloForBusinessBlocked- new value ofwindowsHelloForBusinessBlockedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thewindowsHelloForBusinessBlockedfield changed
-
withUnmappedField
public WindowsInformationProtectionPolicy withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classWindowsInformationProtection
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classWindowsInformationProtection
-
patch
public WindowsInformationProtectionPolicy patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classWindowsInformationProtection- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public WindowsInformationProtectionPolicy put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classWindowsInformationProtection- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classWindowsInformationProtection
-
-