Class MacOSDeviceFeaturesConfiguration.Builder

    • Method Detail

      • adminShowHostInfo

        public MacOSDeviceFeaturesConfiguration.Builder adminShowHostInfo​(Boolean adminShowHostInfo)
        “Whether to show admin host information on the login window.”
        Parameters:
        adminShowHostInfo - value of adminShowHostInfo property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • appAssociatedDomains

        public MacOSDeviceFeaturesConfiguration.Builder appAssociatedDomains​(List<MacOSAssociatedDomainsItem> appAssociatedDomains)
        “Gets or sets a list that maps apps to their associated domains. Application identifiers must be unique. This collection can contain a maximum of 500 elements.”
        Parameters:
        appAssociatedDomains - value of appAssociatedDomains property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • appAssociatedDomains

        public MacOSDeviceFeaturesConfiguration.Builder appAssociatedDomains​(MacOSAssociatedDomainsItem... appAssociatedDomains)
        “Gets or sets a list that maps apps to their associated domains. Application identifiers must be unique. This collection can contain a maximum of 500 elements.”
        Parameters:
        appAssociatedDomains - value of appAssociatedDomains property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • appAssociatedDomainsNextLink

        public MacOSDeviceFeaturesConfiguration.Builder appAssociatedDomainsNextLink​(String appAssociatedDomainsNextLink)
        “Gets or sets a list that maps apps to their associated domains. Application identifiers must be unique. This collection can contain a maximum of 500 elements.”
        Parameters:
        appAssociatedDomainsNextLink - value of appAssociatedDomains@nextLink property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • associatedDomains

        public MacOSDeviceFeaturesConfiguration.Builder associatedDomains​(List<KeyValuePair> associatedDomains)
        “DEPRECATED: use appAssociatedDomains instead. Gets or sets a list that maps apps to their associated domains. The key should match the app's ID, and the value should be a string in the form of "service:domain" where domain is a fully qualified hostname (e.g. webcredentials:example.com). This collection can contain a maximum of 500 elements.”
        Parameters:
        associatedDomains - value of associatedDomains property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • associatedDomains

        public MacOSDeviceFeaturesConfiguration.Builder associatedDomains​(KeyValuePair... associatedDomains)
        “DEPRECATED: use appAssociatedDomains instead. Gets or sets a list that maps apps to their associated domains. The key should match the app's ID, and the value should be a string in the form of "service:domain" where domain is a fully qualified hostname (e.g. webcredentials:example.com). This collection can contain a maximum of 500 elements.”
        Parameters:
        associatedDomains - value of associatedDomains property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • associatedDomainsNextLink

        public MacOSDeviceFeaturesConfiguration.Builder associatedDomainsNextLink​(String associatedDomainsNextLink)
        “DEPRECATED: use appAssociatedDomains instead. Gets or sets a list that maps apps to their associated domains. The key should match the app's ID, and the value should be a string in the form of "service:domain" where domain is a fully qualified hostname (e.g. webcredentials:example.com). This collection can contain a maximum of 500 elements.”
        Parameters:
        associatedDomainsNextLink - value of associatedDomains@nextLink property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • authorizedUsersListHidden

        public MacOSDeviceFeaturesConfiguration.Builder authorizedUsersListHidden​(Boolean authorizedUsersListHidden)
        “Whether to show the name and password dialog or a list of users on the login window.”
        Parameters:
        authorizedUsersListHidden - value of authorizedUsersListHidden property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • authorizedUsersListHideAdminUsers

        public MacOSDeviceFeaturesConfiguration.Builder authorizedUsersListHideAdminUsers​(Boolean authorizedUsersListHideAdminUsers)
        “Whether to hide admin users in the authorized users list on the login window.”
        Parameters:
        authorizedUsersListHideAdminUsers - value of authorizedUsersListHideAdminUsers property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • authorizedUsersListHideLocalUsers

        public MacOSDeviceFeaturesConfiguration.Builder authorizedUsersListHideLocalUsers​(Boolean authorizedUsersListHideLocalUsers)
        “Whether to show only network and system users in the authorized users list on the login window.”
        Parameters:
        authorizedUsersListHideLocalUsers - value of authorizedUsersListHideLocalUsers property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • authorizedUsersListHideMobileAccounts

        public MacOSDeviceFeaturesConfiguration.Builder authorizedUsersListHideMobileAccounts​(Boolean authorizedUsersListHideMobileAccounts)
        “Whether to hide mobile users in the authorized users list on the login window.”
        Parameters:
        authorizedUsersListHideMobileAccounts - value of authorizedUsersListHideMobileAccounts property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • authorizedUsersListIncludeNetworkUsers

        public MacOSDeviceFeaturesConfiguration.Builder authorizedUsersListIncludeNetworkUsers​(Boolean authorizedUsersListIncludeNetworkUsers)
        “Whether to show network users in the authorized users list on the login window.”
        Parameters:
        authorizedUsersListIncludeNetworkUsers - value of authorizedUsersListIncludeNetworkUsers property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • authorizedUsersListShowOtherManagedUsers

        public MacOSDeviceFeaturesConfiguration.Builder authorizedUsersListShowOtherManagedUsers​(Boolean authorizedUsersListShowOtherManagedUsers)
        “Whether to show other users in the authorized users list on the login window.”
        Parameters:
        authorizedUsersListShowOtherManagedUsers - value of authorizedUsersListShowOtherManagedUsers property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • autoLaunchItems

        public MacOSDeviceFeaturesConfiguration.Builder autoLaunchItems​(List<MacOSLaunchItem> autoLaunchItems)
        “List of applications, files, folders, and other items to launch when the user logs in. This collection can contain a maximum of 500 elements.”
        Parameters:
        autoLaunchItems - value of autoLaunchItems property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • autoLaunchItems

        public MacOSDeviceFeaturesConfiguration.Builder autoLaunchItems​(MacOSLaunchItem... autoLaunchItems)
        “List of applications, files, folders, and other items to launch when the user logs in. This collection can contain a maximum of 500 elements.”
        Parameters:
        autoLaunchItems - value of autoLaunchItems property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • autoLaunchItemsNextLink

        public MacOSDeviceFeaturesConfiguration.Builder autoLaunchItemsNextLink​(String autoLaunchItemsNextLink)
        “List of applications, files, folders, and other items to launch when the user logs in. This collection can contain a maximum of 500 elements.”
        Parameters:
        autoLaunchItemsNextLink - value of autoLaunchItems@nextLink property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • consoleAccessDisabled

        public MacOSDeviceFeaturesConfiguration.Builder consoleAccessDisabled​(Boolean consoleAccessDisabled)
        “Whether the Other user will disregard use of the `&gt;console&gt; special user name.”
        Parameters:
        consoleAccessDisabled - value of consoleAccessDisabled property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • contentCachingBlockDeletion

        public MacOSDeviceFeaturesConfiguration.Builder contentCachingBlockDeletion​(Boolean contentCachingBlockDeletion)
        “Prevents content caches from purging content to free up disk space for other apps.”
        Parameters:
        contentCachingBlockDeletion - value of contentCachingBlockDeletion property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • contentCachingClientListenRanges

        public MacOSDeviceFeaturesConfiguration.Builder contentCachingClientListenRanges​(List<IpRange> contentCachingClientListenRanges)
        “A list of custom IP ranges content caches will use to listen for clients. This collection can contain a maximum of 500 elements.”
        Parameters:
        contentCachingClientListenRanges - value of contentCachingClientListenRanges property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • contentCachingClientListenRanges

        public MacOSDeviceFeaturesConfiguration.Builder contentCachingClientListenRanges​(IpRange... contentCachingClientListenRanges)
        “A list of custom IP ranges content caches will use to listen for clients. This collection can contain a maximum of 500 elements.”
        Parameters:
        contentCachingClientListenRanges - value of contentCachingClientListenRanges property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • contentCachingClientListenRangesNextLink

        public MacOSDeviceFeaturesConfiguration.Builder contentCachingClientListenRangesNextLink​(String contentCachingClientListenRangesNextLink)
        “A list of custom IP ranges content caches will use to listen for clients. This collection can contain a maximum of 500 elements.”
        Parameters:
        contentCachingClientListenRangesNextLink - value of contentCachingClientListenRanges@nextLink property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • contentCachingClientPolicy

        public MacOSDeviceFeaturesConfiguration.Builder contentCachingClientPolicy​(MacOSContentCachingClientPolicy contentCachingClientPolicy)
        “Determines the method in which content caching servers will listen for clients.”
        Parameters:
        contentCachingClientPolicy - value of contentCachingClientPolicy property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • contentCachingDataPath

        public MacOSDeviceFeaturesConfiguration.Builder contentCachingDataPath​(String contentCachingDataPath)
        “The path to the directory used to store cached content. The value must be (or end with) /Library/Application Support/Apple/AssetCache/Data”
        Parameters:
        contentCachingDataPath - value of contentCachingDataPath property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • contentCachingDisableConnectionSharing

        public MacOSDeviceFeaturesConfiguration.Builder contentCachingDisableConnectionSharing​(Boolean contentCachingDisableConnectionSharing)
        “Disables internet connection sharing.”
        Parameters:
        contentCachingDisableConnectionSharing - value of contentCachingDisableConnectionSharing property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • contentCachingEnabled

        public MacOSDeviceFeaturesConfiguration.Builder contentCachingEnabled​(Boolean contentCachingEnabled)
        “Enables content caching and prevents it from being disabled by the user.”
        Parameters:
        contentCachingEnabled - value of contentCachingEnabled property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • contentCachingForceConnectionSharing

        public MacOSDeviceFeaturesConfiguration.Builder contentCachingForceConnectionSharing​(Boolean contentCachingForceConnectionSharing)
        “Forces internet connection sharing. contentCachingDisableConnectionSharing overrides this setting.”
        Parameters:
        contentCachingForceConnectionSharing - value of contentCachingForceConnectionSharing property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • contentCachingKeepAwake

        public MacOSDeviceFeaturesConfiguration.Builder contentCachingKeepAwake​(Boolean contentCachingKeepAwake)
        “Prevent the device from sleeping if content caching is enabled.”
        Parameters:
        contentCachingKeepAwake - value of contentCachingKeepAwake property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • contentCachingLogClientIdentities

        public MacOSDeviceFeaturesConfiguration.Builder contentCachingLogClientIdentities​(Boolean contentCachingLogClientIdentities)
        “Enables logging of IP addresses and ports of clients that request cached content .”
        Parameters:
        contentCachingLogClientIdentities - value of contentCachingLogClientIdentities property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • contentCachingMaxSizeBytes

        public MacOSDeviceFeaturesConfiguration.Builder contentCachingMaxSizeBytes​(Integer contentCachingMaxSizeBytes)
        “The maximum number of bytes of disk space that will be used for the content cache. A value of 0 (default) indicates unlimited disk space.”
        Parameters:
        contentCachingMaxSizeBytes - value of contentCachingMaxSizeBytes property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • contentCachingParents

        public MacOSDeviceFeaturesConfiguration.Builder contentCachingParents​(List<String> contentCachingParents)
        “A list of IP addresses representing parent content caches.”
        Parameters:
        contentCachingParents - value of contentCachingParents property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • contentCachingParents

        public MacOSDeviceFeaturesConfiguration.Builder contentCachingParents​(String... contentCachingParents)
        “A list of IP addresses representing parent content caches.”
        Parameters:
        contentCachingParents - value of contentCachingParents property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • contentCachingParentsNextLink

        public MacOSDeviceFeaturesConfiguration.Builder contentCachingParentsNextLink​(String contentCachingParentsNextLink)
        “A list of IP addresses representing parent content caches.”
        Parameters:
        contentCachingParentsNextLink - value of contentCachingParents@nextLink property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • contentCachingParentSelectionPolicy

        public MacOSDeviceFeaturesConfiguration.Builder contentCachingParentSelectionPolicy​(MacOSContentCachingParentSelectionPolicy contentCachingParentSelectionPolicy)
        “Determines the method in which content caching servers will select parents if multiple are present.”
        Parameters:
        contentCachingParentSelectionPolicy - value of contentCachingParentSelectionPolicy property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • contentCachingPeerFilterRanges

        public MacOSDeviceFeaturesConfiguration.Builder contentCachingPeerFilterRanges​(List<IpRange> contentCachingPeerFilterRanges)
        “A list of custom IP ranges content caches will use to query for content from peers caches. This collection can contain a maximum of 500 elements.”
        Parameters:
        contentCachingPeerFilterRanges - value of contentCachingPeerFilterRanges property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • contentCachingPeerFilterRanges

        public MacOSDeviceFeaturesConfiguration.Builder contentCachingPeerFilterRanges​(IpRange... contentCachingPeerFilterRanges)
        “A list of custom IP ranges content caches will use to query for content from peers caches. This collection can contain a maximum of 500 elements.”
        Parameters:
        contentCachingPeerFilterRanges - value of contentCachingPeerFilterRanges property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • contentCachingPeerFilterRangesNextLink

        public MacOSDeviceFeaturesConfiguration.Builder contentCachingPeerFilterRangesNextLink​(String contentCachingPeerFilterRangesNextLink)
        “A list of custom IP ranges content caches will use to query for content from peers caches. This collection can contain a maximum of 500 elements.”
        Parameters:
        contentCachingPeerFilterRangesNextLink - value of contentCachingPeerFilterRanges@nextLink property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • contentCachingPeerListenRanges

        public MacOSDeviceFeaturesConfiguration.Builder contentCachingPeerListenRanges​(List<IpRange> contentCachingPeerListenRanges)
        “A list of custom IP ranges content caches will use to listen for peer caches. This collection can contain a maximum of 500 elements.”
        Parameters:
        contentCachingPeerListenRanges - value of contentCachingPeerListenRanges property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • contentCachingPeerListenRanges

        public MacOSDeviceFeaturesConfiguration.Builder contentCachingPeerListenRanges​(IpRange... contentCachingPeerListenRanges)
        “A list of custom IP ranges content caches will use to listen for peer caches. This collection can contain a maximum of 500 elements.”
        Parameters:
        contentCachingPeerListenRanges - value of contentCachingPeerListenRanges property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • contentCachingPeerListenRangesNextLink

        public MacOSDeviceFeaturesConfiguration.Builder contentCachingPeerListenRangesNextLink​(String contentCachingPeerListenRangesNextLink)
        “A list of custom IP ranges content caches will use to listen for peer caches. This collection can contain a maximum of 500 elements.”
        Parameters:
        contentCachingPeerListenRangesNextLink - value of contentCachingPeerListenRanges@nextLink property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • contentCachingPeerPolicy

        public MacOSDeviceFeaturesConfiguration.Builder contentCachingPeerPolicy​(MacOSContentCachingPeerPolicy contentCachingPeerPolicy)
        “Determines the method in which content caches peer with other caches.”
        Parameters:
        contentCachingPeerPolicy - value of contentCachingPeerPolicy property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • contentCachingPort

        public MacOSDeviceFeaturesConfiguration.Builder contentCachingPort​(Integer contentCachingPort)
        “Sets the port used for content caching. If the value is 0, a random available port will be selected. Valid values 0 to 65535”
        Parameters:
        contentCachingPort - value of contentCachingPort property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • contentCachingPublicRanges

        public MacOSDeviceFeaturesConfiguration.Builder contentCachingPublicRanges​(List<IpRange> contentCachingPublicRanges)
        “A list of custom IP ranges that Apple's content caching service should use to match clients to content caches. This collection can contain a maximum of 500 elements.”
        Parameters:
        contentCachingPublicRanges - value of contentCachingPublicRanges property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • contentCachingPublicRanges

        public MacOSDeviceFeaturesConfiguration.Builder contentCachingPublicRanges​(IpRange... contentCachingPublicRanges)
        “A list of custom IP ranges that Apple's content caching service should use to match clients to content caches. This collection can contain a maximum of 500 elements.”
        Parameters:
        contentCachingPublicRanges - value of contentCachingPublicRanges property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • contentCachingPublicRangesNextLink

        public MacOSDeviceFeaturesConfiguration.Builder contentCachingPublicRangesNextLink​(String contentCachingPublicRangesNextLink)
        “A list of custom IP ranges that Apple's content caching service should use to match clients to content caches. This collection can contain a maximum of 500 elements.”
        Parameters:
        contentCachingPublicRangesNextLink - value of contentCachingPublicRanges@nextLink property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • contentCachingShowAlerts

        public MacOSDeviceFeaturesConfiguration.Builder contentCachingShowAlerts​(Boolean contentCachingShowAlerts)
        “Display content caching alerts as system notifications.”
        Parameters:
        contentCachingShowAlerts - value of contentCachingShowAlerts property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • contentCachingType

        public MacOSDeviceFeaturesConfiguration.Builder contentCachingType​(MacOSContentCachingType contentCachingType)
        “Determines what type of content is allowed to be cached by Apple's content caching service.”
        Parameters:
        contentCachingType - value of contentCachingType property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • loginWindowText

        public MacOSDeviceFeaturesConfiguration.Builder loginWindowText​(String loginWindowText)
        “Custom text to be displayed on the login window.”
        Parameters:
        loginWindowText - value of loginWindowText property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • logOutDisabledWhileLoggedIn

        public MacOSDeviceFeaturesConfiguration.Builder logOutDisabledWhileLoggedIn​(Boolean logOutDisabledWhileLoggedIn)
        “Whether the Log Out menu item on the login window will be disabled while the user is logged in.”
        Parameters:
        logOutDisabledWhileLoggedIn - value of logOutDisabledWhileLoggedIn property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • macOSSingleSignOnExtension

        public MacOSDeviceFeaturesConfiguration.Builder macOSSingleSignOnExtension​(MacOSSingleSignOnExtension macOSSingleSignOnExtension)
        “Gets or sets a single sign-on extension profile.”
        Parameters:
        macOSSingleSignOnExtension - value of macOSSingleSignOnExtension property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • powerOffDisabledWhileLoggedIn

        public MacOSDeviceFeaturesConfiguration.Builder powerOffDisabledWhileLoggedIn​(Boolean powerOffDisabledWhileLoggedIn)
        “Whether the Power Off menu item on the login window will be disabled while the user is logged in.”
        Parameters:
        powerOffDisabledWhileLoggedIn - value of powerOffDisabledWhileLoggedIn property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • restartDisabled

        public MacOSDeviceFeaturesConfiguration.Builder restartDisabled​(Boolean restartDisabled)
        “Whether to hide the Restart button item on the login window.”
        Parameters:
        restartDisabled - value of restartDisabled property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • restartDisabledWhileLoggedIn

        public MacOSDeviceFeaturesConfiguration.Builder restartDisabledWhileLoggedIn​(Boolean restartDisabledWhileLoggedIn)
        “Whether the Restart menu item on the login window will be disabled while the user is logged in.”
        Parameters:
        restartDisabledWhileLoggedIn - value of restartDisabledWhileLoggedIn property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • screenLockDisableImmediate

        public MacOSDeviceFeaturesConfiguration.Builder screenLockDisableImmediate​(Boolean screenLockDisableImmediate)
        “Whether to disable the immediate screen lock functions.”
        Parameters:
        screenLockDisableImmediate - value of screenLockDisableImmediate property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • shutDownDisabled

        public MacOSDeviceFeaturesConfiguration.Builder shutDownDisabled​(Boolean shutDownDisabled)
        “Whether to hide the Shut Down button item on the login window.”
        Parameters:
        shutDownDisabled - value of shutDownDisabled property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • shutDownDisabledWhileLoggedIn

        public MacOSDeviceFeaturesConfiguration.Builder shutDownDisabledWhileLoggedIn​(Boolean shutDownDisabledWhileLoggedIn)
        “Whether the Shut Down menu item on the login window will be disabled while the user is logged in.”
        Parameters:
        shutDownDisabledWhileLoggedIn - value of shutDownDisabledWhileLoggedIn property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • singleSignOnExtension

        public MacOSDeviceFeaturesConfiguration.Builder singleSignOnExtension​(SingleSignOnExtension singleSignOnExtension)
        “Gets or sets a single sign-on extension profile. Deprecated: use MacOSSingleSignOnExtension instead.”
        Parameters:
        singleSignOnExtension - value of singleSignOnExtension property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • sleepDisabled

        public MacOSDeviceFeaturesConfiguration.Builder sleepDisabled​(Boolean sleepDisabled)
        “Whether to hide the Sleep menu item on the login window.”
        Parameters:
        sleepDisabled - value of sleepDisabled property (as defined in service metadata)
        Returns:
        this (for method chaining)