Package odata.msgraph.client.complex
Class BitLockerRemovableDrivePolicy
- java.lang.Object
-
- odata.msgraph.client.complex.BitLockerRemovableDrivePolicy
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class BitLockerRemovableDrivePolicy extends Object implements com.github.davidmoten.odata.client.ODataType
“BitLocker Removable Drive Policies.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBitLockerRemovableDrivePolicy.Builder
-
Field Summary
Fields Modifier and Type Field Description protected BooleanblockCrossOrganizationWriteAccessprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected BitLockerEncryptionMethodencryptionMethodprotected StringodataTypeprotected BooleanrequireEncryptionForWriteAccessprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedBitLockerRemovableDrivePolicy()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BitLockerRemovableDrivePolicy.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Boolean>getBlockCrossOrganizationWriteAccess()“This policy setting determines whether BitLocker protection is required for removable data drives to be writable on a computer.”Optional<BitLockerEncryptionMethod>getEncryptionMethod()“Select the encryption method for removable drives.”Optional<Boolean>getRequireEncryptionForWriteAccess()“Indicates whether to block write access to devices configured in another organization.com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()BitLockerRemovableDrivePolicywithBlockCrossOrganizationWriteAccess(Boolean blockCrossOrganizationWriteAccess)Returns an immutable copy ofthiswith just theblockCrossOrganizationWriteAccessfield changed.BitLockerRemovableDrivePolicywithEncryptionMethod(BitLockerEncryptionMethod encryptionMethod)Returns an immutable copy ofthiswith just theencryptionMethodfield changed.BitLockerRemovableDrivePolicywithRequireEncryptionForWriteAccess(Boolean requireEncryptionForWriteAccess)Returns an immutable copy ofthiswith just therequireEncryptionForWriteAccessfield changed.BitLockerRemovableDrivePolicywithUnmappedField(String name, Object 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
-
blockCrossOrganizationWriteAccess
protected Boolean blockCrossOrganizationWriteAccess
-
encryptionMethod
protected BitLockerEncryptionMethod encryptionMethod
-
requireEncryptionForWriteAccess
protected Boolean requireEncryptionForWriteAccess
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getBlockCrossOrganizationWriteAccess
public Optional<Boolean> getBlockCrossOrganizationWriteAccess()
“This policy setting determines whether BitLocker protection is required for removable data drives to be writable on a computer.”- Returns:
- property blockCrossOrganizationWriteAccess
-
withBlockCrossOrganizationWriteAccess
public BitLockerRemovableDrivePolicy withBlockCrossOrganizationWriteAccess(Boolean blockCrossOrganizationWriteAccess)
Returns an immutable copy ofthiswith just theblockCrossOrganizationWriteAccessfield 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 removable data drives to be writable on a computer.”
- Parameters:
blockCrossOrganizationWriteAccess- new value ofblockCrossOrganizationWriteAccessfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theblockCrossOrganizationWriteAccessfield changed
-
getEncryptionMethod
public Optional<BitLockerEncryptionMethod> getEncryptionMethod()
“Select the encryption method for removable drives.”- Returns:
- property encryptionMethod
-
withEncryptionMethod
public BitLockerRemovableDrivePolicy 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 removable drives.”
- Parameters:
encryptionMethod- new value ofencryptionMethodfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theencryptionMethodfield changed
-
getRequireEncryptionForWriteAccess
public Optional<Boolean> getRequireEncryptionForWriteAccess()
“Indicates whether to block write access to devices configured in another organization. If requireEncryptionForWriteAccess is false, this value does not affect.”- Returns:
- property requireEncryptionForWriteAccess
-
withRequireEncryptionForWriteAccess
public BitLockerRemovableDrivePolicy 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.“Indicates whether to block write access to devices configured in another organization. If requireEncryptionForWriteAccess is false, this value does not affect.”
- Parameters:
requireEncryptionForWriteAccess- new value ofrequireEncryptionForWriteAccessfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just therequireEncryptionForWriteAccessfield changed
-
withUnmappedField
public BitLockerRemovableDrivePolicy withUnmappedField(String name, Object 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 BitLockerRemovableDrivePolicy.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
-
-