Class BitLockerSystemDrivePolicy
- java.lang.Object
-
- odata.msgraph.client.beta.complex.BitLockerSystemDrivePolicy
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class BitLockerSystemDrivePolicy extends Object implements com.github.davidmoten.odata.client.ODataType
“BitLocker Encryption Base Policies.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBitLockerSystemDrivePolicy.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected BitLockerEncryptionMethodencryptionMethodprotected IntegerminimumPinLengthprotected StringodataTypeprotected BooleanprebootRecoveryEnableMessageAndUrlprotected StringprebootRecoveryMessageprotected StringprebootRecoveryUrlprotected BitLockerRecoveryOptionsrecoveryOptionsprotected BooleanstartupAuthenticationBlockWithoutTpmChipprotected BooleanstartupAuthenticationRequiredprotected ConfigurationUsagestartupAuthenticationTpmKeyUsageprotected ConfigurationUsagestartupAuthenticationTpmPinAndKeyUsageprotected ConfigurationUsagestartupAuthenticationTpmPinUsageprotected ConfigurationUsagestartupAuthenticationTpmUsageprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedBitLockerSystemDrivePolicy()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BitLockerSystemDrivePolicy.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<BitLockerEncryptionMethod>getEncryptionMethod()“Select the encryption method for operating system drives.”Optional<Integer>getMinimumPinLength()“Indicates the minimum length of startup pin.Optional<Boolean>getPrebootRecoveryEnableMessageAndUrl()“Enable pre-boot recovery message and Url.Optional<String>getPrebootRecoveryMessage()“Defines a custom recovery message.”Optional<String>getPrebootRecoveryUrl()“Defines a custom recovery URL.”Optional<BitLockerRecoveryOptions>getRecoveryOptions()“Allows to recover BitLocker encrypted operating system drives in the absence of the required startup key information.Optional<Boolean>getStartupAuthenticationBlockWithoutTpmChip()“Indicates whether to allow BitLocker without a compatible TPM (requires a password or a startup key on a USB flash drive).”Optional<Boolean>getStartupAuthenticationRequired()“Require additional authentication at startup.”Optional<ConfigurationUsage>getStartupAuthenticationTpmKeyUsage()“Indicates if TPM startup key is allowed/required/disallowed.”Optional<ConfigurationUsage>getStartupAuthenticationTpmPinAndKeyUsage()“Indicates if TPM startup pin key and key are allowed/required/disallowed.”Optional<ConfigurationUsage>getStartupAuthenticationTpmPinUsage()“Indicates if TPM startup pin is allowed/required/disallowed.”Optional<ConfigurationUsage>getStartupAuthenticationTpmUsage()“Indicates if TPM startup is allowed/required/disallowed.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()BitLockerSystemDrivePolicywithEncryptionMethod(BitLockerEncryptionMethod encryptionMethod)Returns an immutable copy ofthiswith just theencryptionMethodfield changed.BitLockerSystemDrivePolicywithMinimumPinLength(Integer minimumPinLength)Returns an immutable copy ofthiswith just theminimumPinLengthfield changed.BitLockerSystemDrivePolicywithPrebootRecoveryEnableMessageAndUrl(Boolean prebootRecoveryEnableMessageAndUrl)Returns an immutable copy ofthiswith just theprebootRecoveryEnableMessageAndUrlfield changed.BitLockerSystemDrivePolicywithPrebootRecoveryMessage(String prebootRecoveryMessage)Returns an immutable copy ofthiswith just theprebootRecoveryMessagefield changed.BitLockerSystemDrivePolicywithPrebootRecoveryUrl(String prebootRecoveryUrl)Returns an immutable copy ofthiswith just theprebootRecoveryUrlfield changed.BitLockerSystemDrivePolicywithRecoveryOptions(BitLockerRecoveryOptions recoveryOptions)Returns an immutable copy ofthiswith just therecoveryOptionsfield changed.BitLockerSystemDrivePolicywithStartupAuthenticationBlockWithoutTpmChip(Boolean startupAuthenticationBlockWithoutTpmChip)Returns an immutable copy ofthiswith just thestartupAuthenticationBlockWithoutTpmChipfield changed.BitLockerSystemDrivePolicywithStartupAuthenticationRequired(Boolean startupAuthenticationRequired)Returns an immutable copy ofthiswith just thestartupAuthenticationRequiredfield changed.BitLockerSystemDrivePolicywithStartupAuthenticationTpmKeyUsage(ConfigurationUsage startupAuthenticationTpmKeyUsage)Returns an immutable copy ofthiswith just thestartupAuthenticationTpmKeyUsagefield changed.BitLockerSystemDrivePolicywithStartupAuthenticationTpmPinAndKeyUsage(ConfigurationUsage startupAuthenticationTpmPinAndKeyUsage)Returns an immutable copy ofthiswith just thestartupAuthenticationTpmPinAndKeyUsagefield changed.BitLockerSystemDrivePolicywithStartupAuthenticationTpmPinUsage(ConfigurationUsage startupAuthenticationTpmPinUsage)Returns an immutable copy ofthiswith just thestartupAuthenticationTpmPinUsagefield changed.BitLockerSystemDrivePolicywithStartupAuthenticationTpmUsage(ConfigurationUsage startupAuthenticationTpmUsage)Returns an immutable copy ofthiswith just thestartupAuthenticationTpmUsagefield changed.BitLockerSystemDrivePolicywithUnmappedField(String name, String value)
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
encryptionMethod
protected BitLockerEncryptionMethod encryptionMethod
-
minimumPinLength
protected Integer minimumPinLength
-
prebootRecoveryEnableMessageAndUrl
protected Boolean prebootRecoveryEnableMessageAndUrl
-
prebootRecoveryMessage
protected String prebootRecoveryMessage
-
prebootRecoveryUrl
protected String prebootRecoveryUrl
-
recoveryOptions
protected BitLockerRecoveryOptions recoveryOptions
-
startupAuthenticationBlockWithoutTpmChip
protected Boolean startupAuthenticationBlockWithoutTpmChip
-
startupAuthenticationRequired
protected Boolean startupAuthenticationRequired
-
startupAuthenticationTpmKeyUsage
protected ConfigurationUsage startupAuthenticationTpmKeyUsage
-
startupAuthenticationTpmPinAndKeyUsage
protected ConfigurationUsage startupAuthenticationTpmPinAndKeyUsage
-
startupAuthenticationTpmPinUsage
protected ConfigurationUsage startupAuthenticationTpmPinUsage
-
startupAuthenticationTpmUsage
protected ConfigurationUsage startupAuthenticationTpmUsage
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getEncryptionMethod
public Optional<BitLockerEncryptionMethod> getEncryptionMethod()
“Select the encryption method for operating system drives.”- Returns:
- property encryptionMethod
-
withEncryptionMethod
public BitLockerSystemDrivePolicy withEncryptionMethod(BitLockerEncryptionMethod encryptionMethod)
Returns an immutable copy ofthiswith just theencryptionMethodfield 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.“Select the encryption method for operating system drives.”
- Parameters:
encryptionMethod- new value ofencryptionMethodfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theencryptionMethodfield changed
-
getMinimumPinLength
public Optional<Integer> getMinimumPinLength()
“Indicates the minimum length of startup pin. Valid values 4 to 20”- Returns:
- property minimumPinLength
-
withMinimumPinLength
public BitLockerSystemDrivePolicy withMinimumPinLength(Integer minimumPinLength)
Returns an immutable copy ofthiswith just theminimumPinLengthfield 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.“Indicates the minimum length of startup pin. Valid values 4 to 20”
- Parameters:
minimumPinLength- new value ofminimumPinLengthfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theminimumPinLengthfield changed
-
getPrebootRecoveryEnableMessageAndUrl
public Optional<Boolean> getPrebootRecoveryEnableMessageAndUrl()
“Enable pre-boot recovery message and Url. If requireStartupAuthentication is false, this value does not affect.”- Returns:
- property prebootRecoveryEnableMessageAndUrl
-
withPrebootRecoveryEnableMessageAndUrl
public BitLockerSystemDrivePolicy withPrebootRecoveryEnableMessageAndUrl(Boolean prebootRecoveryEnableMessageAndUrl)
Returns an immutable copy ofthiswith just theprebootRecoveryEnableMessageAndUrlfield 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.“Enable pre-boot recovery message and Url. If requireStartupAuthentication is false, this value does not affect.”
- Parameters:
prebootRecoveryEnableMessageAndUrl- new value ofprebootRecoveryEnableMessageAndUrlfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theprebootRecoveryEnableMessageAndUrlfield changed
-
getPrebootRecoveryMessage
public Optional<String> getPrebootRecoveryMessage()
“Defines a custom recovery message.”- Returns:
- property prebootRecoveryMessage
-
withPrebootRecoveryMessage
public BitLockerSystemDrivePolicy withPrebootRecoveryMessage(String prebootRecoveryMessage)
Returns an immutable copy ofthiswith just theprebootRecoveryMessagefield 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.“Defines a custom recovery message.”
- Parameters:
prebootRecoveryMessage- new value ofprebootRecoveryMessagefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theprebootRecoveryMessagefield changed
-
getPrebootRecoveryUrl
public Optional<String> getPrebootRecoveryUrl()
“Defines a custom recovery URL.”- Returns:
- property prebootRecoveryUrl
-
withPrebootRecoveryUrl
public BitLockerSystemDrivePolicy withPrebootRecoveryUrl(String prebootRecoveryUrl)
Returns an immutable copy ofthiswith just theprebootRecoveryUrlfield 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.“Defines a custom recovery URL.”
- Parameters:
prebootRecoveryUrl- new value ofprebootRecoveryUrlfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theprebootRecoveryUrlfield changed
-
getRecoveryOptions
public Optional<BitLockerRecoveryOptions> getRecoveryOptions()
“Allows to recover BitLocker encrypted operating system drives in the absence of the required startup key information. This policy setting is applied when you turn on BitLocker.”- Returns:
- property recoveryOptions
-
withRecoveryOptions
public BitLockerSystemDrivePolicy withRecoveryOptions(BitLockerRecoveryOptions recoveryOptions)
Returns an immutable copy ofthiswith just therecoveryOptionsfield 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.“Allows to recover BitLocker encrypted operating system drives in the absence of the required startup key information. This policy setting is applied when you turn on BitLocker.”
- Parameters:
recoveryOptions- new value ofrecoveryOptionsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just therecoveryOptionsfield changed
-
getStartupAuthenticationBlockWithoutTpmChip
public Optional<Boolean> getStartupAuthenticationBlockWithoutTpmChip()
“Indicates whether to allow BitLocker without a compatible TPM (requires a password or a startup key on a USB flash drive).”- Returns:
- property startupAuthenticationBlockWithoutTpmChip
-
withStartupAuthenticationBlockWithoutTpmChip
public BitLockerSystemDrivePolicy withStartupAuthenticationBlockWithoutTpmChip(Boolean startupAuthenticationBlockWithoutTpmChip)
Returns an immutable copy ofthiswith just thestartupAuthenticationBlockWithoutTpmChipfield 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.“Indicates whether to allow BitLocker without a compatible TPM (requires a password or a startup key on a USB flash drive).”
- Parameters:
startupAuthenticationBlockWithoutTpmChip- new value ofstartupAuthenticationBlockWithoutTpmChipfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thestartupAuthenticationBlockWithoutTpmChipfield changed
-
getStartupAuthenticationRequired
public Optional<Boolean> getStartupAuthenticationRequired()
“Require additional authentication at startup.”- Returns:
- property startupAuthenticationRequired
-
withStartupAuthenticationRequired
public BitLockerSystemDrivePolicy withStartupAuthenticationRequired(Boolean startupAuthenticationRequired)
Returns an immutable copy ofthiswith just thestartupAuthenticationRequiredfield 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.“Require additional authentication at startup.”
- Parameters:
startupAuthenticationRequired- new value ofstartupAuthenticationRequiredfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thestartupAuthenticationRequiredfield changed
-
getStartupAuthenticationTpmKeyUsage
public Optional<ConfigurationUsage> getStartupAuthenticationTpmKeyUsage()
“Indicates if TPM startup key is allowed/required/disallowed.”- Returns:
- property startupAuthenticationTpmKeyUsage
-
withStartupAuthenticationTpmKeyUsage
public BitLockerSystemDrivePolicy withStartupAuthenticationTpmKeyUsage(ConfigurationUsage startupAuthenticationTpmKeyUsage)
Returns an immutable copy ofthiswith just thestartupAuthenticationTpmKeyUsagefield 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.“Indicates if TPM startup key is allowed/required/disallowed.”
- Parameters:
startupAuthenticationTpmKeyUsage- new value ofstartupAuthenticationTpmKeyUsagefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thestartupAuthenticationTpmKeyUsagefield changed
-
getStartupAuthenticationTpmPinAndKeyUsage
public Optional<ConfigurationUsage> getStartupAuthenticationTpmPinAndKeyUsage()
“Indicates if TPM startup pin key and key are allowed/required/disallowed.”- Returns:
- property startupAuthenticationTpmPinAndKeyUsage
-
withStartupAuthenticationTpmPinAndKeyUsage
public BitLockerSystemDrivePolicy withStartupAuthenticationTpmPinAndKeyUsage(ConfigurationUsage startupAuthenticationTpmPinAndKeyUsage)
Returns an immutable copy ofthiswith just thestartupAuthenticationTpmPinAndKeyUsagefield 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.“Indicates if TPM startup pin key and key are allowed/required/disallowed.”
- Parameters:
startupAuthenticationTpmPinAndKeyUsage- new value ofstartupAuthenticationTpmPinAndKeyUsagefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thestartupAuthenticationTpmPinAndKeyUsagefield changed
-
getStartupAuthenticationTpmPinUsage
public Optional<ConfigurationUsage> getStartupAuthenticationTpmPinUsage()
“Indicates if TPM startup pin is allowed/required/disallowed.”- Returns:
- property startupAuthenticationTpmPinUsage
-
withStartupAuthenticationTpmPinUsage
public BitLockerSystemDrivePolicy withStartupAuthenticationTpmPinUsage(ConfigurationUsage startupAuthenticationTpmPinUsage)
Returns an immutable copy ofthiswith just thestartupAuthenticationTpmPinUsagefield 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.“Indicates if TPM startup pin is allowed/required/disallowed.”
- Parameters:
startupAuthenticationTpmPinUsage- new value ofstartupAuthenticationTpmPinUsagefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thestartupAuthenticationTpmPinUsagefield changed
-
getStartupAuthenticationTpmUsage
public Optional<ConfigurationUsage> getStartupAuthenticationTpmUsage()
“Indicates if TPM startup is allowed/required/disallowed.”- Returns:
- property startupAuthenticationTpmUsage
-
withStartupAuthenticationTpmUsage
public BitLockerSystemDrivePolicy withStartupAuthenticationTpmUsage(ConfigurationUsage startupAuthenticationTpmUsage)
Returns an immutable copy ofthiswith just thestartupAuthenticationTpmUsagefield 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.“Indicates if TPM startup is allowed/required/disallowed.”
- Parameters:
startupAuthenticationTpmUsage- new value ofstartupAuthenticationTpmUsagefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thestartupAuthenticationTpmUsagefield changed
-
withUnmappedField
public BitLockerSystemDrivePolicy withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static BitLockerSystemDrivePolicy.Builder builder()
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
-
-