Class WindowsInformationProtection

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataEntityType, com.github.davidmoten.odata.client.ODataType
    Direct Known Subclasses:
    MdmWindowsInformationProtectionPolicy, WindowsInformationProtectionPolicy

    public class WindowsInformationProtection
    extends ManagedAppPolicy
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Policy for Windows information protection to configure detailed management settings”
    • Constructor Detail

      • WindowsInformationProtection

        protected WindowsInformationProtection()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class ManagedAppPolicy
      • 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 ManagedAppPolicy
      • postInject

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

        public Optional<Boolean> getAzureRightsManagementServicesAllowed()
        “Specifies whether to allow Azure RMS encryption for WIP”
        Returns:
        property azureRightsManagementServicesAllowed
      • withAzureRightsManagementServicesAllowed

        public WindowsInformationProtection withAzureRightsManagementServicesAllowed​(Boolean azureRightsManagementServicesAllowed)
        Returns an immutable copy of this with just the azureRightsManagementServicesAllowed 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.

        “Specifies whether to allow Azure RMS encryption for WIP”

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

        public Optional<WindowsInformationProtectionDataRecoveryCertificate> getDataRecoveryCertificate()
        “Specifies a recovery certificate that can be used for data recovery of encrypted files. This is the same as the data recovery agent(DRA) certificate for encrypting file system(EFS)”
        Returns:
        property dataRecoveryCertificate
      • withDataRecoveryCertificate

        public WindowsInformationProtection withDataRecoveryCertificate​(WindowsInformationProtectionDataRecoveryCertificate dataRecoveryCertificate)
        Returns an immutable copy of this with just the dataRecoveryCertificate 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.

        “Specifies a recovery certificate that can be used for data recovery of encrypted files. This is the same as the data recovery agent(DRA) certificate for encrypting file system(EFS)”

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

        public WindowsInformationProtection withEnforcementLevel​(WindowsInformationProtectionEnforcementLevel enforcementLevel)
        Returns an immutable copy of this with just the enforcementLevel 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.

        “WIP enforcement level.See the Enum definition for supported values”

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

        public Optional<String> getEnterpriseDomain()
        “Primary enterprise domain”
        Returns:
        property enterpriseDomain
      • withEnterpriseDomain

        public WindowsInformationProtection withEnterpriseDomain​(String enterpriseDomain)
        Returns an immutable copy of this with just the enterpriseDomain 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.

        “Primary enterprise domain”

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

        public com.github.davidmoten.odata.client.CollectionPage<WindowsInformationProtectionResourceCollection> getEnterpriseInternalProxyServers()
        “This is the comma-separated list of internal proxy servers. For example, "157.54 .14.28, 157.54.11.118, 10.202.14.167, 157.53.14.163, 157.69.210.59". These proxies have been configured by the admin to connect to specific resources on the Internet. They are considered to be enterprise network locations. The proxies are only leveraged in configuring the EnterpriseProxiedDomains policy to force traffic to the matched domains through these proxies”
        Returns:
        property enterpriseInternalProxyServers
      • withEnterpriseInternalProxyServers

        public WindowsInformationProtection withEnterpriseInternalProxyServers​(List<WindowsInformationProtectionResourceCollection> enterpriseInternalProxyServers)
        Returns an immutable copy of this with just the enterpriseInternalProxyServers 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 is the comma-separated list of internal proxy servers. For example, "157.54 .14.28, 157.54.11.118, 10.202.14.167, 157.53.14.163, 157.69.210.59". These proxies have been configured by the admin to connect to specific resources on the Internet. They are considered to be enterprise network locations. The proxies are only leveraged in configuring the EnterpriseProxiedDomains policy to force traffic to the matched domains through these proxies”

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

        public com.github.davidmoten.odata.client.CollectionPage<WindowsInformationProtectionResourceCollection> getEnterpriseInternalProxyServers​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “This is the comma-separated list of internal proxy servers. For example, "157.54 .14.28, 157.54.11.118, 10.202.14.167, 157.53.14.163, 157.69.210.59". These proxies have been configured by the admin to connect to specific resources on the Internet. They are considered to be enterprise network locations. The proxies are only leveraged in configuring the EnterpriseProxiedDomains policy to force traffic to the matched domains through these proxies”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property enterpriseInternalProxyServers
      • getEnterpriseIPRanges

        public com.github.davidmoten.odata.client.CollectionPage<WindowsInformationProtectionIPRangeCollection> getEnterpriseIPRanges()
        “Sets the enterprise IP ranges that define the computers in the enterprise network. Data that comes from those computers will be considered part of the enterprise and protected. These locations will be considered a safe destination for enterprise data to be shared to”
        Returns:
        property enterpriseIPRanges
      • withEnterpriseIPRanges

        public WindowsInformationProtection withEnterpriseIPRanges​(List<WindowsInformationProtectionIPRangeCollection> enterpriseIPRanges)
        Returns an immutable copy of this with just the enterpriseIPRanges 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.

        “Sets the enterprise IP ranges that define the computers in the enterprise network. Data that comes from those computers will be considered part of the enterprise and protected. These locations will be considered a safe destination for enterprise data to be shared to”

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

        public com.github.davidmoten.odata.client.CollectionPage<WindowsInformationProtectionIPRangeCollection> getEnterpriseIPRanges​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “Sets the enterprise IP ranges that define the computers in the enterprise network. Data that comes from those computers will be considered part of the enterprise and protected. These locations will be considered a safe destination for enterprise data to be shared to”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property enterpriseIPRanges
      • getEnterpriseIPRangesAreAuthoritative

        public Optional<Boolean> getEnterpriseIPRangesAreAuthoritative()
        “Boolean value that tells the client to accept the configured list and not to use heuristics to attempt to find other subnets. Default is false”
        Returns:
        property enterpriseIPRangesAreAuthoritative
      • withEnterpriseIPRangesAreAuthoritative

        public WindowsInformationProtection withEnterpriseIPRangesAreAuthoritative​(Boolean enterpriseIPRangesAreAuthoritative)
        Returns an immutable copy of this with just the enterpriseIPRangesAreAuthoritative 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.

        “Boolean value that tells the client to accept the configured list and not to use heuristics to attempt to find other subnets. Default is false”

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

        public com.github.davidmoten.odata.client.CollectionPage<WindowsInformationProtectionResourceCollection> getEnterpriseNetworkDomainNames()
        “This is the list of domains that comprise the boundaries of the enterprise. Data from one of these domains that is sent to a device will be considered enterprise data and protected These locations will be considered a safe destination for enterprise data to be shared to”
        Returns:
        property enterpriseNetworkDomainNames
      • withEnterpriseNetworkDomainNames

        public WindowsInformationProtection withEnterpriseNetworkDomainNames​(List<WindowsInformationProtectionResourceCollection> enterpriseNetworkDomainNames)
        Returns an immutable copy of this with just the enterpriseNetworkDomainNames 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 is the list of domains that comprise the boundaries of the enterprise. Data from one of these domains that is sent to a device will be considered enterprise data and protected These locations will be considered a safe destination for enterprise data to be shared to”

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

        public com.github.davidmoten.odata.client.CollectionPage<WindowsInformationProtectionResourceCollection> getEnterpriseNetworkDomainNames​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “This is the list of domains that comprise the boundaries of the enterprise. Data from one of these domains that is sent to a device will be considered enterprise data and protected These locations will be considered a safe destination for enterprise data to be shared to”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property enterpriseNetworkDomainNames
      • getEnterpriseProtectedDomainNames

        public com.github.davidmoten.odata.client.CollectionPage<WindowsInformationProtectionResourceCollection> getEnterpriseProtectedDomainNames()
        “List of enterprise domains to be protected”
        Returns:
        property enterpriseProtectedDomainNames
      • withEnterpriseProtectedDomainNames

        public WindowsInformationProtection withEnterpriseProtectedDomainNames​(List<WindowsInformationProtectionResourceCollection> enterpriseProtectedDomainNames)
        Returns an immutable copy of this with just the enterpriseProtectedDomainNames 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.

        “List of enterprise domains to be protected”

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

        public com.github.davidmoten.odata.client.CollectionPage<WindowsInformationProtectionResourceCollection> getEnterpriseProtectedDomainNames​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “List of enterprise domains to be protected”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property enterpriseProtectedDomainNames
      • getEnterpriseProxiedDomains

        public com.github.davidmoten.odata.client.CollectionPage<WindowsInformationProtectionProxiedDomainCollection> getEnterpriseProxiedDomains()
        “Contains a list of Enterprise resource domains hosted in the cloud that need to be protected. Connections to these resources are considered enterprise data. If a proxy is paired with a cloud resource, traffic to the cloud resource will be routed through the enterprise network via the denoted proxy server (on Port 80). A proxy server used for this purpose must also be configured using the EnterpriseInternalProxyServers policy”
        Returns:
        property enterpriseProxiedDomains
      • withEnterpriseProxiedDomains

        public WindowsInformationProtection withEnterpriseProxiedDomains​(List<WindowsInformationProtectionProxiedDomainCollection> enterpriseProxiedDomains)
        Returns an immutable copy of this with just the enterpriseProxiedDomains 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.

        “Contains a list of Enterprise resource domains hosted in the cloud that need to be protected. Connections to these resources are considered enterprise data. If a proxy is paired with a cloud resource, traffic to the cloud resource will be routed through the enterprise network via the denoted proxy server (on Port 80). A proxy server used for this purpose must also be configured using the EnterpriseInternalProxyServers policy”

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

        public com.github.davidmoten.odata.client.CollectionPage<WindowsInformationProtectionProxiedDomainCollection> getEnterpriseProxiedDomains​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “Contains a list of Enterprise resource domains hosted in the cloud that need to be protected. Connections to these resources are considered enterprise data. If a proxy is paired with a cloud resource, traffic to the cloud resource will be routed through the enterprise network via the denoted proxy server (on Port 80). A proxy server used for this purpose must also be configured using the EnterpriseInternalProxyServers policy”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property enterpriseProxiedDomains
      • getEnterpriseProxyServers

        public com.github.davidmoten.odata.client.CollectionPage<WindowsInformationProtectionResourceCollection> getEnterpriseProxyServers()
        “This is a list of proxy servers. Any server not on this list is considered non- enterprise”
        Returns:
        property enterpriseProxyServers
      • withEnterpriseProxyServers

        public WindowsInformationProtection withEnterpriseProxyServers​(List<WindowsInformationProtectionResourceCollection> enterpriseProxyServers)
        Returns an immutable copy of this with just the enterpriseProxyServers 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 is a list of proxy servers. Any server not on this list is considered non- enterprise”

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

        public com.github.davidmoten.odata.client.CollectionPage<WindowsInformationProtectionResourceCollection> getEnterpriseProxyServers​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “This is a list of proxy servers. Any server not on this list is considered non- enterprise”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property enterpriseProxyServers
      • getEnterpriseProxyServersAreAuthoritative

        public Optional<Boolean> getEnterpriseProxyServersAreAuthoritative()
        “Boolean value that tells the client to accept the configured list of proxies and not try to detect other work proxies. Default is false”
        Returns:
        property enterpriseProxyServersAreAuthoritative
      • withEnterpriseProxyServersAreAuthoritative

        public WindowsInformationProtection withEnterpriseProxyServersAreAuthoritative​(Boolean enterpriseProxyServersAreAuthoritative)
        Returns an immutable copy of this with just the enterpriseProxyServersAreAuthoritative 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.

        “Boolean value that tells the client to accept the configured list of proxies and not try to detect other work proxies. Default is false”

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

        public com.github.davidmoten.odata.client.CollectionPage<WindowsInformationProtectionApp> getExemptApps()
        “Exempt applications can also access enterprise data, but the data handled by those applications are not protected. This is because some critical enterprise applications may have compatibility problems with encrypted data.”
        Returns:
        property exemptApps
      • withExemptApps

        public WindowsInformationProtection withExemptApps​(List<WindowsInformationProtectionApp> exemptApps)
        Returns an immutable copy of this with just the exemptApps 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.

        “Exempt applications can also access enterprise data, but the data handled by those applications are not protected. This is because some critical enterprise applications may have compatibility problems with encrypted data.”

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

        public com.github.davidmoten.odata.client.CollectionPage<WindowsInformationProtectionApp> getExemptApps​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “Exempt applications can also access enterprise data, but the data handled by those applications are not protected. This is because some critical enterprise applications may have compatibility problems with encrypted data.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property exemptApps
      • getIconsVisible

        public Optional<Boolean> getIconsVisible()
        “Determines whether overlays are added to icons for WIP protected files in Explorer and enterprise only app tiles in the Start menu. Starting in Windows 10 , version 1703 this setting also configures the visibility of the WIP icon in the title bar of a WIP-protected app”
        Returns:
        property iconsVisible
      • withIconsVisible

        public WindowsInformationProtection withIconsVisible​(Boolean iconsVisible)
        Returns an immutable copy of this with just the iconsVisible 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.

        “Determines whether overlays are added to icons for WIP protected files in Explorer and enterprise only app tiles in the Start menu. Starting in Windows 10 , version 1703 this setting also configures the visibility of the WIP icon in the title bar of a WIP-protected app”

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

        public Optional<Boolean> getIndexingEncryptedStoresOrItemsBlocked()
        “This switch is for the Windows Search Indexer, to allow or disallow indexing of items”
        Returns:
        property indexingEncryptedStoresOrItemsBlocked
      • withIndexingEncryptedStoresOrItemsBlocked

        public WindowsInformationProtection withIndexingEncryptedStoresOrItemsBlocked​(Boolean indexingEncryptedStoresOrItemsBlocked)
        Returns an immutable copy of this with just the indexingEncryptedStoresOrItemsBlocked 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 switch is for the Windows Search Indexer, to allow or disallow indexing of items”

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

        public Optional<Boolean> getIsAssigned()
        “Indicates if the policy is deployed to any inclusion groups or not.”
        Returns:
        property isAssigned
      • withIsAssigned

        public WindowsInformationProtection withIsAssigned​(Boolean isAssigned)
        Returns an immutable copy of this with just the isAssigned 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 the policy is deployed to any inclusion groups or not.”

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

        public com.github.davidmoten.odata.client.CollectionPage<WindowsInformationProtectionResourceCollection> getNeutralDomainResources()
        “List of domain names that can used for work or personal resource”
        Returns:
        property neutralDomainResources
      • withNeutralDomainResources

        public WindowsInformationProtection withNeutralDomainResources​(List<WindowsInformationProtectionResourceCollection> neutralDomainResources)
        Returns an immutable copy of this with just the neutralDomainResources 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.

        “List of domain names that can used for work or personal resource”

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

        public com.github.davidmoten.odata.client.CollectionPage<WindowsInformationProtectionResourceCollection> getNeutralDomainResources​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “List of domain names that can used for work or personal resource”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property neutralDomainResources
      • getProtectedApps

        public com.github.davidmoten.odata.client.CollectionPage<WindowsInformationProtectionApp> getProtectedApps()
        “Protected applications can access enterprise data and the data handled by those applications are protected with encryption”
        Returns:
        property protectedApps
      • withProtectedApps

        public WindowsInformationProtection withProtectedApps​(List<WindowsInformationProtectionApp> protectedApps)
        Returns an immutable copy of this with just the protectedApps 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.

        “Protected applications can access enterprise data and the data handled by those applications are protected with encryption”

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

        public com.github.davidmoten.odata.client.CollectionPage<WindowsInformationProtectionApp> getProtectedApps​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “Protected applications can access enterprise data and the data handled by those applications are protected with encryption”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property protectedApps
      • getProtectionUnderLockConfigRequired

        public Optional<Boolean> getProtectionUnderLockConfigRequired()
        “Specifies whether the protection under lock feature (also known as encrypt under pin) should be configured”
        Returns:
        property protectionUnderLockConfigRequired
      • withProtectionUnderLockConfigRequired

        public WindowsInformationProtection withProtectionUnderLockConfigRequired​(Boolean protectionUnderLockConfigRequired)
        Returns an immutable copy of this with just the protectionUnderLockConfigRequired 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.

        “Specifies whether the protection under lock feature (also known as encrypt under pin) should be configured”

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

        public Optional<Boolean> getRevokeOnUnenrollDisabled()
        “This policy controls whether to revoke the WIP keys when a device unenrolls from the management service. If set to 1 (Don't revoke keys), the keys will not be revoked and the user will continue to have access to protected files after unenrollment. If the keys are not revoked, there will be no revoked file cleanup subsequently.”
        Returns:
        property revokeOnUnenrollDisabled
      • withRevokeOnUnenrollDisabled

        public WindowsInformationProtection withRevokeOnUnenrollDisabled​(Boolean revokeOnUnenrollDisabled)
        Returns an immutable copy of this with just the revokeOnUnenrollDisabled 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 controls whether to revoke the WIP keys when a device unenrolls from the management service. If set to 1 (Don't revoke keys), the keys will not be revoked and the user will continue to have access to protected files after unenrollment. If the keys are not revoked, there will be no revoked file cleanup subsequently.”

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

        public Optional<UUID> getRightsManagementServicesTemplateId()
        “TemplateID GUID to use for RMS encryption. The RMS template allows the IT admin to configure the details about who has access to RMS-protected file and how long they have access”
        Returns:
        property rightsManagementServicesTemplateId
      • withRightsManagementServicesTemplateId

        public WindowsInformationProtection withRightsManagementServicesTemplateId​(UUID rightsManagementServicesTemplateId)
        Returns an immutable copy of this with just the rightsManagementServicesTemplateId 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.

        “TemplateID GUID to use for RMS encryption. The RMS template allows the IT admin to configure the details about who has access to RMS-protected file and how long they have access”

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

        public com.github.davidmoten.odata.client.CollectionPage<WindowsInformationProtectionResourceCollection> getSmbAutoEncryptedFileExtensions()
        “Specifies a list of file extensions, so that files with these extensions are encrypted when copying from an SMB share within the corporate boundary”
        Returns:
        property smbAutoEncryptedFileExtensions
      • withSmbAutoEncryptedFileExtensions

        public WindowsInformationProtection withSmbAutoEncryptedFileExtensions​(List<WindowsInformationProtectionResourceCollection> smbAutoEncryptedFileExtensions)
        Returns an immutable copy of this with just the smbAutoEncryptedFileExtensions 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.

        “Specifies a list of file extensions, so that files with these extensions are encrypted when copying from an SMB share within the corporate boundary”

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

        public com.github.davidmoten.odata.client.CollectionPage<WindowsInformationProtectionResourceCollection> getSmbAutoEncryptedFileExtensions​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “Specifies a list of file extensions, so that files with these extensions are encrypted when copying from an SMB share within the corporate boundary”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property smbAutoEncryptedFileExtensions
      • withAssignments

        public WindowsInformationProtection withAssignments​(List<TargetedManagedAppPolicyAssignment> assignments)
        Returns an immutable copy of this with just the assignments 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.

        “Navigation property to list of security groups targeted for policy.”

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

        public WindowsInformationProtection withExemptAppLockerFiles​(List<WindowsInformationProtectionAppLockerFile> exemptAppLockerFiles)
        Returns an immutable copy of this with just the exemptAppLockerFiles 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.

        “Another way to input exempt apps through xml files”

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

        public WindowsInformationProtection withProtectedAppLockerFiles​(List<WindowsInformationProtectionAppLockerFile> protectedAppLockerFiles)
        Returns an immutable copy of this with just the protectedAppLockerFiles 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.

        “Another way to input protected apps through xml files”

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

        public WindowsInformationProtection patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class ManagedAppPolicy
        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 WindowsInformationProtection 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 ManagedAppPolicy
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected