Package odata.msgraph.client.beta.entity
Class MacOSGeneralDeviceConfiguration.Builder
- java.lang.Object
-
- odata.msgraph.client.beta.entity.MacOSGeneralDeviceConfiguration.Builder
-
- Enclosing class:
- MacOSGeneralDeviceConfiguration
public static final class MacOSGeneralDeviceConfiguration.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MacOSGeneralDeviceConfiguration.BuilderaddingGameCenterFriendsBlocked(Boolean addingGameCenterFriendsBlocked)“Yes prevents users from adding friends to Game Center.MacOSGeneralDeviceConfiguration.BuilderairDropBlocked(Boolean airDropBlocked)“Indicates whether or not to allow AirDrop.”MacOSGeneralDeviceConfiguration.BuilderappleWatchBlockAutoUnlock(Boolean appleWatchBlockAutoUnlock)“Indicates whether or to block users from unlocking their Mac with Apple Watch.”MacOSGeneralDeviceConfigurationbuild()MacOSGeneralDeviceConfiguration.BuildercameraBlocked(Boolean cameraBlocked)“Indicates whether or not to block the user from accessing the camera of the device.”MacOSGeneralDeviceConfiguration.BuilderclassroomAppBlockRemoteScreenObservation(Boolean classroomAppBlockRemoteScreenObservation)“Indicates whether or not to allow remote screen observation by Classroom app.MacOSGeneralDeviceConfiguration.BuilderclassroomAppForceUnpromptedScreenObservation(Boolean classroomAppForceUnpromptedScreenObservation)“Indicates whether or not to automatically give permission to the teacher of a managed course on the Classroom app to view a student's screen without prompting .MacOSGeneralDeviceConfiguration.BuilderclassroomForceAutomaticallyJoinClasses(Boolean classroomForceAutomaticallyJoinClasses)“Indicates whether or not to automatically give permission to the teacher's requests, without prompting the student.MacOSGeneralDeviceConfiguration.BuilderclassroomForceRequestPermissionToLeaveClasses(Boolean classroomForceRequestPermissionToLeaveClasses)“Indicates whether a student enrolled in an unmanaged course via Classroom will be required to request permission from the teacher when attempting to leave the course.MacOSGeneralDeviceConfiguration.BuilderclassroomForceUnpromptedAppAndDeviceLock(Boolean classroomForceUnpromptedAppAndDeviceLock)“Indicates whether or not to allow the teacher to lock apps or the device without prompting the student.MacOSGeneralDeviceConfiguration.BuildercompliantAppListType(AppListType compliantAppListType)“List that is in the CompliantAppsList.”MacOSGeneralDeviceConfiguration.BuildercompliantAppsList(List<AppListItem> compliantAppsList)“List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType).MacOSGeneralDeviceConfiguration.BuildercompliantAppsList(AppListItem... compliantAppsList)“List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType).MacOSGeneralDeviceConfiguration.BuildercompliantAppsListNextLink(String compliantAppsListNextLink)“List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType).MacOSGeneralDeviceConfiguration.BuildercontentCachingBlocked(Boolean contentCachingBlocked)“Indicates whether or not to allow content caching.”MacOSGeneralDeviceConfiguration.BuildercreatedDateTime(OffsetDateTime createdDateTime)MacOSGeneralDeviceConfiguration.BuilderdefinitionLookupBlocked(Boolean definitionLookupBlocked)“Indicates whether or not to block definition lookup.”MacOSGeneralDeviceConfiguration.Builderdescription(String description)MacOSGeneralDeviceConfiguration.BuilderdeviceManagementApplicabilityRuleDeviceMode(DeviceManagementApplicabilityRuleDeviceMode deviceManagementApplicabilityRuleDeviceMode)MacOSGeneralDeviceConfiguration.BuilderdeviceManagementApplicabilityRuleOsEdition(DeviceManagementApplicabilityRuleOsEdition deviceManagementApplicabilityRuleOsEdition)MacOSGeneralDeviceConfiguration.BuilderdeviceManagementApplicabilityRuleOsVersion(DeviceManagementApplicabilityRuleOsVersion deviceManagementApplicabilityRuleOsVersion)MacOSGeneralDeviceConfiguration.BuilderdisplayName(String displayName)MacOSGeneralDeviceConfiguration.BuilderemailInDomainSuffixes(String... emailInDomainSuffixes)“An email address lacking a suffix that matches any of these strings will be considered out-of-domain.”MacOSGeneralDeviceConfiguration.BuilderemailInDomainSuffixes(List<String> emailInDomainSuffixes)“An email address lacking a suffix that matches any of these strings will be considered out-of-domain.”MacOSGeneralDeviceConfiguration.BuilderemailInDomainSuffixesNextLink(String emailInDomainSuffixesNextLink)“An email address lacking a suffix that matches any of these strings will be considered out-of-domain.”MacOSGeneralDeviceConfiguration.BuildereraseContentAndSettingsBlocked(Boolean eraseContentAndSettingsBlocked)“TRUE disables the reset option on supervised devices.MacOSGeneralDeviceConfiguration.BuildergameCenterBlocked(Boolean gameCenterBlocked)“Yes disables Game Center, and the Game Center icon is removed from the Home screen.MacOSGeneralDeviceConfiguration.BuilderiCloudBlockActivityContinuation(Boolean iCloudBlockActivityContinuation)“Indicates whether or not to block the user from continuing work that they started on a MacOS device on another iOS or MacOS device (MacOS 10.15 or later).”MacOSGeneralDeviceConfiguration.BuilderiCloudBlockAddressBook(Boolean iCloudBlockAddressBook)“Indicates whether or not to block iCloud from syncing contacts.”MacOSGeneralDeviceConfiguration.BuilderiCloudBlockBookmarks(Boolean iCloudBlockBookmarks)“Indicates whether or not to block iCloud from syncing bookmarks.”MacOSGeneralDeviceConfiguration.BuilderiCloudBlockCalendar(Boolean iCloudBlockCalendar)“Indicates whether or not to block iCloud from syncing calendars.”MacOSGeneralDeviceConfiguration.BuilderiCloudBlockDocumentSync(Boolean iCloudBlockDocumentSync)“Indicates whether or not to block iCloud document sync.”MacOSGeneralDeviceConfiguration.BuilderiCloudBlockMail(Boolean iCloudBlockMail)“Indicates whether or not to block iCloud from syncing mail.”MacOSGeneralDeviceConfiguration.BuilderiCloudBlockNotes(Boolean iCloudBlockNotes)“Indicates whether or not to block iCloud from syncing notes.”MacOSGeneralDeviceConfiguration.BuilderiCloudBlockPhotoLibrary(Boolean iCloudBlockPhotoLibrary)“Indicates whether or not to block iCloud Photo Library.”MacOSGeneralDeviceConfiguration.BuilderiCloudBlockReminders(Boolean iCloudBlockReminders)“Indicates whether or not to block iCloud from syncing reminders.”MacOSGeneralDeviceConfiguration.Builderid(String id)MacOSGeneralDeviceConfiguration.BuilderiTunesBlockFileSharing(Boolean iTunesBlockFileSharing)“Indicates whether or not to block files from being transferred using iTunes.”MacOSGeneralDeviceConfiguration.BuilderiTunesBlockMusicService(Boolean iTunesBlockMusicService)“Indicates whether or not to block Music service and revert Music app to classic mode.”MacOSGeneralDeviceConfiguration.BuilderkeyboardBlockDictation(Boolean keyboardBlockDictation)“Indicates whether or not to block the user from using dictation input.”MacOSGeneralDeviceConfiguration.BuilderkeychainBlockCloudSync(Boolean keychainBlockCloudSync)“Indicates whether or not iCloud keychain synchronization is blocked (macOS 10.12 and later).”MacOSGeneralDeviceConfiguration.BuilderlastModifiedDateTime(OffsetDateTime lastModifiedDateTime)MacOSGeneralDeviceConfiguration.BuildermultiplayerGamingBlocked(Boolean multiplayerGamingBlocked)“TRUE prevents multiplayer gaming when using Game Center.MacOSGeneralDeviceConfiguration.BuilderpasswordBlockAirDropSharing(Boolean passwordBlockAirDropSharing)“Indicates whether or not to block sharing passwords with the AirDrop passwords feature.”MacOSGeneralDeviceConfiguration.BuilderpasswordBlockAutoFill(Boolean passwordBlockAutoFill)“Indicates whether or not to block the AutoFill Passwords feature.”MacOSGeneralDeviceConfiguration.BuilderpasswordBlockFingerprintUnlock(Boolean passwordBlockFingerprintUnlock)“Indicates whether or not to block fingerprint unlock.”MacOSGeneralDeviceConfiguration.BuilderpasswordBlockModification(Boolean passwordBlockModification)“Indicates whether or not to allow passcode modification.”MacOSGeneralDeviceConfiguration.BuilderpasswordBlockProximityRequests(Boolean passwordBlockProximityRequests)“Indicates whether or not to block requesting passwords from nearby devices.”MacOSGeneralDeviceConfiguration.BuilderpasswordBlockSimple(Boolean passwordBlockSimple)“Block simple passwords.”MacOSGeneralDeviceConfiguration.BuilderpasswordExpirationDays(Integer passwordExpirationDays)“Number of days before the password expires.”MacOSGeneralDeviceConfiguration.BuilderpasswordMaximumAttemptCount(Integer passwordMaximumAttemptCount)“The number of allowed failed attempts to enter the passcode at the device's lock screen.MacOSGeneralDeviceConfiguration.BuilderpasswordMinimumCharacterSetCount(Integer passwordMinimumCharacterSetCount)“Number of character sets a password must contain.MacOSGeneralDeviceConfiguration.BuilderpasswordMinimumLength(Integer passwordMinimumLength)“Minimum length of passwords.”MacOSGeneralDeviceConfiguration.BuilderpasswordMinutesOfInactivityBeforeLock(Integer passwordMinutesOfInactivityBeforeLock)“Minutes of inactivity required before a password is required.”MacOSGeneralDeviceConfiguration.BuilderpasswordMinutesOfInactivityBeforeScreenTimeout(Integer passwordMinutesOfInactivityBeforeScreenTimeout)“Minutes of inactivity required before the screen times out.”MacOSGeneralDeviceConfiguration.BuilderpasswordMinutesUntilFailedLoginReset(Integer passwordMinutesUntilFailedLoginReset)“The number of minutes before the login is reset after the maximum number of unsuccessful login attempts is reached.”MacOSGeneralDeviceConfiguration.BuilderpasswordPreviousPasswordBlockCount(Integer passwordPreviousPasswordBlockCount)“Number of previous passwords to block.”MacOSGeneralDeviceConfiguration.BuilderpasswordRequired(Boolean passwordRequired)“Whether or not to require a password.”MacOSGeneralDeviceConfiguration.BuilderpasswordRequiredType(RequiredPasswordType passwordRequiredType)“Type of password that is required.”MacOSGeneralDeviceConfiguration.BuilderprivacyAccessControls(List<MacOSPrivacyAccessControlItem> privacyAccessControls)“List of privacy preference policy controls.MacOSGeneralDeviceConfiguration.BuilderprivacyAccessControls(MacOSPrivacyAccessControlItem... privacyAccessControls)“List of privacy preference policy controls.MacOSGeneralDeviceConfiguration.BuilderprivacyAccessControlsNextLink(String privacyAccessControlsNextLink)“List of privacy preference policy controls.MacOSGeneralDeviceConfiguration.BuilderroleScopeTagIds(String... roleScopeTagIds)MacOSGeneralDeviceConfiguration.BuilderroleScopeTagIds(List<String> roleScopeTagIds)MacOSGeneralDeviceConfiguration.BuilderroleScopeTagIdsNextLink(String roleScopeTagIdsNextLink)MacOSGeneralDeviceConfiguration.BuildersafariBlockAutofill(Boolean safariBlockAutofill)“Indicates whether or not to block the user from using Auto fill in Safari.”MacOSGeneralDeviceConfiguration.BuilderscreenCaptureBlocked(Boolean screenCaptureBlocked)“Indicates whether or not to block the user from taking Screenshots.”MacOSGeneralDeviceConfiguration.BuildersoftwareUpdateMajorOSDeferredInstallDelayInDays(Integer softwareUpdateMajorOSDeferredInstallDelayInDays)“Specify the number of days (1-90) to delay visibility of major OS software updates.MacOSGeneralDeviceConfiguration.BuildersoftwareUpdateMinorOSDeferredInstallDelayInDays(Integer softwareUpdateMinorOSDeferredInstallDelayInDays)“Specify the number of days (1-90) to delay visibility of minor OS software updates.MacOSGeneralDeviceConfiguration.BuildersoftwareUpdateNonOSDeferredInstallDelayInDays(Integer softwareUpdateNonOSDeferredInstallDelayInDays)“Specify the number of days (1-90) to delay visibility of non-OS software updates .MacOSGeneralDeviceConfiguration.BuildersoftwareUpdatesEnforcedDelayInDays(Integer softwareUpdatesEnforcedDelayInDays)“Sets how many days a software update will be delyed for a supervised device.MacOSGeneralDeviceConfiguration.BuilderspotlightBlockInternetResults(Boolean spotlightBlockInternetResults)“Indicates whether or not to block Spotlight from returning any results from an Internet search.”MacOSGeneralDeviceConfiguration.BuildersupportsScopeTags(Boolean supportsScopeTags)MacOSGeneralDeviceConfiguration.BuilderupdateDelayPolicy(MacOSSoftwareUpdateDelayPolicy updateDelayPolicy)“Determines whether to delay OS and/or app updates for macOS.”MacOSGeneralDeviceConfiguration.Builderversion(Integer version)MacOSGeneralDeviceConfiguration.BuilderwallpaperModificationBlocked(Boolean wallpaperModificationBlocked)“TRUE prevents the wallpaper from being changed.
-
-
-
Method Detail
-
id
public MacOSGeneralDeviceConfiguration.Builder id(String id)
-
createdDateTime
public MacOSGeneralDeviceConfiguration.Builder createdDateTime(OffsetDateTime createdDateTime)
-
description
public MacOSGeneralDeviceConfiguration.Builder description(String description)
-
deviceManagementApplicabilityRuleDeviceMode
public MacOSGeneralDeviceConfiguration.Builder deviceManagementApplicabilityRuleDeviceMode(DeviceManagementApplicabilityRuleDeviceMode deviceManagementApplicabilityRuleDeviceMode)
-
deviceManagementApplicabilityRuleOsEdition
public MacOSGeneralDeviceConfiguration.Builder deviceManagementApplicabilityRuleOsEdition(DeviceManagementApplicabilityRuleOsEdition deviceManagementApplicabilityRuleOsEdition)
-
deviceManagementApplicabilityRuleOsVersion
public MacOSGeneralDeviceConfiguration.Builder deviceManagementApplicabilityRuleOsVersion(DeviceManagementApplicabilityRuleOsVersion deviceManagementApplicabilityRuleOsVersion)
-
displayName
public MacOSGeneralDeviceConfiguration.Builder displayName(String displayName)
-
lastModifiedDateTime
public MacOSGeneralDeviceConfiguration.Builder lastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
-
roleScopeTagIds
public MacOSGeneralDeviceConfiguration.Builder roleScopeTagIds(List<String> roleScopeTagIds)
-
roleScopeTagIds
public MacOSGeneralDeviceConfiguration.Builder roleScopeTagIds(String... roleScopeTagIds)
-
roleScopeTagIdsNextLink
public MacOSGeneralDeviceConfiguration.Builder roleScopeTagIdsNextLink(String roleScopeTagIdsNextLink)
-
supportsScopeTags
public MacOSGeneralDeviceConfiguration.Builder supportsScopeTags(Boolean supportsScopeTags)
-
version
public MacOSGeneralDeviceConfiguration.Builder version(Integer version)
-
addingGameCenterFriendsBlocked
public MacOSGeneralDeviceConfiguration.Builder addingGameCenterFriendsBlocked(Boolean addingGameCenterFriendsBlocked)
“Yes prevents users from adding friends to Game Center. Available for devices running macOS versions 10.13 and later.”- Parameters:
addingGameCenterFriendsBlocked- value ofaddingGameCenterFriendsBlockedproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
airDropBlocked
public MacOSGeneralDeviceConfiguration.Builder airDropBlocked(Boolean airDropBlocked)
“Indicates whether or not to allow AirDrop.”- Parameters:
airDropBlocked- value ofairDropBlockedproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
appleWatchBlockAutoUnlock
public MacOSGeneralDeviceConfiguration.Builder appleWatchBlockAutoUnlock(Boolean appleWatchBlockAutoUnlock)
“Indicates whether or to block users from unlocking their Mac with Apple Watch.”- Parameters:
appleWatchBlockAutoUnlock- value ofappleWatchBlockAutoUnlockproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
cameraBlocked
public MacOSGeneralDeviceConfiguration.Builder cameraBlocked(Boolean cameraBlocked)
“Indicates whether or not to block the user from accessing the camera of the device.”- Parameters:
cameraBlocked- value ofcameraBlockedproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
classroomAppBlockRemoteScreenObservation
public MacOSGeneralDeviceConfiguration.Builder classroomAppBlockRemoteScreenObservation(Boolean classroomAppBlockRemoteScreenObservation)
“Indicates whether or not to allow remote screen observation by Classroom app. Requires MDM enrollment via Apple School Manager or Apple Business Manager.”- Parameters:
classroomAppBlockRemoteScreenObservation- value ofclassroomAppBlockRemoteScreenObservationproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
classroomAppForceUnpromptedScreenObservation
public MacOSGeneralDeviceConfiguration.Builder classroomAppForceUnpromptedScreenObservation(Boolean classroomAppForceUnpromptedScreenObservation)
“Indicates whether or not to automatically give permission to the teacher of a managed course on the Classroom app to view a student's screen without prompting . Requires MDM enrollment via Apple School Manager or Apple Business Manager.”- Parameters:
classroomAppForceUnpromptedScreenObservation- value ofclassroomAppForceUnpromptedScreenObservationproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
classroomForceAutomaticallyJoinClasses
public MacOSGeneralDeviceConfiguration.Builder classroomForceAutomaticallyJoinClasses(Boolean classroomForceAutomaticallyJoinClasses)
“Indicates whether or not to automatically give permission to the teacher's requests, without prompting the student. Requires MDM enrollment via Apple School Manager or Apple Business Manager.”- Parameters:
classroomForceAutomaticallyJoinClasses- value ofclassroomForceAutomaticallyJoinClassesproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
classroomForceRequestPermissionToLeaveClasses
public MacOSGeneralDeviceConfiguration.Builder classroomForceRequestPermissionToLeaveClasses(Boolean classroomForceRequestPermissionToLeaveClasses)
“Indicates whether a student enrolled in an unmanaged course via Classroom will be required to request permission from the teacher when attempting to leave the course. Requires MDM enrollment via Apple School Manager or Apple Business Manager.”- Parameters:
classroomForceRequestPermissionToLeaveClasses- value ofclassroomForceRequestPermissionToLeaveClassesproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
classroomForceUnpromptedAppAndDeviceLock
public MacOSGeneralDeviceConfiguration.Builder classroomForceUnpromptedAppAndDeviceLock(Boolean classroomForceUnpromptedAppAndDeviceLock)
“Indicates whether or not to allow the teacher to lock apps or the device without prompting the student. Requires MDM enrollment via Apple School Manager or Apple Business Manager.”- Parameters:
classroomForceUnpromptedAppAndDeviceLock- value ofclassroomForceUnpromptedAppAndDeviceLockproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
compliantAppListType
public MacOSGeneralDeviceConfiguration.Builder compliantAppListType(AppListType compliantAppListType)
“List that is in the CompliantAppsList.”- Parameters:
compliantAppListType- value ofcompliantAppListTypeproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
compliantAppsList
public MacOSGeneralDeviceConfiguration.Builder compliantAppsList(List<AppListItem> compliantAppsList)
“List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements.”- Parameters:
compliantAppsList- value ofcompliantAppsListproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
compliantAppsList
public MacOSGeneralDeviceConfiguration.Builder compliantAppsList(AppListItem... compliantAppsList)
“List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements.”- Parameters:
compliantAppsList- value ofcompliantAppsListproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
compliantAppsListNextLink
public MacOSGeneralDeviceConfiguration.Builder compliantAppsListNextLink(String compliantAppsListNextLink)
“List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements.”- Parameters:
compliantAppsListNextLink- value ofcompliantAppsList@nextLinkproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
contentCachingBlocked
public MacOSGeneralDeviceConfiguration.Builder contentCachingBlocked(Boolean contentCachingBlocked)
“Indicates whether or not to allow content caching.”- Parameters:
contentCachingBlocked- value ofcontentCachingBlockedproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
definitionLookupBlocked
public MacOSGeneralDeviceConfiguration.Builder definitionLookupBlocked(Boolean definitionLookupBlocked)
“Indicates whether or not to block definition lookup.”- Parameters:
definitionLookupBlocked- value ofdefinitionLookupBlockedproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
emailInDomainSuffixes
public MacOSGeneralDeviceConfiguration.Builder emailInDomainSuffixes(List<String> emailInDomainSuffixes)
“An email address lacking a suffix that matches any of these strings will be considered out-of-domain.”- Parameters:
emailInDomainSuffixes- value ofemailInDomainSuffixesproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
emailInDomainSuffixes
public MacOSGeneralDeviceConfiguration.Builder emailInDomainSuffixes(String... emailInDomainSuffixes)
“An email address lacking a suffix that matches any of these strings will be considered out-of-domain.”- Parameters:
emailInDomainSuffixes- value ofemailInDomainSuffixesproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
emailInDomainSuffixesNextLink
public MacOSGeneralDeviceConfiguration.Builder emailInDomainSuffixesNextLink(String emailInDomainSuffixesNextLink)
“An email address lacking a suffix that matches any of these strings will be considered out-of-domain.”- Parameters:
emailInDomainSuffixesNextLink- value ofemailInDomainSuffixes@nextLinkproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
eraseContentAndSettingsBlocked
public MacOSGeneralDeviceConfiguration.Builder eraseContentAndSettingsBlocked(Boolean eraseContentAndSettingsBlocked)
“TRUE disables the reset option on supervised devices. FALSE enables the reset option on supervised devices. Available for devices running macOS versions 12.0 and later.”- Parameters:
eraseContentAndSettingsBlocked- value oferaseContentAndSettingsBlockedproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
gameCenterBlocked
public MacOSGeneralDeviceConfiguration.Builder gameCenterBlocked(Boolean gameCenterBlocked)
“Yes disables Game Center, and the Game Center icon is removed from the Home screen. Available for devices running macOS versions 10.13 and later.”- Parameters:
gameCenterBlocked- value ofgameCenterBlockedproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
iCloudBlockActivityContinuation
public MacOSGeneralDeviceConfiguration.Builder iCloudBlockActivityContinuation(Boolean iCloudBlockActivityContinuation)
“Indicates whether or not to block the user from continuing work that they started on a MacOS device on another iOS or MacOS device (MacOS 10.15 or later).”- Parameters:
iCloudBlockActivityContinuation- value ofiCloudBlockActivityContinuationproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
iCloudBlockAddressBook
public MacOSGeneralDeviceConfiguration.Builder iCloudBlockAddressBook(Boolean iCloudBlockAddressBook)
“Indicates whether or not to block iCloud from syncing contacts.”- Parameters:
iCloudBlockAddressBook- value ofiCloudBlockAddressBookproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
iCloudBlockBookmarks
public MacOSGeneralDeviceConfiguration.Builder iCloudBlockBookmarks(Boolean iCloudBlockBookmarks)
“Indicates whether or not to block iCloud from syncing bookmarks.”- Parameters:
iCloudBlockBookmarks- value ofiCloudBlockBookmarksproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
iCloudBlockCalendar
public MacOSGeneralDeviceConfiguration.Builder iCloudBlockCalendar(Boolean iCloudBlockCalendar)
“Indicates whether or not to block iCloud from syncing calendars.”- Parameters:
iCloudBlockCalendar- value ofiCloudBlockCalendarproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
iCloudBlockDocumentSync
public MacOSGeneralDeviceConfiguration.Builder iCloudBlockDocumentSync(Boolean iCloudBlockDocumentSync)
“Indicates whether or not to block iCloud document sync.”- Parameters:
iCloudBlockDocumentSync- value ofiCloudBlockDocumentSyncproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
iCloudBlockMail
public MacOSGeneralDeviceConfiguration.Builder iCloudBlockMail(Boolean iCloudBlockMail)
“Indicates whether or not to block iCloud from syncing mail.”- Parameters:
iCloudBlockMail- value ofiCloudBlockMailproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
iCloudBlockNotes
public MacOSGeneralDeviceConfiguration.Builder iCloudBlockNotes(Boolean iCloudBlockNotes)
“Indicates whether or not to block iCloud from syncing notes.”- Parameters:
iCloudBlockNotes- value ofiCloudBlockNotesproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
iCloudBlockPhotoLibrary
public MacOSGeneralDeviceConfiguration.Builder iCloudBlockPhotoLibrary(Boolean iCloudBlockPhotoLibrary)
“Indicates whether or not to block iCloud Photo Library.”- Parameters:
iCloudBlockPhotoLibrary- value ofiCloudBlockPhotoLibraryproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
iCloudBlockReminders
public MacOSGeneralDeviceConfiguration.Builder iCloudBlockReminders(Boolean iCloudBlockReminders)
“Indicates whether or not to block iCloud from syncing reminders.”- Parameters:
iCloudBlockReminders- value ofiCloudBlockRemindersproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
iTunesBlockFileSharing
public MacOSGeneralDeviceConfiguration.Builder iTunesBlockFileSharing(Boolean iTunesBlockFileSharing)
“Indicates whether or not to block files from being transferred using iTunes.”- Parameters:
iTunesBlockFileSharing- value ofiTunesBlockFileSharingproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
iTunesBlockMusicService
public MacOSGeneralDeviceConfiguration.Builder iTunesBlockMusicService(Boolean iTunesBlockMusicService)
“Indicates whether or not to block Music service and revert Music app to classic mode.”- Parameters:
iTunesBlockMusicService- value ofiTunesBlockMusicServiceproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
keyboardBlockDictation
public MacOSGeneralDeviceConfiguration.Builder keyboardBlockDictation(Boolean keyboardBlockDictation)
“Indicates whether or not to block the user from using dictation input.”- Parameters:
keyboardBlockDictation- value ofkeyboardBlockDictationproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
keychainBlockCloudSync
public MacOSGeneralDeviceConfiguration.Builder keychainBlockCloudSync(Boolean keychainBlockCloudSync)
“Indicates whether or not iCloud keychain synchronization is blocked (macOS 10.12 and later).”- Parameters:
keychainBlockCloudSync- value ofkeychainBlockCloudSyncproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
multiplayerGamingBlocked
public MacOSGeneralDeviceConfiguration.Builder multiplayerGamingBlocked(Boolean multiplayerGamingBlocked)
“TRUE prevents multiplayer gaming when using Game Center. FALSE allows multiplayer gaming when using Game Center. Available for devices running macOS versions 10.13 and later.”- Parameters:
multiplayerGamingBlocked- value ofmultiplayerGamingBlockedproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
passwordBlockAirDropSharing
public MacOSGeneralDeviceConfiguration.Builder passwordBlockAirDropSharing(Boolean passwordBlockAirDropSharing)
“Indicates whether or not to block sharing passwords with the AirDrop passwords feature.”- Parameters:
passwordBlockAirDropSharing- value ofpasswordBlockAirDropSharingproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
passwordBlockAutoFill
public MacOSGeneralDeviceConfiguration.Builder passwordBlockAutoFill(Boolean passwordBlockAutoFill)
“Indicates whether or not to block the AutoFill Passwords feature.”- Parameters:
passwordBlockAutoFill- value ofpasswordBlockAutoFillproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
passwordBlockFingerprintUnlock
public MacOSGeneralDeviceConfiguration.Builder passwordBlockFingerprintUnlock(Boolean passwordBlockFingerprintUnlock)
“Indicates whether or not to block fingerprint unlock.”- Parameters:
passwordBlockFingerprintUnlock- value ofpasswordBlockFingerprintUnlockproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
passwordBlockModification
public MacOSGeneralDeviceConfiguration.Builder passwordBlockModification(Boolean passwordBlockModification)
“Indicates whether or not to allow passcode modification.”- Parameters:
passwordBlockModification- value ofpasswordBlockModificationproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
passwordBlockProximityRequests
public MacOSGeneralDeviceConfiguration.Builder passwordBlockProximityRequests(Boolean passwordBlockProximityRequests)
“Indicates whether or not to block requesting passwords from nearby devices.”- Parameters:
passwordBlockProximityRequests- value ofpasswordBlockProximityRequestsproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
passwordBlockSimple
public MacOSGeneralDeviceConfiguration.Builder passwordBlockSimple(Boolean passwordBlockSimple)
“Block simple passwords.”- Parameters:
passwordBlockSimple- value ofpasswordBlockSimpleproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
passwordExpirationDays
public MacOSGeneralDeviceConfiguration.Builder passwordExpirationDays(Integer passwordExpirationDays)
“Number of days before the password expires.”- Parameters:
passwordExpirationDays- value ofpasswordExpirationDaysproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
passwordMaximumAttemptCount
public MacOSGeneralDeviceConfiguration.Builder passwordMaximumAttemptCount(Integer passwordMaximumAttemptCount)
“The number of allowed failed attempts to enter the passcode at the device's lock screen. Valid values 2 to 11”- Parameters:
passwordMaximumAttemptCount- value ofpasswordMaximumAttemptCountproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
passwordMinimumCharacterSetCount
public MacOSGeneralDeviceConfiguration.Builder passwordMinimumCharacterSetCount(Integer passwordMinimumCharacterSetCount)
“Number of character sets a password must contain. Valid values 0 to 4”- Parameters:
passwordMinimumCharacterSetCount- value ofpasswordMinimumCharacterSetCountproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
passwordMinimumLength
public MacOSGeneralDeviceConfiguration.Builder passwordMinimumLength(Integer passwordMinimumLength)
“Minimum length of passwords.”- Parameters:
passwordMinimumLength- value ofpasswordMinimumLengthproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
passwordMinutesOfInactivityBeforeLock
public MacOSGeneralDeviceConfiguration.Builder passwordMinutesOfInactivityBeforeLock(Integer passwordMinutesOfInactivityBeforeLock)
“Minutes of inactivity required before a password is required.”- Parameters:
passwordMinutesOfInactivityBeforeLock- value ofpasswordMinutesOfInactivityBeforeLockproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
passwordMinutesOfInactivityBeforeScreenTimeout
public MacOSGeneralDeviceConfiguration.Builder passwordMinutesOfInactivityBeforeScreenTimeout(Integer passwordMinutesOfInactivityBeforeScreenTimeout)
“Minutes of inactivity required before the screen times out.”- Parameters:
passwordMinutesOfInactivityBeforeScreenTimeout- value ofpasswordMinutesOfInactivityBeforeScreenTimeoutproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
passwordMinutesUntilFailedLoginReset
public MacOSGeneralDeviceConfiguration.Builder passwordMinutesUntilFailedLoginReset(Integer passwordMinutesUntilFailedLoginReset)
“The number of minutes before the login is reset after the maximum number of unsuccessful login attempts is reached.”- Parameters:
passwordMinutesUntilFailedLoginReset- value ofpasswordMinutesUntilFailedLoginResetproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
passwordPreviousPasswordBlockCount
public MacOSGeneralDeviceConfiguration.Builder passwordPreviousPasswordBlockCount(Integer passwordPreviousPasswordBlockCount)
“Number of previous passwords to block.”- Parameters:
passwordPreviousPasswordBlockCount- value ofpasswordPreviousPasswordBlockCountproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
passwordRequired
public MacOSGeneralDeviceConfiguration.Builder passwordRequired(Boolean passwordRequired)
“Whether or not to require a password.”- Parameters:
passwordRequired- value ofpasswordRequiredproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
passwordRequiredType
public MacOSGeneralDeviceConfiguration.Builder passwordRequiredType(RequiredPasswordType passwordRequiredType)
“Type of password that is required.”- Parameters:
passwordRequiredType- value ofpasswordRequiredTypeproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
privacyAccessControls
public MacOSGeneralDeviceConfiguration.Builder privacyAccessControls(List<MacOSPrivacyAccessControlItem> privacyAccessControls)
“List of privacy preference policy controls. This collection can contain a maximum of 10000 elements.”- Parameters:
privacyAccessControls- value ofprivacyAccessControlsproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
privacyAccessControls
public MacOSGeneralDeviceConfiguration.Builder privacyAccessControls(MacOSPrivacyAccessControlItem... privacyAccessControls)
“List of privacy preference policy controls. This collection can contain a maximum of 10000 elements.”- Parameters:
privacyAccessControls- value ofprivacyAccessControlsproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
privacyAccessControlsNextLink
public MacOSGeneralDeviceConfiguration.Builder privacyAccessControlsNextLink(String privacyAccessControlsNextLink)
“List of privacy preference policy controls. This collection can contain a maximum of 10000 elements.”- Parameters:
privacyAccessControlsNextLink- value ofprivacyAccessControls@nextLinkproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
safariBlockAutofill
public MacOSGeneralDeviceConfiguration.Builder safariBlockAutofill(Boolean safariBlockAutofill)
“Indicates whether or not to block the user from using Auto fill in Safari.”- Parameters:
safariBlockAutofill- value ofsafariBlockAutofillproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
screenCaptureBlocked
public MacOSGeneralDeviceConfiguration.Builder screenCaptureBlocked(Boolean screenCaptureBlocked)
“Indicates whether or not to block the user from taking Screenshots.”- Parameters:
screenCaptureBlocked- value ofscreenCaptureBlockedproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
softwareUpdateMajorOSDeferredInstallDelayInDays
public MacOSGeneralDeviceConfiguration.Builder softwareUpdateMajorOSDeferredInstallDelayInDays(Integer softwareUpdateMajorOSDeferredInstallDelayInDays)
“Specify the number of days (1-90) to delay visibility of major OS software updates. Available for devices running macOS versions 11.3 and later. Valid values 0 to 90”- Parameters:
softwareUpdateMajorOSDeferredInstallDelayInDays- value ofsoftwareUpdateMajorOSDeferredInstallDelayInDaysproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
softwareUpdateMinorOSDeferredInstallDelayInDays
public MacOSGeneralDeviceConfiguration.Builder softwareUpdateMinorOSDeferredInstallDelayInDays(Integer softwareUpdateMinorOSDeferredInstallDelayInDays)
“Specify the number of days (1-90) to delay visibility of minor OS software updates. Available for devices running macOS versions 11.3 and later. Valid values 0 to 90”- Parameters:
softwareUpdateMinorOSDeferredInstallDelayInDays- value ofsoftwareUpdateMinorOSDeferredInstallDelayInDaysproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
softwareUpdateNonOSDeferredInstallDelayInDays
public MacOSGeneralDeviceConfiguration.Builder softwareUpdateNonOSDeferredInstallDelayInDays(Integer softwareUpdateNonOSDeferredInstallDelayInDays)
“Specify the number of days (1-90) to delay visibility of non-OS software updates . Available for devices running macOS versions 11.3 and later. Valid values 0 to 90”- Parameters:
softwareUpdateNonOSDeferredInstallDelayInDays- value ofsoftwareUpdateNonOSDeferredInstallDelayInDaysproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
softwareUpdatesEnforcedDelayInDays
public MacOSGeneralDeviceConfiguration.Builder softwareUpdatesEnforcedDelayInDays(Integer softwareUpdatesEnforcedDelayInDays)
“Sets how many days a software update will be delyed for a supervised device. Valid values 0 to 90”- Parameters:
softwareUpdatesEnforcedDelayInDays- value ofsoftwareUpdatesEnforcedDelayInDaysproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
spotlightBlockInternetResults
public MacOSGeneralDeviceConfiguration.Builder spotlightBlockInternetResults(Boolean spotlightBlockInternetResults)
“Indicates whether or not to block Spotlight from returning any results from an Internet search.”- Parameters:
spotlightBlockInternetResults- value ofspotlightBlockInternetResultsproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
updateDelayPolicy
public MacOSGeneralDeviceConfiguration.Builder updateDelayPolicy(MacOSSoftwareUpdateDelayPolicy updateDelayPolicy)
“Determines whether to delay OS and/or app updates for macOS.”- Parameters:
updateDelayPolicy- value ofupdateDelayPolicyproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
wallpaperModificationBlocked
public MacOSGeneralDeviceConfiguration.Builder wallpaperModificationBlocked(Boolean wallpaperModificationBlocked)
“TRUE prevents the wallpaper from being changed. FALSE allows the wallpaper to be changed. Available for devices running macOS versions 10.13 and later.”- Parameters:
wallpaperModificationBlocked- value ofwallpaperModificationBlockedproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
build
public MacOSGeneralDeviceConfiguration build()
-
-