Class DeviceEnrollmentWindowsHelloForBusinessConfiguration
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.DeviceEnrollmentConfiguration
-
- odata.msgraph.client.entity.DeviceEnrollmentWindowsHelloForBusinessConfiguration
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class DeviceEnrollmentWindowsHelloForBusinessConfiguration extends DeviceEnrollmentConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
“Windows Hello for Business settings lets users access their devices using a gesture, such as biometric authentication, or a PIN. Configure settings for enrolled Windows 10, Windows 10 Mobile and later.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceEnrollmentWindowsHelloForBusinessConfiguration.Builder
-
Field Summary
Fields Modifier and Type Field Description protected EnablementenhancedBiometricsStateprotected IntegerpinExpirationInDaysprotected WindowsHelloForBusinessPinUsagepinLowercaseCharactersUsageprotected IntegerpinMaximumLengthprotected IntegerpinMinimumLengthprotected IntegerpinPreviousBlockCountprotected WindowsHelloForBusinessPinUsagepinSpecialCharactersUsageprotected WindowsHelloForBusinessPinUsagepinUppercaseCharactersUsageprotected BooleanremotePassportEnabledprotected BooleansecurityDeviceRequiredprotected Enablementstateprotected BooleanunlockWithBiometricsEnabled-
Fields inherited from class odata.msgraph.client.entity.DeviceEnrollmentConfiguration
assignments, createdDateTime, description, displayName, lastModifiedDateTime, priority, version
-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceEnrollmentWindowsHelloForBusinessConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceEnrollmentWindowsHelloForBusinessConfiguration.BuilderbuilderDeviceEnrollmentWindowsHelloForBusinessConfiguration()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<Enablement>getEnhancedBiometricsState()“Controls the ability to use the anti-spoofing features for facial recognition on devices which support it.Optional<Integer>getPinExpirationInDays()“Controls the period of time (in days) that a PIN can be used before the system requires the user to change it.Optional<WindowsHelloForBusinessPinUsage>getPinLowercaseCharactersUsage()“Controls the ability to use lowercase letters in the Windows Hello for Business PIN.Optional<Integer>getPinMaximumLength()“Controls the maximum number of characters allowed for the Windows Hello for Business PIN.Optional<Integer>getPinMinimumLength()“Controls the minimum number of characters required for the Windows Hello for Business PIN.Optional<Integer>getPinPreviousBlockCount()“Controls the ability to prevent users from using past PINs.Optional<WindowsHelloForBusinessPinUsage>getPinSpecialCharactersUsage()“Controls the ability to use special characters in the Windows Hello for Business PIN.Optional<WindowsHelloForBusinessPinUsage>getPinUppercaseCharactersUsage()“Controls the ability to use uppercase letters in the Windows Hello for Business PIN.Optional<Boolean>getRemotePassportEnabled()“Controls the use of Remote Windows Hello for Business.Optional<Boolean>getSecurityDeviceRequired()“Controls whether to require a Trusted Platform Module (TPM) for provisioning Windows Hello for Business.Optional<Enablement>getState()“Controls whether to allow the device to be configured for Windows Hello for Business.Optional<Boolean>getUnlockWithBiometricsEnabled()“Controls the use of biometric gestures, such as face and fingerprint, as an alternative to the Windows Hello for Business PIN.com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()DeviceEnrollmentWindowsHelloForBusinessConfigurationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)DeviceEnrollmentWindowsHelloForBusinessConfigurationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()DeviceEnrollmentWindowsHelloForBusinessConfigurationwithEnhancedBiometricsState(Enablement enhancedBiometricsState)Returns an immutable copy ofthiswith just theenhancedBiometricsStatefield changed.DeviceEnrollmentWindowsHelloForBusinessConfigurationwithPinExpirationInDays(Integer pinExpirationInDays)Returns an immutable copy ofthiswith just thepinExpirationInDaysfield changed.DeviceEnrollmentWindowsHelloForBusinessConfigurationwithPinLowercaseCharactersUsage(WindowsHelloForBusinessPinUsage pinLowercaseCharactersUsage)Returns an immutable copy ofthiswith just thepinLowercaseCharactersUsagefield changed.DeviceEnrollmentWindowsHelloForBusinessConfigurationwithPinMaximumLength(Integer pinMaximumLength)Returns an immutable copy ofthiswith just thepinMaximumLengthfield changed.DeviceEnrollmentWindowsHelloForBusinessConfigurationwithPinMinimumLength(Integer pinMinimumLength)Returns an immutable copy ofthiswith just thepinMinimumLengthfield changed.DeviceEnrollmentWindowsHelloForBusinessConfigurationwithPinPreviousBlockCount(Integer pinPreviousBlockCount)Returns an immutable copy ofthiswith just thepinPreviousBlockCountfield changed.DeviceEnrollmentWindowsHelloForBusinessConfigurationwithPinSpecialCharactersUsage(WindowsHelloForBusinessPinUsage pinSpecialCharactersUsage)Returns an immutable copy ofthiswith just thepinSpecialCharactersUsagefield changed.DeviceEnrollmentWindowsHelloForBusinessConfigurationwithPinUppercaseCharactersUsage(WindowsHelloForBusinessPinUsage pinUppercaseCharactersUsage)Returns an immutable copy ofthiswith just thepinUppercaseCharactersUsagefield changed.DeviceEnrollmentWindowsHelloForBusinessConfigurationwithRemotePassportEnabled(Boolean remotePassportEnabled)Returns an immutable copy ofthiswith just theremotePassportEnabledfield changed.DeviceEnrollmentWindowsHelloForBusinessConfigurationwithSecurityDeviceRequired(Boolean securityDeviceRequired)Returns an immutable copy ofthiswith just thesecurityDeviceRequiredfield changed.DeviceEnrollmentWindowsHelloForBusinessConfigurationwithState(Enablement state)Returns an immutable copy ofthiswith just thestatefield changed.DeviceEnrollmentWindowsHelloForBusinessConfigurationwithUnlockWithBiometricsEnabled(Boolean unlockWithBiometricsEnabled)Returns an immutable copy ofthiswith just theunlockWithBiometricsEnabledfield changed.DeviceEnrollmentWindowsHelloForBusinessConfigurationwithUnmappedField(String name, Object value)-
Methods inherited from class odata.msgraph.client.entity.DeviceEnrollmentConfiguration
assign, getAssignments, getCreatedDateTime, getDescription, getDisplayName, getLastModifiedDateTime, getPriority, getVersion, setPriority, withAssignments, withCreatedDateTime, withDescription, withDisplayName, withLastModifiedDateTime, withPriority, withVersion
-
-
-
-
Field Detail
-
enhancedBiometricsState
protected Enablement enhancedBiometricsState
-
pinExpirationInDays
protected Integer pinExpirationInDays
-
pinLowercaseCharactersUsage
protected WindowsHelloForBusinessPinUsage pinLowercaseCharactersUsage
-
pinMaximumLength
protected Integer pinMaximumLength
-
pinMinimumLength
protected Integer pinMinimumLength
-
pinPreviousBlockCount
protected Integer pinPreviousBlockCount
-
pinSpecialCharactersUsage
protected WindowsHelloForBusinessPinUsage pinSpecialCharactersUsage
-
pinUppercaseCharactersUsage
protected WindowsHelloForBusinessPinUsage pinUppercaseCharactersUsage
-
remotePassportEnabled
protected Boolean remotePassportEnabled
-
securityDeviceRequired
protected Boolean securityDeviceRequired
-
state
protected Enablement state
-
unlockWithBiometricsEnabled
protected Boolean unlockWithBiometricsEnabled
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceEnrollmentConfiguration
-
builderDeviceEnrollmentWindowsHelloForBusinessConfiguration
public static DeviceEnrollmentWindowsHelloForBusinessConfiguration.Builder builderDeviceEnrollmentWindowsHelloForBusinessConfiguration()
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 classDeviceEnrollmentConfiguration
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDeviceEnrollmentConfiguration
-
getEnhancedBiometricsState
public Optional<Enablement> getEnhancedBiometricsState()
“Controls the ability to use the anti-spoofing features for facial recognition on devices which support it. If set to disabled, anti-spoofing features are not allowed. If set to Not Configured, the user can choose whether they want to use anti-spoofing.”- Returns:
- property enhancedBiometricsState
-
withEnhancedBiometricsState
public DeviceEnrollmentWindowsHelloForBusinessConfiguration withEnhancedBiometricsState(Enablement enhancedBiometricsState)
Returns an immutable copy ofthiswith just theenhancedBiometricsStatefield 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.“Controls the ability to use the anti-spoofing features for facial recognition on devices which support it. If set to disabled, anti-spoofing features are not allowed. If set to Not Configured, the user can choose whether they want to use anti-spoofing.”
- Parameters:
enhancedBiometricsState- new value ofenhancedBiometricsStatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theenhancedBiometricsStatefield changed
-
getPinExpirationInDays
public Optional<Integer> getPinExpirationInDays()
“Controls the period of time (in days) that a PIN can be used before the system requires the user to change it. This must be set between 0 and 730, inclusive. If set to 0, the user's PIN will never expire”- Returns:
- property pinExpirationInDays
-
withPinExpirationInDays
public DeviceEnrollmentWindowsHelloForBusinessConfiguration withPinExpirationInDays(Integer pinExpirationInDays)
Returns an immutable copy ofthiswith just thepinExpirationInDaysfield 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.“Controls the period of time (in days) that a PIN can be used before the system requires the user to change it. This must be set between 0 and 730, inclusive. If set to 0, the user's PIN will never expire”
- Parameters:
pinExpirationInDays- new value ofpinExpirationInDaysfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepinExpirationInDaysfield changed
-
getPinLowercaseCharactersUsage
public Optional<WindowsHelloForBusinessPinUsage> getPinLowercaseCharactersUsage()
“Controls the ability to use lowercase letters in the Windows Hello for Business PIN. Allowed permits the use of lowercase letter(s), whereas Required ensures they are present. If set to Not Allowed, lowercase letters will not be permitted .”- Returns:
- property pinLowercaseCharactersUsage
-
withPinLowercaseCharactersUsage
public DeviceEnrollmentWindowsHelloForBusinessConfiguration withPinLowercaseCharactersUsage(WindowsHelloForBusinessPinUsage pinLowercaseCharactersUsage)
Returns an immutable copy ofthiswith just thepinLowercaseCharactersUsagefield 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.“Controls the ability to use lowercase letters in the Windows Hello for Business PIN. Allowed permits the use of lowercase letter(s), whereas Required ensures they are present. If set to Not Allowed, lowercase letters will not be permitted .”
- Parameters:
pinLowercaseCharactersUsage- new value ofpinLowercaseCharactersUsagefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepinLowercaseCharactersUsagefield changed
-
getPinMaximumLength
public Optional<Integer> getPinMaximumLength()
“Controls the maximum number of characters allowed for the Windows Hello for Business PIN. This value must be between 4 and 127, inclusive. This value must be greater than or equal to the value set for the minimum PIN.”- Returns:
- property pinMaximumLength
-
withPinMaximumLength
public DeviceEnrollmentWindowsHelloForBusinessConfiguration withPinMaximumLength(Integer pinMaximumLength)
Returns an immutable copy ofthiswith just thepinMaximumLengthfield 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.“Controls the maximum number of characters allowed for the Windows Hello for Business PIN. This value must be between 4 and 127, inclusive. This value must be greater than or equal to the value set for the minimum PIN.”
- Parameters:
pinMaximumLength- new value ofpinMaximumLengthfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepinMaximumLengthfield changed
-
getPinMinimumLength
public Optional<Integer> getPinMinimumLength()
“Controls the minimum number of characters required for the Windows Hello for Business PIN. This value must be between 4 and 127, inclusive, and less than or equal to the value set for the maximum PIN.”- Returns:
- property pinMinimumLength
-
withPinMinimumLength
public DeviceEnrollmentWindowsHelloForBusinessConfiguration 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.“Controls the minimum number of characters required for the Windows Hello for Business PIN. This value must be between 4 and 127, inclusive, and less than or equal to the value set for the maximum PIN.”
- Parameters:
pinMinimumLength- new value ofpinMinimumLengthfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepinMinimumLengthfield changed
-
getPinPreviousBlockCount
public Optional<Integer> getPinPreviousBlockCount()
“Controls the ability to prevent users from using past PINs. This must be set between 0 and 50, inclusive, and the current PIN of the user is included in that count. If set to 0, previous PINs are not stored. PIN history is not preserved through a PIN reset.”- Returns:
- property pinPreviousBlockCount
-
withPinPreviousBlockCount
public DeviceEnrollmentWindowsHelloForBusinessConfiguration withPinPreviousBlockCount(Integer pinPreviousBlockCount)
Returns an immutable copy ofthiswith just thepinPreviousBlockCountfield 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.“Controls the ability to prevent users from using past PINs. This must be set between 0 and 50, inclusive, and the current PIN of the user is included in that count. If set to 0, previous PINs are not stored. PIN history is not preserved through a PIN reset.”
- Parameters:
pinPreviousBlockCount- new value ofpinPreviousBlockCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepinPreviousBlockCountfield changed
-
getPinSpecialCharactersUsage
public Optional<WindowsHelloForBusinessPinUsage> getPinSpecialCharactersUsage()
“Controls the ability to use special characters in the Windows Hello for Business PIN. Allowed permits the use of special character(s), whereas Required ensures they are present. If set to Not Allowed, special character(s) will not be permitted.”- Returns:
- property pinSpecialCharactersUsage
-
withPinSpecialCharactersUsage
public DeviceEnrollmentWindowsHelloForBusinessConfiguration withPinSpecialCharactersUsage(WindowsHelloForBusinessPinUsage pinSpecialCharactersUsage)
Returns an immutable copy ofthiswith just thepinSpecialCharactersUsagefield 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.“Controls the ability to use special characters in the Windows Hello for Business PIN. Allowed permits the use of special character(s), whereas Required ensures they are present. If set to Not Allowed, special character(s) will not be permitted.”
- Parameters:
pinSpecialCharactersUsage- new value ofpinSpecialCharactersUsagefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepinSpecialCharactersUsagefield changed
-
getPinUppercaseCharactersUsage
public Optional<WindowsHelloForBusinessPinUsage> getPinUppercaseCharactersUsage()
“Controls the ability to use uppercase letters in the Windows Hello for Business PIN. Allowed permits the use of uppercase letter(s), whereas Required ensures they are present. If set to Not Allowed, uppercase letters will not be permitted .”- Returns:
- property pinUppercaseCharactersUsage
-
withPinUppercaseCharactersUsage
public DeviceEnrollmentWindowsHelloForBusinessConfiguration withPinUppercaseCharactersUsage(WindowsHelloForBusinessPinUsage pinUppercaseCharactersUsage)
Returns an immutable copy ofthiswith just thepinUppercaseCharactersUsagefield 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.“Controls the ability to use uppercase letters in the Windows Hello for Business PIN. Allowed permits the use of uppercase letter(s), whereas Required ensures they are present. If set to Not Allowed, uppercase letters will not be permitted .”
- Parameters:
pinUppercaseCharactersUsage- new value ofpinUppercaseCharactersUsagefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepinUppercaseCharactersUsagefield changed
-
getRemotePassportEnabled
public Optional<Boolean> getRemotePassportEnabled()
“Controls the use of Remote Windows Hello for Business. Remote Windows Hello for Business provides the ability for a portable, registered device to be usable as a companion for desktop authentication. The desktop must be Azure AD joined and the companion device must have a Windows Hello for Business PIN.”- Returns:
- property remotePassportEnabled
-
withRemotePassportEnabled
public DeviceEnrollmentWindowsHelloForBusinessConfiguration withRemotePassportEnabled(Boolean remotePassportEnabled)
Returns an immutable copy ofthiswith just theremotePassportEnabledfield 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.“Controls the use of Remote Windows Hello for Business. Remote Windows Hello for Business provides the ability for a portable, registered device to be usable as a companion for desktop authentication. The desktop must be Azure AD joined and the companion device must have a Windows Hello for Business PIN.”
- Parameters:
remotePassportEnabled- new value ofremotePassportEnabledfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theremotePassportEnabledfield changed
-
getSecurityDeviceRequired
public Optional<Boolean> getSecurityDeviceRequired()
“Controls whether to require a Trusted Platform Module (TPM) for provisioning Windows Hello for Business. A TPM provides an additional security benefit in that data stored on it cannot be used on other devices. If set to False, all devices can provision Windows Hello for Business even if there is not a usable TPM.”- Returns:
- property securityDeviceRequired
-
withSecurityDeviceRequired
public DeviceEnrollmentWindowsHelloForBusinessConfiguration withSecurityDeviceRequired(Boolean securityDeviceRequired)
Returns an immutable copy ofthiswith just thesecurityDeviceRequiredfield 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.“Controls whether to require a Trusted Platform Module (TPM) for provisioning Windows Hello for Business. A TPM provides an additional security benefit in that data stored on it cannot be used on other devices. If set to False, all devices can provision Windows Hello for Business even if there is not a usable TPM.”
- Parameters:
securityDeviceRequired- new value ofsecurityDeviceRequiredfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesecurityDeviceRequiredfield changed
-
getState
public Optional<Enablement> getState()
“Controls whether to allow the device to be configured for Windows Hello for Business. If set to disabled, the user cannot provision Windows Hello for Business except on Azure Active Directory joined mobile phones if otherwise required. If set to Not Configured, Intune will not override client defaults.”- Returns:
- property state
-
withState
public DeviceEnrollmentWindowsHelloForBusinessConfiguration withState(Enablement state)
Returns an immutable copy ofthiswith just thestatefield 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.“Controls whether to allow the device to be configured for Windows Hello for Business. If set to disabled, the user cannot provision Windows Hello for Business except on Azure Active Directory joined mobile phones if otherwise required. If set to Not Configured, Intune will not override client defaults.”
- Parameters:
state- new value ofstatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thestatefield changed
-
getUnlockWithBiometricsEnabled
public Optional<Boolean> getUnlockWithBiometricsEnabled()
“Controls the use of biometric gestures, such as face and fingerprint, as an alternative to the Windows Hello for Business PIN. If set to False, biometric gestures are not allowed. Users must still configure a PIN as a backup in case of failures.”- Returns:
- property unlockWithBiometricsEnabled
-
withUnlockWithBiometricsEnabled
public DeviceEnrollmentWindowsHelloForBusinessConfiguration withUnlockWithBiometricsEnabled(Boolean unlockWithBiometricsEnabled)
Returns an immutable copy ofthiswith just theunlockWithBiometricsEnabledfield 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.“Controls the use of biometric gestures, such as face and fingerprint, as an alternative to the Windows Hello for Business PIN. If set to False, biometric gestures are not allowed. Users must still configure a PIN as a backup in case of failures.”
- Parameters:
unlockWithBiometricsEnabled- new value ofunlockWithBiometricsEnabledfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theunlockWithBiometricsEnabledfield changed
-
withUnmappedField
public DeviceEnrollmentWindowsHelloForBusinessConfiguration withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classDeviceEnrollmentConfiguration
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeviceEnrollmentConfiguration
-
patch
public DeviceEnrollmentWindowsHelloForBusinessConfiguration patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classDeviceEnrollmentConfiguration- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public DeviceEnrollmentWindowsHelloForBusinessConfiguration put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classDeviceEnrollmentConfiguration- 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 classDeviceEnrollmentConfiguration
-
-