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

        protected Integer minimumPinLength
      • prebootRecoveryEnableMessageAndUrl

        protected Boolean prebootRecoveryEnableMessageAndUrl
      • prebootRecoveryMessage

        protected String prebootRecoveryMessage
      • prebootRecoveryUrl

        protected String prebootRecoveryUrl
      • startupAuthenticationBlockWithoutTpmChip

        protected Boolean startupAuthenticationBlockWithoutTpmChip
      • startupAuthenticationRequired

        protected Boolean startupAuthenticationRequired
      • startupAuthenticationTpmKeyUsage

        protected ConfigurationUsage startupAuthenticationTpmKeyUsage
      • startupAuthenticationTpmPinAndKeyUsage

        protected ConfigurationUsage startupAuthenticationTpmPinAndKeyUsage
      • startupAuthenticationTpmPinUsage

        protected ConfigurationUsage startupAuthenticationTpmPinUsage
      • startupAuthenticationTpmUsage

        protected ConfigurationUsage startupAuthenticationTpmUsage
    • Constructor Detail

      • BitLockerSystemDrivePolicy

        protected BitLockerSystemDrivePolicy()
    • 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 operating system drives.”
        Returns:
        property encryptionMethod
      • withEncryptionMethod

        public BitLockerSystemDrivePolicy 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 operating system drives.”

        Parameters:
        encryptionMethod - new value of encryptionMethod field (as defined in service metadata)
        Returns:
        immutable copy of this with just the encryptionMethod field 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 of this with just the minimumPinLength 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 the minimum length of startup pin. Valid values 4 to 20”

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

        “Enable pre-boot recovery message and Url. If requireStartupAuthentication is false, this value does not affect.”

        Parameters:
        prebootRecoveryEnableMessageAndUrl - new value of prebootRecoveryEnableMessageAndUrl field (as defined in service metadata)
        Returns:
        immutable copy of this with just the prebootRecoveryEnableMessageAndUrl field changed
      • getPrebootRecoveryMessage

        public Optional<String> getPrebootRecoveryMessage()
        “Defines a custom recovery message.”
        Returns:
        property prebootRecoveryMessage
      • withPrebootRecoveryMessage

        public BitLockerSystemDrivePolicy withPrebootRecoveryMessage​(String prebootRecoveryMessage)
        Returns an immutable copy of this with just the prebootRecoveryMessage 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.

        “Defines a custom recovery message.”

        Parameters:
        prebootRecoveryMessage - new value of prebootRecoveryMessage field (as defined in service metadata)
        Returns:
        immutable copy of this with just the prebootRecoveryMessage field changed
      • getPrebootRecoveryUrl

        public Optional<String> getPrebootRecoveryUrl()
        “Defines a custom recovery URL.”
        Returns:
        property prebootRecoveryUrl
      • withPrebootRecoveryUrl

        public BitLockerSystemDrivePolicy withPrebootRecoveryUrl​(String prebootRecoveryUrl)
        Returns an immutable copy of this with just the prebootRecoveryUrl 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.

        “Defines a custom recovery URL.”

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

        “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 of recoveryOptions field (as defined in service metadata)
        Returns:
        immutable copy of this with just the recoveryOptions field 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 of this with just the startupAuthenticationBlockWithoutTpmChip 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 allow BitLocker without a compatible TPM (requires a password or a startup key on a USB flash drive).”

        Parameters:
        startupAuthenticationBlockWithoutTpmChip - new value of startupAuthenticationBlockWithoutTpmChip field (as defined in service metadata)
        Returns:
        immutable copy of this with just the startupAuthenticationBlockWithoutTpmChip field changed
      • getStartupAuthenticationRequired

        public Optional<Boolean> getStartupAuthenticationRequired()
        “Require additional authentication at startup.”
        Returns:
        property startupAuthenticationRequired
      • withStartupAuthenticationRequired

        public BitLockerSystemDrivePolicy withStartupAuthenticationRequired​(Boolean startupAuthenticationRequired)
        Returns an immutable copy of this with just the startupAuthenticationRequired 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.

        “Require additional authentication at startup.”

        Parameters:
        startupAuthenticationRequired - new value of startupAuthenticationRequired field (as defined in service metadata)
        Returns:
        immutable copy of this with just the startupAuthenticationRequired field 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 of this with just the startupAuthenticationTpmKeyUsage 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 if TPM startup key is allowed/required/disallowed.”

        Parameters:
        startupAuthenticationTpmKeyUsage - new value of startupAuthenticationTpmKeyUsage field (as defined in service metadata)
        Returns:
        immutable copy of this with just the startupAuthenticationTpmKeyUsage field 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 of this with just the startupAuthenticationTpmPinAndKeyUsage 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 if TPM startup pin key and key are allowed/required/disallowed.”

        Parameters:
        startupAuthenticationTpmPinAndKeyUsage - new value of startupAuthenticationTpmPinAndKeyUsage field (as defined in service metadata)
        Returns:
        immutable copy of this with just the startupAuthenticationTpmPinAndKeyUsage field 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 of this with just the startupAuthenticationTpmPinUsage 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 if TPM startup pin is allowed/required/disallowed.”

        Parameters:
        startupAuthenticationTpmPinUsage - new value of startupAuthenticationTpmPinUsage field (as defined in service metadata)
        Returns:
        immutable copy of this with just the startupAuthenticationTpmPinUsage field 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 of this with just the startupAuthenticationTpmUsage 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 if TPM startup is allowed/required/disallowed.”

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