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

        protected Boolean requireEncryptionForWriteAccess
    • Constructor Detail

      • BitLockerRemovableDrivePolicy

        protected BitLockerRemovableDrivePolicy()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.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 of this with just the blockCrossOrganizationWriteAccess 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 removable data drives to be writable on a computer.”

        Parameters:
        blockCrossOrganizationWriteAccess - new value of blockCrossOrganizationWriteAccess field (as defined in service metadata)
        Returns:
        immutable copy of this with just the blockCrossOrganizationWriteAccess field 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 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 removable drives.”

        Parameters:
        encryptionMethod - new value of encryptionMethod field (as defined in service metadata)
        Returns:
        immutable copy of this with just the encryptionMethod field 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 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.

        “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 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 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