Class MacOSEndpointProtectionConfiguration

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

    public class MacOSEndpointProtectionConfiguration
    extends DeviceConfiguration
    implements com.github.davidmoten.odata.client.ODataEntityType
    “MacOS endpoint protection configuration profile.”
    • Field Detail

      • advancedThreatProtectionAutomaticSampleSubmission

        protected Enablement advancedThreatProtectionAutomaticSampleSubmission
      • advancedThreatProtectionCloudDelivered

        protected Enablement advancedThreatProtectionCloudDelivered
      • advancedThreatProtectionDiagnosticDataCollection

        protected Enablement advancedThreatProtectionDiagnosticDataCollection
      • advancedThreatProtectionExcludedExtensions

        protected List<String> advancedThreatProtectionExcludedExtensions
      • advancedThreatProtectionExcludedExtensionsNextLink

        protected String advancedThreatProtectionExcludedExtensionsNextLink
      • advancedThreatProtectionExcludedFiles

        protected List<String> advancedThreatProtectionExcludedFiles
      • advancedThreatProtectionExcludedFilesNextLink

        protected String advancedThreatProtectionExcludedFilesNextLink
      • advancedThreatProtectionExcludedFolders

        protected List<String> advancedThreatProtectionExcludedFolders
      • advancedThreatProtectionExcludedFoldersNextLink

        protected String advancedThreatProtectionExcludedFoldersNextLink
      • advancedThreatProtectionExcludedProcesses

        protected List<String> advancedThreatProtectionExcludedProcesses
      • advancedThreatProtectionExcludedProcessesNextLink

        protected String advancedThreatProtectionExcludedProcessesNextLink
      • advancedThreatProtectionRealTime

        protected Enablement advancedThreatProtectionRealTime
      • fileVaultAllowDeferralUntilSignOut

        protected Boolean fileVaultAllowDeferralUntilSignOut
      • fileVaultDisablePromptAtSignOut

        protected Boolean fileVaultDisablePromptAtSignOut
      • fileVaultEnabled

        protected Boolean fileVaultEnabled
      • fileVaultHidePersonalRecoveryKey

        protected Boolean fileVaultHidePersonalRecoveryKey
      • fileVaultInstitutionalRecoveryKeyCertificate

        protected byte[] fileVaultInstitutionalRecoveryKeyCertificate
      • fileVaultInstitutionalRecoveryKeyCertificateFileName

        protected String fileVaultInstitutionalRecoveryKeyCertificateFileName
      • fileVaultNumberOfTimesUserCanIgnore

        protected Integer fileVaultNumberOfTimesUserCanIgnore
      • fileVaultPersonalRecoveryKeyHelpMessage

        protected String fileVaultPersonalRecoveryKeyHelpMessage
      • fileVaultPersonalRecoveryKeyRotationInMonths

        protected Integer fileVaultPersonalRecoveryKeyRotationInMonths
      • firewallApplicationsNextLink

        protected String firewallApplicationsNextLink
      • firewallBlockAllIncoming

        protected Boolean firewallBlockAllIncoming
      • firewallEnabled

        protected Boolean firewallEnabled
      • firewallEnableStealthMode

        protected Boolean firewallEnableStealthMode
      • gatekeeperBlockOverride

        protected Boolean gatekeeperBlockOverride
    • Constructor Detail

      • MacOSEndpointProtectionConfiguration

        protected MacOSEndpointProtectionConfiguration()
    • Method Detail

      • odataTypeName

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

        public static MacOSEndpointProtectionConfiguration.Builder builderMacOSEndpointProtectionConfiguration()
        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 DeviceConfiguration
      • postInject

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

        public Optional<Enablement> getAdvancedThreatProtectionAutomaticSampleSubmission()
        “Determines whether or not to enable automatic file sample submission for Microsoft Defender Advanced Threat Protection on macOS.”
        Returns:
        property advancedThreatProtectionAutomaticSampleSubmission
      • withAdvancedThreatProtectionAutomaticSampleSubmission

        public MacOSEndpointProtectionConfiguration withAdvancedThreatProtectionAutomaticSampleSubmission​(Enablement advancedThreatProtectionAutomaticSampleSubmission)
        Returns an immutable copy of this with just the advancedThreatProtectionAutomaticSampleSubmission 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 or not to enable automatic file sample submission for Microsoft Defender Advanced Threat Protection on macOS.”

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

        public Optional<Enablement> getAdvancedThreatProtectionCloudDelivered()
        “Determines whether or not to enable cloud-delivered protection for Microsoft Defender Advanced Threat Protection on macOS.”
        Returns:
        property advancedThreatProtectionCloudDelivered
      • withAdvancedThreatProtectionCloudDelivered

        public MacOSEndpointProtectionConfiguration withAdvancedThreatProtectionCloudDelivered​(Enablement advancedThreatProtectionCloudDelivered)
        Returns an immutable copy of this with just the advancedThreatProtectionCloudDelivered 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 or not to enable cloud-delivered protection for Microsoft Defender Advanced Threat Protection on macOS.”

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

        public Optional<Enablement> getAdvancedThreatProtectionDiagnosticDataCollection()
        “Determines whether or not to enable diagnostic and usage data collection for Microsoft Defender Advanced Threat Protection on macOS.”
        Returns:
        property advancedThreatProtectionDiagnosticDataCollection
      • withAdvancedThreatProtectionDiagnosticDataCollection

        public MacOSEndpointProtectionConfiguration withAdvancedThreatProtectionDiagnosticDataCollection​(Enablement advancedThreatProtectionDiagnosticDataCollection)
        Returns an immutable copy of this with just the advancedThreatProtectionDiagnosticDataCollection 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 or not to enable diagnostic and usage data collection for Microsoft Defender Advanced Threat Protection on macOS.”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getAdvancedThreatProtectionExcludedExtensions()
        “A list of file extensions to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS.”
        Returns:
        property advancedThreatProtectionExcludedExtensions
      • withAdvancedThreatProtectionExcludedExtensions

        public MacOSEndpointProtectionConfiguration withAdvancedThreatProtectionExcludedExtensions​(List<String> advancedThreatProtectionExcludedExtensions)
        Returns an immutable copy of this with just the advancedThreatProtectionExcludedExtensions 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.

        “A list of file extensions to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS.”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getAdvancedThreatProtectionExcludedExtensions​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “A list of file extensions to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property advancedThreatProtectionExcludedExtensions
      • getAdvancedThreatProtectionExcludedFiles

        public com.github.davidmoten.odata.client.CollectionPage<String> getAdvancedThreatProtectionExcludedFiles()
        “A list of paths to files to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS.”
        Returns:
        property advancedThreatProtectionExcludedFiles
      • withAdvancedThreatProtectionExcludedFiles

        public MacOSEndpointProtectionConfiguration withAdvancedThreatProtectionExcludedFiles​(List<String> advancedThreatProtectionExcludedFiles)
        Returns an immutable copy of this with just the advancedThreatProtectionExcludedFiles 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.

        “A list of paths to files to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS.”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getAdvancedThreatProtectionExcludedFiles​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “A list of paths to files to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property advancedThreatProtectionExcludedFiles
      • getAdvancedThreatProtectionExcludedFolders

        public com.github.davidmoten.odata.client.CollectionPage<String> getAdvancedThreatProtectionExcludedFolders()
        “A list of paths to folders to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS.”
        Returns:
        property advancedThreatProtectionExcludedFolders
      • withAdvancedThreatProtectionExcludedFolders

        public MacOSEndpointProtectionConfiguration withAdvancedThreatProtectionExcludedFolders​(List<String> advancedThreatProtectionExcludedFolders)
        Returns an immutable copy of this with just the advancedThreatProtectionExcludedFolders 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.

        “A list of paths to folders to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS.”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getAdvancedThreatProtectionExcludedFolders​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “A list of paths to folders to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property advancedThreatProtectionExcludedFolders
      • getAdvancedThreatProtectionExcludedProcesses

        public com.github.davidmoten.odata.client.CollectionPage<String> getAdvancedThreatProtectionExcludedProcesses()
        “A list of process names to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS.”
        Returns:
        property advancedThreatProtectionExcludedProcesses
      • withAdvancedThreatProtectionExcludedProcesses

        public MacOSEndpointProtectionConfiguration withAdvancedThreatProtectionExcludedProcesses​(List<String> advancedThreatProtectionExcludedProcesses)
        Returns an immutable copy of this with just the advancedThreatProtectionExcludedProcesses 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.

        “A list of process names to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS.”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getAdvancedThreatProtectionExcludedProcesses​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “A list of process names to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property advancedThreatProtectionExcludedProcesses
      • getAdvancedThreatProtectionRealTime

        public Optional<Enablement> getAdvancedThreatProtectionRealTime()
        “Determines whether or not to enable real-time protection for Microsoft Defender Advanced Threat Protection on macOS.”
        Returns:
        property advancedThreatProtectionRealTime
      • withAdvancedThreatProtectionRealTime

        public MacOSEndpointProtectionConfiguration withAdvancedThreatProtectionRealTime​(Enablement advancedThreatProtectionRealTime)
        Returns an immutable copy of this with just the advancedThreatProtectionRealTime 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 or not to enable real-time protection for Microsoft Defender Advanced Threat Protection on macOS.”

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

        public Optional<Boolean> getFileVaultAllowDeferralUntilSignOut()
        “Optional. If set to true, the user can defer the enabling of FileVault until they sign out.”
        Returns:
        property fileVaultAllowDeferralUntilSignOut
      • withFileVaultAllowDeferralUntilSignOut

        public MacOSEndpointProtectionConfiguration withFileVaultAllowDeferralUntilSignOut​(Boolean fileVaultAllowDeferralUntilSignOut)
        Returns an immutable copy of this with just the fileVaultAllowDeferralUntilSignOut 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.

        “Optional. If set to true, the user can defer the enabling of FileVault until they sign out.”

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

        public Optional<Boolean> getFileVaultDisablePromptAtSignOut()
        “Optional. When using the Defer option, if set to true, the user is not prompted to enable FileVault at sign-out.”
        Returns:
        property fileVaultDisablePromptAtSignOut
      • withFileVaultDisablePromptAtSignOut

        public MacOSEndpointProtectionConfiguration withFileVaultDisablePromptAtSignOut​(Boolean fileVaultDisablePromptAtSignOut)
        Returns an immutable copy of this with just the fileVaultDisablePromptAtSignOut 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.

        “Optional. When using the Defer option, if set to true, the user is not prompted to enable FileVault at sign-out.”

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

        public Optional<Boolean> getFileVaultEnabled()
        “Whether FileVault should be enabled or not.”
        Returns:
        property fileVaultEnabled
      • withFileVaultEnabled

        public MacOSEndpointProtectionConfiguration withFileVaultEnabled​(Boolean fileVaultEnabled)
        Returns an immutable copy of this with just the fileVaultEnabled 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.

        “Whether FileVault should be enabled or not.”

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

        public Optional<Boolean> getFileVaultHidePersonalRecoveryKey()
        “Optional. A hidden personal recovery key does not appear on the user's screen during FileVault encryption, reducing the risk of it ending up in the wrong hands.”
        Returns:
        property fileVaultHidePersonalRecoveryKey
      • withFileVaultHidePersonalRecoveryKey

        public MacOSEndpointProtectionConfiguration withFileVaultHidePersonalRecoveryKey​(Boolean fileVaultHidePersonalRecoveryKey)
        Returns an immutable copy of this with just the fileVaultHidePersonalRecoveryKey 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.

        “Optional. A hidden personal recovery key does not appear on the user's screen during FileVault encryption, reducing the risk of it ending up in the wrong hands.”

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

        public Optional<byte[]> getFileVaultInstitutionalRecoveryKeyCertificate()
        “Required if selected recovery key type(s) include InstitutionalRecoveryKey. The DER Encoded certificate file used to set an institutional recovery key.”
        Returns:
        property fileVaultInstitutionalRecoveryKeyCertificate
      • withFileVaultInstitutionalRecoveryKeyCertificate

        public MacOSEndpointProtectionConfiguration withFileVaultInstitutionalRecoveryKeyCertificate​(byte[] fileVaultInstitutionalRecoveryKeyCertificate)
        Returns an immutable copy of this with just the fileVaultInstitutionalRecoveryKeyCertificate 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.

        “Required if selected recovery key type(s) include InstitutionalRecoveryKey. The DER Encoded certificate file used to set an institutional recovery key.”

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

        public Optional<String> getFileVaultInstitutionalRecoveryKeyCertificateFileName()
        “File name of the institutional recovery key certificate to display in UI. (*.der ).”
        Returns:
        property fileVaultInstitutionalRecoveryKeyCertificateFileName
      • withFileVaultInstitutionalRecoveryKeyCertificateFileName

        public MacOSEndpointProtectionConfiguration withFileVaultInstitutionalRecoveryKeyCertificateFileName​(String fileVaultInstitutionalRecoveryKeyCertificateFileName)
        Returns an immutable copy of this with just the fileVaultInstitutionalRecoveryKeyCertificateFileName 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.

        “File name of the institutional recovery key certificate to display in UI. (*.der ).”

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

        public Optional<Integer> getFileVaultNumberOfTimesUserCanIgnore()
        “Optional. When using the Defer option, this is the maximum number of times the user can ignore prompts to enable FileVault before FileVault will be required for the user to sign in. If set to -1, it will always prompt to enable FileVault until FileVault is enabled, though it will allow the user to bypass enabling FileVault. Setting this to 0 will disable the feature.”
        Returns:
        property fileVaultNumberOfTimesUserCanIgnore
      • withFileVaultNumberOfTimesUserCanIgnore

        public MacOSEndpointProtectionConfiguration withFileVaultNumberOfTimesUserCanIgnore​(Integer fileVaultNumberOfTimesUserCanIgnore)
        Returns an immutable copy of this with just the fileVaultNumberOfTimesUserCanIgnore 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.

        “Optional. When using the Defer option, this is the maximum number of times the user can ignore prompts to enable FileVault before FileVault will be required for the user to sign in. If set to -1, it will always prompt to enable FileVault until FileVault is enabled, though it will allow the user to bypass enabling FileVault. Setting this to 0 will disable the feature.”

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

        public Optional<String> getFileVaultPersonalRecoveryKeyHelpMessage()
        “Required if selected recovery key type(s) include PersonalRecoveryKey. A short message displayed to the user that explains how they can retrieve their personal recovery key.”
        Returns:
        property fileVaultPersonalRecoveryKeyHelpMessage
      • withFileVaultPersonalRecoveryKeyHelpMessage

        public MacOSEndpointProtectionConfiguration withFileVaultPersonalRecoveryKeyHelpMessage​(String fileVaultPersonalRecoveryKeyHelpMessage)
        Returns an immutable copy of this with just the fileVaultPersonalRecoveryKeyHelpMessage 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.

        “Required if selected recovery key type(s) include PersonalRecoveryKey. A short message displayed to the user that explains how they can retrieve their personal recovery key.”

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

        public Optional<Integer> getFileVaultPersonalRecoveryKeyRotationInMonths()
        “Optional. If selected recovery key type(s) include PersonalRecoveryKey, the frequency to rotate that key, in months.”
        Returns:
        property fileVaultPersonalRecoveryKeyRotationInMonths
      • withFileVaultPersonalRecoveryKeyRotationInMonths

        public MacOSEndpointProtectionConfiguration withFileVaultPersonalRecoveryKeyRotationInMonths​(Integer fileVaultPersonalRecoveryKeyRotationInMonths)
        Returns an immutable copy of this with just the fileVaultPersonalRecoveryKeyRotationInMonths 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.

        “Optional. If selected recovery key type(s) include PersonalRecoveryKey, the frequency to rotate that key, in months.”

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

        public Optional<MacOSFileVaultRecoveryKeyTypes> getFileVaultSelectedRecoveryKeyTypes()
        “Required if FileVault is enabled, determines the type(s) of recovery key to use.”
        Returns:
        property fileVaultSelectedRecoveryKeyTypes
      • withFileVaultSelectedRecoveryKeyTypes

        public MacOSEndpointProtectionConfiguration withFileVaultSelectedRecoveryKeyTypes​(MacOSFileVaultRecoveryKeyTypes fileVaultSelectedRecoveryKeyTypes)
        Returns an immutable copy of this with just the fileVaultSelectedRecoveryKeyTypes 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.

        “Required if FileVault is enabled, determines the type(s) of recovery key to use.”

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

        public com.github.davidmoten.odata.client.CollectionPage<MacOSFirewallApplication> getFirewallApplications()
        “List of applications with firewall settings. Firewall settings for applications not on this list are determined by the user. This collection can contain a maximum of 500 elements.”
        Returns:
        property firewallApplications
      • withFirewallApplications

        public MacOSEndpointProtectionConfiguration withFirewallApplications​(List<MacOSFirewallApplication> firewallApplications)
        Returns an immutable copy of this with just the firewallApplications 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 applications with firewall settings. Firewall settings for applications not on this list are determined by the user. This collection can contain a maximum of 500 elements.”

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

        public com.github.davidmoten.odata.client.CollectionPage<MacOSFirewallApplication> getFirewallApplications​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “List of applications with firewall settings. Firewall settings for applications not on this list are determined by the user. This collection can contain a maximum of 500 elements.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property firewallApplications
      • getFirewallBlockAllIncoming

        public Optional<Boolean> getFirewallBlockAllIncoming()
        “Corresponds to the “Block all incoming connections” option.”
        Returns:
        property firewallBlockAllIncoming
      • withFirewallBlockAllIncoming

        public MacOSEndpointProtectionConfiguration withFirewallBlockAllIncoming​(Boolean firewallBlockAllIncoming)
        Returns an immutable copy of this with just the firewallBlockAllIncoming 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.

        “Corresponds to the “Block all incoming connections” option.”

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

        public Optional<Boolean> getFirewallEnabled()
        “Whether the firewall should be enabled or not.”
        Returns:
        property firewallEnabled
      • withFirewallEnabled

        public MacOSEndpointProtectionConfiguration withFirewallEnabled​(Boolean firewallEnabled)
        Returns an immutable copy of this with just the firewallEnabled 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.

        “Whether the firewall should be enabled or not.”

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

        public Optional<Boolean> getFirewallEnableStealthMode()
        “Corresponds to “Enable stealth mode.””
        Returns:
        property firewallEnableStealthMode
      • withFirewallEnableStealthMode

        public MacOSEndpointProtectionConfiguration withFirewallEnableStealthMode​(Boolean firewallEnableStealthMode)
        Returns an immutable copy of this with just the firewallEnableStealthMode 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.

        “Corresponds to “Enable stealth mode.””

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

        public Optional<MacOSGatekeeperAppSources> getGatekeeperAllowedAppSource()
        “System and Privacy setting that determines which download locations apps can be run from on a macOS device.”
        Returns:
        property gatekeeperAllowedAppSource
      • withGatekeeperAllowedAppSource

        public MacOSEndpointProtectionConfiguration withGatekeeperAllowedAppSource​(MacOSGatekeeperAppSources gatekeeperAllowedAppSource)
        Returns an immutable copy of this with just the gatekeeperAllowedAppSource 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.

        “System and Privacy setting that determines which download locations apps can be run from on a macOS device.”

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

        public Optional<Boolean> getGatekeeperBlockOverride()
        “If set to true, the user override for Gatekeeper will be disabled.”
        Returns:
        property gatekeeperBlockOverride
      • withGatekeeperBlockOverride

        public MacOSEndpointProtectionConfiguration withGatekeeperBlockOverride​(Boolean gatekeeperBlockOverride)
        Returns an immutable copy of this with just the gatekeeperBlockOverride 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.

        “If set to true, the user override for Gatekeeper will be disabled.”

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

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