Class MobileThreatDefenseConnector

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

    public class MobileThreatDefenseConnector
    extends Entity
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Entity which represents a connection to Mobile threat defense partner.”
    • Field Detail

      • allowPartnerToCollectIOSApplicationMetadata

        protected Boolean allowPartnerToCollectIOSApplicationMetadata
      • androidDeviceBlockedOnMissingPartnerData

        protected Boolean androidDeviceBlockedOnMissingPartnerData
      • androidEnabled

        protected Boolean androidEnabled
      • androidMobileApplicationManagementEnabled

        protected Boolean androidMobileApplicationManagementEnabled
      • iosDeviceBlockedOnMissingPartnerData

        protected Boolean iosDeviceBlockedOnMissingPartnerData
      • iosEnabled

        protected Boolean iosEnabled
      • iosMobileApplicationManagementEnabled

        protected Boolean iosMobileApplicationManagementEnabled
      • lastHeartbeatDateTime

        protected OffsetDateTime lastHeartbeatDateTime
      • macDeviceBlockedOnMissingPartnerData

        protected Boolean macDeviceBlockedOnMissingPartnerData
      • macEnabled

        protected Boolean macEnabled
      • microsoftDefenderForEndpointAttachEnabled

        protected Boolean microsoftDefenderForEndpointAttachEnabled
      • partnerUnresponsivenessThresholdInDays

        protected Integer partnerUnresponsivenessThresholdInDays
      • partnerUnsupportedOsVersionBlocked

        protected Boolean partnerUnsupportedOsVersionBlocked
      • windowsDeviceBlockedOnMissingPartnerData

        protected Boolean windowsDeviceBlockedOnMissingPartnerData
      • windowsEnabled

        protected Boolean windowsEnabled
    • Constructor Detail

      • MobileThreatDefenseConnector

        protected MobileThreatDefenseConnector()
    • Method Detail

      • odataTypeName

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

        public static MobileThreatDefenseConnector.Builder builderMobileThreatDefenseConnector()
        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
      • getAllowPartnerToCollectIOSApplicationMetadata

        public Optional<Boolean> getAllowPartnerToCollectIOSApplicationMetadata()
        “For IOS devices, allows the admin to configure whether the data sync partner may also collect metadata about installed applications from Intune”
        Returns:
        property allowPartnerToCollectIOSApplicationMetadata
      • withAllowPartnerToCollectIOSApplicationMetadata

        public MobileThreatDefenseConnector withAllowPartnerToCollectIOSApplicationMetadata​(Boolean allowPartnerToCollectIOSApplicationMetadata)
        Returns an immutable copy of this with just the allowPartnerToCollectIOSApplicationMetadata 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.

        “For IOS devices, allows the admin to configure whether the data sync partner may also collect metadata about installed applications from Intune”

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

        public Optional<Boolean> getAndroidDeviceBlockedOnMissingPartnerData()
        “For Android, set whether Intune must receive data from the data sync partner prior to marking a device compliant”
        Returns:
        property androidDeviceBlockedOnMissingPartnerData
      • withAndroidDeviceBlockedOnMissingPartnerData

        public MobileThreatDefenseConnector withAndroidDeviceBlockedOnMissingPartnerData​(Boolean androidDeviceBlockedOnMissingPartnerData)
        Returns an immutable copy of this with just the androidDeviceBlockedOnMissingPartnerData 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.

        “For Android, set whether Intune must receive data from the data sync partner prior to marking a device compliant”

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

        public Optional<Boolean> getAndroidEnabled()
        “For Android, set whether data from the data sync partner should be used during compliance evaluations”
        Returns:
        property androidEnabled
      • withAndroidEnabled

        public MobileThreatDefenseConnector withAndroidEnabled​(Boolean androidEnabled)
        Returns an immutable copy of this with just the androidEnabled 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.

        “For Android, set whether data from the data sync partner should be used during compliance evaluations”

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

        public Optional<Boolean> getAndroidMobileApplicationManagementEnabled()
        “For Android, set whether data from the data sync partner should be used during Mobile Application Management (MAM) evaluations. Only one partner per platform may be enabled for Mobile Application Management (MAM) evaluation.”
        Returns:
        property androidMobileApplicationManagementEnabled
      • withAndroidMobileApplicationManagementEnabled

        public MobileThreatDefenseConnector withAndroidMobileApplicationManagementEnabled​(Boolean androidMobileApplicationManagementEnabled)
        Returns an immutable copy of this with just the androidMobileApplicationManagementEnabled 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.

        “For Android, set whether data from the data sync partner should be used during Mobile Application Management (MAM) evaluations. Only one partner per platform may be enabled for Mobile Application Management (MAM) evaluation.”

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

        public Optional<Boolean> getIosDeviceBlockedOnMissingPartnerData()
        “For IOS, set whether Intune must receive data from the data sync partner prior to marking a device compliant”
        Returns:
        property iosDeviceBlockedOnMissingPartnerData
      • withIosDeviceBlockedOnMissingPartnerData

        public MobileThreatDefenseConnector withIosDeviceBlockedOnMissingPartnerData​(Boolean iosDeviceBlockedOnMissingPartnerData)
        Returns an immutable copy of this with just the iosDeviceBlockedOnMissingPartnerData 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.

        “For IOS, set whether Intune must receive data from the data sync partner prior to marking a device compliant”

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

        public Optional<Boolean> getIosEnabled()
        “For IOS, get or set whether data from the data sync partner should be used during compliance evaluations”
        Returns:
        property iosEnabled
      • withIosEnabled

        public MobileThreatDefenseConnector withIosEnabled​(Boolean iosEnabled)
        Returns an immutable copy of this with just the iosEnabled 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.

        “For IOS, get or set whether data from the data sync partner should be used during compliance evaluations”

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

        public Optional<Boolean> getIosMobileApplicationManagementEnabled()
        “For IOS, get or set whether data from the data sync partner should be used during Mobile Application Management (MAM) evaluations. Only one partner per platform may be enabled for Mobile Application Management (MAM) evaluation.”
        Returns:
        property iosMobileApplicationManagementEnabled
      • withIosMobileApplicationManagementEnabled

        public MobileThreatDefenseConnector withIosMobileApplicationManagementEnabled​(Boolean iosMobileApplicationManagementEnabled)
        Returns an immutable copy of this with just the iosMobileApplicationManagementEnabled 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.

        “For IOS, get or set whether data from the data sync partner should be used during Mobile Application Management (MAM) evaluations. Only one partner per platform may be enabled for Mobile Application Management (MAM) evaluation.”

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

        public Optional<OffsetDateTime> getLastHeartbeatDateTime()
        “DateTime of last Heartbeat recieved from the Data Sync Partner”
        Returns:
        property lastHeartbeatDateTime
      • withLastHeartbeatDateTime

        public MobileThreatDefenseConnector withLastHeartbeatDateTime​(OffsetDateTime lastHeartbeatDateTime)
        Returns an immutable copy of this with just the lastHeartbeatDateTime 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.

        “DateTime of last Heartbeat recieved from the Data Sync Partner”

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

        public Optional<Boolean> getMacDeviceBlockedOnMissingPartnerData()
        “For Mac, get or set whether Intune must receive data from the data sync partner prior to marking a device compliant”
        Returns:
        property macDeviceBlockedOnMissingPartnerData
      • withMacDeviceBlockedOnMissingPartnerData

        public MobileThreatDefenseConnector withMacDeviceBlockedOnMissingPartnerData​(Boolean macDeviceBlockedOnMissingPartnerData)
        Returns an immutable copy of this with just the macDeviceBlockedOnMissingPartnerData 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.

        “For Mac, get or set whether Intune must receive data from the data sync partner prior to marking a device compliant”

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

        public Optional<Boolean> getMacEnabled()
        “For Mac, get or set whether data from the data sync partner should be used during compliance evaluations”
        Returns:
        property macEnabled
      • withMacEnabled

        public MobileThreatDefenseConnector withMacEnabled​(Boolean macEnabled)
        Returns an immutable copy of this with just the macEnabled 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.

        “For Mac, get or set whether data from the data sync partner should be used during compliance evaluations”

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

        public Optional<Boolean> getMicrosoftDefenderForEndpointAttachEnabled()
        “When TRUE, configuration profile management via Microsoft Defender for Endpoint is enabled. When FALSE, configuration profile management via Microsoft Defender for Endpoint is disabled.”
        Returns:
        property microsoftDefenderForEndpointAttachEnabled
      • withMicrosoftDefenderForEndpointAttachEnabled

        public MobileThreatDefenseConnector withMicrosoftDefenderForEndpointAttachEnabled​(Boolean microsoftDefenderForEndpointAttachEnabled)
        Returns an immutable copy of this with just the microsoftDefenderForEndpointAttachEnabled 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.

        “When TRUE, configuration profile management via Microsoft Defender for Endpoint is enabled. When FALSE, configuration profile management via Microsoft Defender for Endpoint is disabled.”

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

        public MobileThreatDefenseConnector withPartnerState​(MobileThreatPartnerTenantState partnerState)
        Returns an immutable copy of this with just the partnerState 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.

        “Data Sync Partner state for this account”

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

        public Optional<Integer> getPartnerUnresponsivenessThresholdInDays()
        “Get or Set days the per tenant tolerance to unresponsiveness for this partner integration”
        Returns:
        property partnerUnresponsivenessThresholdInDays
      • withPartnerUnresponsivenessThresholdInDays

        public MobileThreatDefenseConnector withPartnerUnresponsivenessThresholdInDays​(Integer partnerUnresponsivenessThresholdInDays)
        Returns an immutable copy of this with just the partnerUnresponsivenessThresholdInDays 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.

        “Get or Set days the per tenant tolerance to unresponsiveness for this partner integration”

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

        public Optional<Boolean> getPartnerUnsupportedOsVersionBlocked()
        “Get or set whether to block devices on the enabled platforms that do not meet the minimum version requirements of the Data Sync Partner”
        Returns:
        property partnerUnsupportedOsVersionBlocked
      • withPartnerUnsupportedOsVersionBlocked

        public MobileThreatDefenseConnector withPartnerUnsupportedOsVersionBlocked​(Boolean partnerUnsupportedOsVersionBlocked)
        Returns an immutable copy of this with just the partnerUnsupportedOsVersionBlocked 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.

        “Get or set whether to block devices on the enabled platforms that do not meet the minimum version requirements of the Data Sync Partner”

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

        public Optional<Boolean> getWindowsDeviceBlockedOnMissingPartnerData()
        “For Windows, set whether Intune must receive data from the data sync partner prior to marking a device compliant”
        Returns:
        property windowsDeviceBlockedOnMissingPartnerData
      • withWindowsDeviceBlockedOnMissingPartnerData

        public MobileThreatDefenseConnector withWindowsDeviceBlockedOnMissingPartnerData​(Boolean windowsDeviceBlockedOnMissingPartnerData)
        Returns an immutable copy of this with just the windowsDeviceBlockedOnMissingPartnerData 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.

        “For Windows, set whether Intune must receive data from the data sync partner prior to marking a device compliant”

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

        public Optional<Boolean> getWindowsEnabled()
        “For Windows, get or set whether data from the data sync partner should be used during compliance evaluations”
        Returns:
        property windowsEnabled
      • withWindowsEnabled

        public MobileThreatDefenseConnector withWindowsEnabled​(Boolean windowsEnabled)
        Returns an immutable copy of this with just the windowsEnabled 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.

        “For Windows, get or set whether data from the data sync partner should be used during compliance evaluations”

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