Class 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.”
    • 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
      • requireEncryptionForWriteAccess

        protected Boolean requireEncryptionForWriteAccess
    • Constructor Detail

      • BitLockerFixedDrivePolicy

        protected BitLockerFixedDrivePolicy()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.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 of this with just the encryptionMethod field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. 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 of encryptionMethod field (as defined in service metadata)
        Returns:
        immutable copy of this with just the encryptionMethod field 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 of this with just the recoveryOptions field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. 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 of recoveryOptions field (as defined in service metadata)
        Returns:
        immutable copy of this with just the recoveryOptions field 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 of this with just the requireEncryptionForWriteAccess field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of requireEncryptionForWriteAccess field (as defined in service metadata)
        Returns:
        immutable copy of this with just the requireEncryptionForWriteAccess field changed
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.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