Class BitLockerFixedDrivePolicy
- java.lang.Object
-
- odata.msgraph.client.beta.complex.BitLockerFixedDrivePolicy
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class BitLockerFixedDrivePolicy extends Object implements com.github.davidmoten.odata.client.ODataType
“BitLocker Fixed Drive Policies.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBitLockerFixedDrivePolicy.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected BitLockerEncryptionMethodencryptionMethodprotected StringodataTypeprotected BitLockerRecoveryOptionsrecoveryOptionsprotected BooleanrequireEncryptionForWriteAccessprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedBitLockerFixedDrivePolicy()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BitLockerFixedDrivePolicy.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 fixed drives.”Optional<BitLockerRecoveryOptions>getRecoveryOptions()“This policy setting allows you to control how BitLocker-protected fixed data drives are recovered in the absence of the required credentials.Optional<Boolean>getRequireEncryptionForWriteAccess()“This policy setting determines whether BitLocker protection is required for fixed data drives to be writable on a computer.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()BitLockerFixedDrivePolicywithEncryptionMethod(BitLockerEncryptionMethod encryptionMethod)Returns an immutable copy ofthiswith just theencryptionMethodfield changed.BitLockerFixedDrivePolicywithRecoveryOptions(BitLockerRecoveryOptions recoveryOptions)Returns an immutable copy ofthiswith just therecoveryOptionsfield changed.BitLockerFixedDrivePolicywithRequireEncryptionForWriteAccess(Boolean requireEncryptionForWriteAccess)Returns an immutable copy ofthiswith just therequireEncryptionForWriteAccessfield changed.BitLockerFixedDrivePolicywithUnmappedField(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
-
recoveryOptions
protected BitLockerRecoveryOptions recoveryOptions
-
requireEncryptionForWriteAccess
protected Boolean requireEncryptionForWriteAccess
-
-
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 fixed drives.”- Returns:
- property encryptionMethod
-
withEncryptionMethod
public BitLockerFixedDrivePolicy 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 fixed drives.”
- Parameters:
encryptionMethod- new value ofencryptionMethodfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theencryptionMethodfield changed
-
getRecoveryOptions
public Optional<BitLockerRecoveryOptions> getRecoveryOptions()
“This policy setting allows you to control how BitLocker-protected fixed data drives are recovered in the absence of the required credentials. This policy setting is applied when you turn on BitLocker.”- Returns:
- property recoveryOptions
-
withRecoveryOptions
public BitLockerFixedDrivePolicy 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.“This policy setting allows you to control how BitLocker-protected fixed data drives are recovered in the absence of the required credentials. 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
-
getRequireEncryptionForWriteAccess
public Optional<Boolean> getRequireEncryptionForWriteAccess()
“This policy setting determines whether BitLocker protection is required for fixed data drives to be writable on a computer.”- Returns:
- property requireEncryptionForWriteAccess
-
withRequireEncryptionForWriteAccess
public BitLockerFixedDrivePolicy withRequireEncryptionForWriteAccess(Boolean requireEncryptionForWriteAccess)
Returns an immutable copy ofthiswith just therequireEncryptionForWriteAccessfield 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.“This policy setting determines whether BitLocker protection is required for fixed data drives to be writable on a computer.”
- Parameters:
requireEncryptionForWriteAccess- new value ofrequireEncryptionForWriteAccessfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just therequireEncryptionForWriteAccessfield changed
-
withUnmappedField
public BitLockerFixedDrivePolicy 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 BitLockerFixedDrivePolicy.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
-
-