Class MacOSEndpointProtectionConfiguration.Builder

    • Method Detail

      • advancedThreatProtectionAutomaticSampleSubmission

        public MacOSEndpointProtectionConfiguration.Builder advancedThreatProtectionAutomaticSampleSubmission​(Enablement advancedThreatProtectionAutomaticSampleSubmission)
        “Determines whether or not to enable automatic file sample submission for Microsoft Defender Advanced Threat Protection on macOS.”
        Parameters:
        advancedThreatProtectionAutomaticSampleSubmission - value of advancedThreatProtectionAutomaticSampleSubmission property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • advancedThreatProtectionCloudDelivered

        public MacOSEndpointProtectionConfiguration.Builder advancedThreatProtectionCloudDelivered​(Enablement advancedThreatProtectionCloudDelivered)
        “Determines whether or not to enable cloud-delivered protection for Microsoft Defender Advanced Threat Protection on macOS.”
        Parameters:
        advancedThreatProtectionCloudDelivered - value of advancedThreatProtectionCloudDelivered property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • advancedThreatProtectionDiagnosticDataCollection

        public MacOSEndpointProtectionConfiguration.Builder advancedThreatProtectionDiagnosticDataCollection​(Enablement advancedThreatProtectionDiagnosticDataCollection)
        “Determines whether or not to enable diagnostic and usage data collection for Microsoft Defender Advanced Threat Protection on macOS.”
        Parameters:
        advancedThreatProtectionDiagnosticDataCollection - value of advancedThreatProtectionDiagnosticDataCollection property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • advancedThreatProtectionExcludedExtensions

        public MacOSEndpointProtectionConfiguration.Builder advancedThreatProtectionExcludedExtensions​(List<String> advancedThreatProtectionExcludedExtensions)
        “A list of file extensions to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS.”
        Parameters:
        advancedThreatProtectionExcludedExtensions - value of advancedThreatProtectionExcludedExtensions property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • advancedThreatProtectionExcludedExtensions

        public MacOSEndpointProtectionConfiguration.Builder advancedThreatProtectionExcludedExtensions​(String... advancedThreatProtectionExcludedExtensions)
        “A list of file extensions to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS.”
        Parameters:
        advancedThreatProtectionExcludedExtensions - value of advancedThreatProtectionExcludedExtensions property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • advancedThreatProtectionExcludedExtensionsNextLink

        public MacOSEndpointProtectionConfiguration.Builder advancedThreatProtectionExcludedExtensionsNextLink​(String advancedThreatProtectionExcludedExtensionsNextLink)
        “A list of file extensions to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS.”
        Parameters:
        advancedThreatProtectionExcludedExtensionsNextLink - value of advancedThreatProtectionExcludedExtensions@nextLink property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • advancedThreatProtectionExcludedFiles

        public MacOSEndpointProtectionConfiguration.Builder advancedThreatProtectionExcludedFiles​(List<String> advancedThreatProtectionExcludedFiles)
        “A list of paths to files to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS.”
        Parameters:
        advancedThreatProtectionExcludedFiles - value of advancedThreatProtectionExcludedFiles property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • advancedThreatProtectionExcludedFiles

        public MacOSEndpointProtectionConfiguration.Builder advancedThreatProtectionExcludedFiles​(String... advancedThreatProtectionExcludedFiles)
        “A list of paths to files to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS.”
        Parameters:
        advancedThreatProtectionExcludedFiles - value of advancedThreatProtectionExcludedFiles property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • advancedThreatProtectionExcludedFilesNextLink

        public MacOSEndpointProtectionConfiguration.Builder advancedThreatProtectionExcludedFilesNextLink​(String advancedThreatProtectionExcludedFilesNextLink)
        “A list of paths to files to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS.”
        Parameters:
        advancedThreatProtectionExcludedFilesNextLink - value of advancedThreatProtectionExcludedFiles@nextLink property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • advancedThreatProtectionExcludedFolders

        public MacOSEndpointProtectionConfiguration.Builder advancedThreatProtectionExcludedFolders​(List<String> advancedThreatProtectionExcludedFolders)
        “A list of paths to folders to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS.”
        Parameters:
        advancedThreatProtectionExcludedFolders - value of advancedThreatProtectionExcludedFolders property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • advancedThreatProtectionExcludedFolders

        public MacOSEndpointProtectionConfiguration.Builder advancedThreatProtectionExcludedFolders​(String... advancedThreatProtectionExcludedFolders)
        “A list of paths to folders to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS.”
        Parameters:
        advancedThreatProtectionExcludedFolders - value of advancedThreatProtectionExcludedFolders property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • advancedThreatProtectionExcludedFoldersNextLink

        public MacOSEndpointProtectionConfiguration.Builder advancedThreatProtectionExcludedFoldersNextLink​(String advancedThreatProtectionExcludedFoldersNextLink)
        “A list of paths to folders to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS.”
        Parameters:
        advancedThreatProtectionExcludedFoldersNextLink - value of advancedThreatProtectionExcludedFolders@nextLink property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • advancedThreatProtectionExcludedProcesses

        public MacOSEndpointProtectionConfiguration.Builder advancedThreatProtectionExcludedProcesses​(List<String> advancedThreatProtectionExcludedProcesses)
        “A list of process names to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS.”
        Parameters:
        advancedThreatProtectionExcludedProcesses - value of advancedThreatProtectionExcludedProcesses property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • advancedThreatProtectionExcludedProcesses

        public MacOSEndpointProtectionConfiguration.Builder advancedThreatProtectionExcludedProcesses​(String... advancedThreatProtectionExcludedProcesses)
        “A list of process names to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS.”
        Parameters:
        advancedThreatProtectionExcludedProcesses - value of advancedThreatProtectionExcludedProcesses property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • advancedThreatProtectionExcludedProcessesNextLink

        public MacOSEndpointProtectionConfiguration.Builder advancedThreatProtectionExcludedProcessesNextLink​(String advancedThreatProtectionExcludedProcessesNextLink)
        “A list of process names to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS.”
        Parameters:
        advancedThreatProtectionExcludedProcessesNextLink - value of advancedThreatProtectionExcludedProcesses@nextLink property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • advancedThreatProtectionRealTime

        public MacOSEndpointProtectionConfiguration.Builder advancedThreatProtectionRealTime​(Enablement advancedThreatProtectionRealTime)
        “Determines whether or not to enable real-time protection for Microsoft Defender Advanced Threat Protection on macOS.”
        Parameters:
        advancedThreatProtectionRealTime - value of advancedThreatProtectionRealTime property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • fileVaultAllowDeferralUntilSignOut

        public MacOSEndpointProtectionConfiguration.Builder fileVaultAllowDeferralUntilSignOut​(Boolean fileVaultAllowDeferralUntilSignOut)
        “Optional. If set to true, the user can defer the enabling of FileVault until they sign out.”
        Parameters:
        fileVaultAllowDeferralUntilSignOut - value of fileVaultAllowDeferralUntilSignOut property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • fileVaultDisablePromptAtSignOut

        public MacOSEndpointProtectionConfiguration.Builder fileVaultDisablePromptAtSignOut​(Boolean fileVaultDisablePromptAtSignOut)
        “Optional. When using the Defer option, if set to true, the user is not prompted to enable FileVault at sign-out.”
        Parameters:
        fileVaultDisablePromptAtSignOut - value of fileVaultDisablePromptAtSignOut property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • fileVaultEnabled

        public MacOSEndpointProtectionConfiguration.Builder fileVaultEnabled​(Boolean fileVaultEnabled)
        “Whether FileVault should be enabled or not.”
        Parameters:
        fileVaultEnabled - value of fileVaultEnabled property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • fileVaultHidePersonalRecoveryKey

        public MacOSEndpointProtectionConfiguration.Builder fileVaultHidePersonalRecoveryKey​(Boolean fileVaultHidePersonalRecoveryKey)
        “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 - value of fileVaultHidePersonalRecoveryKey property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • fileVaultInstitutionalRecoveryKeyCertificate

        public MacOSEndpointProtectionConfiguration.Builder fileVaultInstitutionalRecoveryKeyCertificate​(byte[] fileVaultInstitutionalRecoveryKeyCertificate)
        “Required if selected recovery key type(s) include InstitutionalRecoveryKey. The DER Encoded certificate file used to set an institutional recovery key.”
        Parameters:
        fileVaultInstitutionalRecoveryKeyCertificate - value of fileVaultInstitutionalRecoveryKeyCertificate property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • fileVaultInstitutionalRecoveryKeyCertificateFileName

        public MacOSEndpointProtectionConfiguration.Builder fileVaultInstitutionalRecoveryKeyCertificateFileName​(String fileVaultInstitutionalRecoveryKeyCertificateFileName)
        “File name of the institutional recovery key certificate to display in UI. (*.der ).”
        Parameters:
        fileVaultInstitutionalRecoveryKeyCertificateFileName - value of fileVaultInstitutionalRecoveryKeyCertificateFileName property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • fileVaultNumberOfTimesUserCanIgnore

        public MacOSEndpointProtectionConfiguration.Builder fileVaultNumberOfTimesUserCanIgnore​(Integer fileVaultNumberOfTimesUserCanIgnore)
        “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 - value of fileVaultNumberOfTimesUserCanIgnore property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • fileVaultPersonalRecoveryKeyHelpMessage

        public MacOSEndpointProtectionConfiguration.Builder fileVaultPersonalRecoveryKeyHelpMessage​(String fileVaultPersonalRecoveryKeyHelpMessage)
        “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 - value of fileVaultPersonalRecoveryKeyHelpMessage property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • fileVaultPersonalRecoveryKeyRotationInMonths

        public MacOSEndpointProtectionConfiguration.Builder fileVaultPersonalRecoveryKeyRotationInMonths​(Integer fileVaultPersonalRecoveryKeyRotationInMonths)
        “Optional. If selected recovery key type(s) include PersonalRecoveryKey, the frequency to rotate that key, in months.”
        Parameters:
        fileVaultPersonalRecoveryKeyRotationInMonths - value of fileVaultPersonalRecoveryKeyRotationInMonths property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • fileVaultSelectedRecoveryKeyTypes

        public MacOSEndpointProtectionConfiguration.Builder fileVaultSelectedRecoveryKeyTypes​(MacOSFileVaultRecoveryKeyTypes fileVaultSelectedRecoveryKeyTypes)
        “Required if FileVault is enabled, determines the type(s) of recovery key to use.”
        Parameters:
        fileVaultSelectedRecoveryKeyTypes - value of fileVaultSelectedRecoveryKeyTypes property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • firewallApplications

        public MacOSEndpointProtectionConfiguration.Builder firewallApplications​(List<MacOSFirewallApplication> firewallApplications)
        “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 - value of firewallApplications property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • firewallApplications

        public MacOSEndpointProtectionConfiguration.Builder firewallApplications​(MacOSFirewallApplication... firewallApplications)
        “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 - value of firewallApplications property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • firewallApplicationsNextLink

        public MacOSEndpointProtectionConfiguration.Builder firewallApplicationsNextLink​(String firewallApplicationsNextLink)
        “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:
        firewallApplicationsNextLink - value of firewallApplications@nextLink property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • firewallBlockAllIncoming

        public MacOSEndpointProtectionConfiguration.Builder firewallBlockAllIncoming​(Boolean firewallBlockAllIncoming)
        “Corresponds to the “Block all incoming connections” option.”
        Parameters:
        firewallBlockAllIncoming - value of firewallBlockAllIncoming property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • firewallEnabled

        public MacOSEndpointProtectionConfiguration.Builder firewallEnabled​(Boolean firewallEnabled)
        “Whether the firewall should be enabled or not.”
        Parameters:
        firewallEnabled - value of firewallEnabled property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • firewallEnableStealthMode

        public MacOSEndpointProtectionConfiguration.Builder firewallEnableStealthMode​(Boolean firewallEnableStealthMode)
        “Corresponds to “Enable stealth mode.””
        Parameters:
        firewallEnableStealthMode - value of firewallEnableStealthMode property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • gatekeeperAllowedAppSource

        public MacOSEndpointProtectionConfiguration.Builder gatekeeperAllowedAppSource​(MacOSGatekeeperAppSources gatekeeperAllowedAppSource)
        “System and Privacy setting that determines which download locations apps can be run from on a macOS device.”
        Parameters:
        gatekeeperAllowedAppSource - value of gatekeeperAllowedAppSource property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • gatekeeperBlockOverride

        public MacOSEndpointProtectionConfiguration.Builder gatekeeperBlockOverride​(Boolean gatekeeperBlockOverride)
        “If set to true, the user override for Gatekeeper will be disabled.”
        Parameters:
        gatekeeperBlockOverride - value of gatekeeperBlockOverride property (as defined in service metadata)
        Returns:
        this (for method chaining)