Class ManagedDeviceEncryptionState

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataEntityType, com.github.davidmoten.odata.client.ODataType

    public class ManagedDeviceEncryptionState
    extends Entity
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Encryption report per device”
    • Constructor Detail

      • ManagedDeviceEncryptionState

        protected ManagedDeviceEncryptionState()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class Entity
      • builderManagedDeviceEncryptionState

        public static ManagedDeviceEncryptionState.Builder builderManagedDeviceEncryptionState()
        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
      • getChangedFields

        public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
        Specified by:
        getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityType
        Overrides:
        getChangedFields in class Entity
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        postInject in class Entity
      • getAdvancedBitLockerStates

        public Optional<AdvancedBitLockerState> getAdvancedBitLockerStates()
        “Advanced BitLocker State”
        Returns:
        property advancedBitLockerStates
      • withAdvancedBitLockerStates

        public ManagedDeviceEncryptionState withAdvancedBitLockerStates​(AdvancedBitLockerState advancedBitLockerStates)
        Returns an immutable copy of this with just the advancedBitLockerStates 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.

        “Advanced BitLocker State”

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

        public Optional<String> getDeviceName()
        “Device name”
        Returns:
        property deviceName
      • withDeviceName

        public ManagedDeviceEncryptionState withDeviceName​(String deviceName)
        Returns an immutable copy of this with just the deviceName 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.

        “Device name”

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

        public Optional<DeviceTypes> getDeviceType()
        “Platform of the device.”
        Returns:
        property deviceType
      • withDeviceType

        public ManagedDeviceEncryptionState withDeviceType​(DeviceTypes deviceType)
        Returns an immutable copy of this with just the deviceType 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.

        “Platform of the device.”

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

        public Optional<ComplianceStatus> getEncryptionPolicySettingState()
        “Encryption policy setting state”
        Returns:
        property encryptionPolicySettingState
      • withEncryptionPolicySettingState

        public ManagedDeviceEncryptionState withEncryptionPolicySettingState​(ComplianceStatus encryptionPolicySettingState)
        Returns an immutable copy of this with just the encryptionPolicySettingState 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.

        “Encryption policy setting state”

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

        public Optional<EncryptionReadinessState> getEncryptionReadinessState()
        “Encryption readiness state”
        Returns:
        property encryptionReadinessState
      • withEncryptionReadinessState

        public ManagedDeviceEncryptionState withEncryptionReadinessState​(EncryptionReadinessState encryptionReadinessState)
        Returns an immutable copy of this with just the encryptionReadinessState 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.

        “Encryption readiness state”

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

        public Optional<EncryptionState> getEncryptionState()
        “Device encryption state”
        Returns:
        property encryptionState
      • withEncryptionState

        public ManagedDeviceEncryptionState withEncryptionState​(EncryptionState encryptionState)
        Returns an immutable copy of this with just the encryptionState 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.

        “Device encryption state”

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

        public Optional<FileVaultState> getFileVaultStates()
        “FileVault State”
        Returns:
        property fileVaultStates
      • withFileVaultStates

        public ManagedDeviceEncryptionState withFileVaultStates​(FileVaultState fileVaultStates)
        Returns an immutable copy of this with just the fileVaultStates 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.

        “FileVault State”

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

        public Optional<String> getOsVersion()
        “Operating system version of the device”
        Returns:
        property osVersion
      • withOsVersion

        public ManagedDeviceEncryptionState withOsVersion​(String osVersion)
        Returns an immutable copy of this with just the osVersion 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.

        “Operating system version of the device”

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

        public com.github.davidmoten.odata.client.CollectionPage<EncryptionReportPolicyDetails> getPolicyDetails()
        “Policy Details”
        Returns:
        property policyDetails
      • withPolicyDetails

        public ManagedDeviceEncryptionState withPolicyDetails​(List<EncryptionReportPolicyDetails> policyDetails)
        Returns an immutable copy of this with just the policyDetails 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.

        “Policy Details”

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

        public com.github.davidmoten.odata.client.CollectionPage<EncryptionReportPolicyDetails> getPolicyDetails​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “Policy Details”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property policyDetails
      • getTpmSpecificationVersion

        public Optional<String> getTpmSpecificationVersion()
        “Device TPM Version”
        Returns:
        property tpmSpecificationVersion
      • withTpmSpecificationVersion

        public ManagedDeviceEncryptionState withTpmSpecificationVersion​(String tpmSpecificationVersion)
        Returns an immutable copy of this with just the tpmSpecificationVersion 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.

        “Device TPM Version”

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

        public Optional<String> getUserPrincipalName()
        “User name”
        Returns:
        property userPrincipalName
      • withUserPrincipalName

        public ManagedDeviceEncryptionState withUserPrincipalName​(String userPrincipalName)
        Returns an immutable copy of this with just the userPrincipalName 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.

        “User name”

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

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        getUnmappedFields in class Entity
      • patch

        public ManagedDeviceEncryptionState patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class Entity
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected
      • put

        public ManagedDeviceEncryptionState put()
        Submits all fields for update and returns an immutable copy of this with changed fields reset (they were ignored anyway).
        Overrides:
        put in class Entity
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected