Package odata.msgraph.client.beta.entity
Class DefaultManagedAppProtection.Builder
- java.lang.Object
-
- odata.msgraph.client.beta.entity.DefaultManagedAppProtection.Builder
-
- Enclosing class:
- DefaultManagedAppProtection
public static final class DefaultManagedAppProtection.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DefaultManagedAppProtection.BuilderallowedAndroidDeviceManufacturers(String allowedAndroidDeviceManufacturers)“Semicolon seperated list of device manufacturers allowed, as a string, for the managed app to work.DefaultManagedAppProtection.BuilderallowedAndroidDeviceModels(String... allowedAndroidDeviceModels)“List of device models allowed, as a string, for the managed app to work.DefaultManagedAppProtection.BuilderallowedAndroidDeviceModels(List<String> allowedAndroidDeviceModels)“List of device models allowed, as a string, for the managed app to work.DefaultManagedAppProtection.BuilderallowedAndroidDeviceModelsNextLink(String allowedAndroidDeviceModelsNextLink)“List of device models allowed, as a string, for the managed app to work.DefaultManagedAppProtection.BuilderallowedDataIngestionLocations(List<ManagedAppDataIngestionLocation> allowedDataIngestionLocations)DefaultManagedAppProtection.BuilderallowedDataIngestionLocations(ManagedAppDataIngestionLocation... allowedDataIngestionLocations)DefaultManagedAppProtection.BuilderallowedDataIngestionLocationsNextLink(String allowedDataIngestionLocationsNextLink)DefaultManagedAppProtection.BuilderallowedDataStorageLocations(List<ManagedAppDataStorageLocation> allowedDataStorageLocations)DefaultManagedAppProtection.BuilderallowedDataStorageLocations(ManagedAppDataStorageLocation... allowedDataStorageLocations)DefaultManagedAppProtection.BuilderallowedDataStorageLocationsNextLink(String allowedDataStorageLocationsNextLink)DefaultManagedAppProtection.BuilderallowedInboundDataTransferSources(ManagedAppDataTransferLevel allowedInboundDataTransferSources)DefaultManagedAppProtection.BuilderallowedIosDeviceModels(String allowedIosDeviceModels)“Semicolon seperated list of device models allowed, as a string, for the managed app to work.DefaultManagedAppProtection.BuilderallowedOutboundClipboardSharingExceptionLength(Integer allowedOutboundClipboardSharingExceptionLength)DefaultManagedAppProtection.BuilderallowedOutboundClipboardSharingLevel(ManagedAppClipboardSharingLevel allowedOutboundClipboardSharingLevel)DefaultManagedAppProtection.BuilderallowedOutboundDataTransferDestinations(ManagedAppDataTransferLevel allowedOutboundDataTransferDestinations)DefaultManagedAppProtection.BuilderappActionIfAndroidDeviceManufacturerNotAllowed(ManagedAppRemediationAction appActionIfAndroidDeviceManufacturerNotAllowed)“Defines a managed app behavior, either block or wipe, if the specified device manufacturer is not allowed.DefaultManagedAppProtection.BuilderappActionIfAndroidDeviceModelNotAllowed(ManagedAppRemediationAction appActionIfAndroidDeviceModelNotAllowed)“Defines a managed app behavior, either block or wipe, if the specified device model is not allowed.DefaultManagedAppProtection.BuilderappActionIfAndroidSafetyNetAppsVerificationFailed(ManagedAppRemediationAction appActionIfAndroidSafetyNetAppsVerificationFailed)“Defines a managed app behavior, either warn or block, if the specified Android App Verification requirement fails.”DefaultManagedAppProtection.BuilderappActionIfAndroidSafetyNetDeviceAttestationFailed(ManagedAppRemediationAction appActionIfAndroidSafetyNetDeviceAttestationFailed)“Defines a managed app behavior, either warn or block, if the specified Android SafetyNet Attestation requirement fails.”DefaultManagedAppProtection.BuilderappActionIfDeviceComplianceRequired(ManagedAppRemediationAction appActionIfDeviceComplianceRequired)DefaultManagedAppProtection.BuilderappActionIfDeviceLockNotSet(ManagedAppRemediationAction appActionIfDeviceLockNotSet)“Defines a managed app behavior, either warn, block or wipe, if the screen lock is required on device but is not set.DefaultManagedAppProtection.BuilderappActionIfIosDeviceModelNotAllowed(ManagedAppRemediationAction appActionIfIosDeviceModelNotAllowed)“Defines a managed app behavior, either block or wipe, if the specified device model is not allowed.DefaultManagedAppProtection.BuilderappActionIfMaximumPinRetriesExceeded(ManagedAppRemediationAction appActionIfMaximumPinRetriesExceeded)DefaultManagedAppProtection.BuilderappActionIfUnableToAuthenticateUser(ManagedAppRemediationAction appActionIfUnableToAuthenticateUser)DefaultManagedAppProtection.BuilderappDataEncryptionType(ManagedAppDataEncryptionType appDataEncryptionType)“Type of encryption which should be used for data in a managed app.DefaultManagedAppProtection.BuilderbiometricAuthenticationBlocked(Boolean biometricAuthenticationBlocked)“Indicates whether use of the biometric authentication is allowed in place of a pin if PinRequired is set to True.DefaultManagedAppProtection.BuilderblockAfterCompanyPortalUpdateDeferralInDays(Integer blockAfterCompanyPortalUpdateDeferralInDays)“Maximum number of days Company Portal update can be deferred on the device or app access will be blocked.”DefaultManagedAppProtection.BuilderblockDataIngestionIntoOrganizationDocuments(Boolean blockDataIngestionIntoOrganizationDocuments)DefaultManagedAppProtectionbuild()DefaultManagedAppProtection.BuilderconnectToVpnOnLaunch(Boolean connectToVpnOnLaunch)“Whether the app should connect to the configured VPN on launch (Android only).”DefaultManagedAppProtection.BuildercontactSyncBlocked(Boolean contactSyncBlocked)DefaultManagedAppProtection.BuildercreatedDateTime(OffsetDateTime createdDateTime)DefaultManagedAppProtection.BuildercustomBrowserDisplayName(String customBrowserDisplayName)“Friendly name of the preferred custom browser to open weblink on Android.DefaultManagedAppProtection.BuildercustomBrowserPackageId(String customBrowserPackageId)“Unique identifier of a custom browser to open weblink on Android.DefaultManagedAppProtection.BuildercustomBrowserProtocol(String customBrowserProtocol)“A custom browser protocol to open weblink on iOS.DefaultManagedAppProtection.BuildercustomDialerAppDisplayName(String customDialerAppDisplayName)“Friendly name of a custom dialer app to click-to-open a phone number on Android.”DefaultManagedAppProtection.BuildercustomDialerAppPackageId(String customDialerAppPackageId)“PackageId of a custom dialer app to click-to-open a phone number on Android.”DefaultManagedAppProtection.BuildercustomDialerAppProtocol(String customDialerAppProtocol)“Protocol of a custom dialer app to click-to-open a phone number on iOS, for example, skype:.”DefaultManagedAppProtection.BuildercustomSettings(List<KeyValuePair> customSettings)“A set of string key and string value pairs to be sent to the affected users, unalterned by this service”DefaultManagedAppProtection.BuildercustomSettings(KeyValuePair... customSettings)“A set of string key and string value pairs to be sent to the affected users, unalterned by this service”DefaultManagedAppProtection.BuildercustomSettingsNextLink(String customSettingsNextLink)“A set of string key and string value pairs to be sent to the affected users, unalterned by this service”DefaultManagedAppProtection.BuilderdataBackupBlocked(Boolean dataBackupBlocked)DefaultManagedAppProtection.BuilderdeployedAppCount(Integer deployedAppCount)“Count of apps to which the current policy is deployed.”DefaultManagedAppProtection.Builderdescription(String description)DefaultManagedAppProtection.BuilderdeviceComplianceRequired(Boolean deviceComplianceRequired)DefaultManagedAppProtection.BuilderdeviceLockRequired(Boolean deviceLockRequired)“Defines if any kind of lock must be required on device.DefaultManagedAppProtection.BuilderdialerRestrictionLevel(ManagedAppPhoneNumberRedirectLevel dialerRestrictionLevel)DefaultManagedAppProtection.BuilderdisableAppEncryptionIfDeviceEncryptionIsEnabled(Boolean disableAppEncryptionIfDeviceEncryptionIsEnabled)“When this setting is enabled, app level encryption is disabled if device level encryption is enabled.DefaultManagedAppProtection.BuilderdisableAppPinIfDevicePinIsSet(Boolean disableAppPinIfDevicePinIsSet)DefaultManagedAppProtection.BuilderdisableProtectionOfManagedOutboundOpenInData(Boolean disableProtectionOfManagedOutboundOpenInData)“Disable protection of data transferred to other apps through IOS OpenIn option.DefaultManagedAppProtection.BuilderdisplayName(String displayName)DefaultManagedAppProtection.BuilderencryptAppData(Boolean encryptAppData)“Indicates whether managed-app data should be encrypted.DefaultManagedAppProtection.BuilderexemptedAppPackages(List<KeyValuePair> exemptedAppPackages)“Android App packages in this list will be exempt from the policy and will be able to receive data from managed apps.DefaultManagedAppProtection.BuilderexemptedAppPackages(KeyValuePair... exemptedAppPackages)“Android App packages in this list will be exempt from the policy and will be able to receive data from managed apps.DefaultManagedAppProtection.BuilderexemptedAppPackagesNextLink(String exemptedAppPackagesNextLink)“Android App packages in this list will be exempt from the policy and will be able to receive data from managed apps.DefaultManagedAppProtection.BuilderexemptedAppProtocols(List<KeyValuePair> exemptedAppProtocols)“iOS Apps in this list will be exempt from the policy and will be able to receive data from managed apps.DefaultManagedAppProtection.BuilderexemptedAppProtocols(KeyValuePair... exemptedAppProtocols)“iOS Apps in this list will be exempt from the policy and will be able to receive data from managed apps.DefaultManagedAppProtection.BuilderexemptedAppProtocolsNextLink(String exemptedAppProtocolsNextLink)“iOS Apps in this list will be exempt from the policy and will be able to receive data from managed apps.DefaultManagedAppProtection.BuilderfaceIdBlocked(Boolean faceIdBlocked)“Indicates whether use of the FaceID is allowed in place of a pin if PinRequired is set to True.DefaultManagedAppProtection.BuilderfilterOpenInToOnlyManagedApps(Boolean filterOpenInToOnlyManagedApps)“Defines if open-in operation is supported from the managed app to the filesharing locations selected.DefaultManagedAppProtection.BuilderfingerprintBlocked(Boolean fingerprintBlocked)DefaultManagedAppProtection.BuildergracePeriodToBlockAppsDuringOffClockHours(Duration gracePeriodToBlockAppsDuringOffClockHours)DefaultManagedAppProtection.Builderid(String id)DefaultManagedAppProtection.BuilderlastModifiedDateTime(OffsetDateTime lastModifiedDateTime)DefaultManagedAppProtection.BuildermanagedBrowser(ManagedBrowserType managedBrowser)DefaultManagedAppProtection.BuildermanagedBrowserToOpenLinksRequired(Boolean managedBrowserToOpenLinksRequired)DefaultManagedAppProtection.BuildermaximumAllowedDeviceThreatLevel(ManagedAppDeviceThreatLevel maximumAllowedDeviceThreatLevel)DefaultManagedAppProtection.BuildermaximumPinRetries(Integer maximumPinRetries)DefaultManagedAppProtection.BuildermaximumRequiredOsVersion(String maximumRequiredOsVersion)DefaultManagedAppProtection.BuildermaximumWarningOsVersion(String maximumWarningOsVersion)DefaultManagedAppProtection.BuildermaximumWipeOsVersion(String maximumWipeOsVersion)DefaultManagedAppProtection.BuilderminimumPinLength(Integer minimumPinLength)DefaultManagedAppProtection.BuilderminimumRequiredAppVersion(String minimumRequiredAppVersion)DefaultManagedAppProtection.BuilderminimumRequiredCompanyPortalVersion(String minimumRequiredCompanyPortalVersion)“Minimum version of the Company portal that must be installed on the device or app access will be blocked”DefaultManagedAppProtection.BuilderminimumRequiredOsVersion(String minimumRequiredOsVersion)DefaultManagedAppProtection.BuilderminimumRequiredPatchVersion(String minimumRequiredPatchVersion)“Define the oldest required Android security patch level a user can have to gain secure access to the app.DefaultManagedAppProtection.BuilderminimumRequiredSdkVersion(String minimumRequiredSdkVersion)“Versions less than the specified version will block the managed app from accessing company data.DefaultManagedAppProtection.BuilderminimumWarningAppVersion(String minimumWarningAppVersion)DefaultManagedAppProtection.BuilderminimumWarningCompanyPortalVersion(String minimumWarningCompanyPortalVersion)“Minimum version of the Company portal that must be installed on the device or the user will receive a warning”DefaultManagedAppProtection.BuilderminimumWarningOsVersion(String minimumWarningOsVersion)DefaultManagedAppProtection.BuilderminimumWarningPatchVersion(String minimumWarningPatchVersion)“Define the oldest recommended Android security patch level a user can have for secure access to the app.DefaultManagedAppProtection.BuilderminimumWipeAppVersion(String minimumWipeAppVersion)DefaultManagedAppProtection.BuilderminimumWipeCompanyPortalVersion(String minimumWipeCompanyPortalVersion)“Minimum version of the Company portal that must be installed on the device or the company data on the app will be wiped”DefaultManagedAppProtection.BuilderminimumWipeOsVersion(String minimumWipeOsVersion)DefaultManagedAppProtection.BuilderminimumWipePatchVersion(String minimumWipePatchVersion)“Android security patch level less than or equal to the specified value will wipe the managed app and the associated company data.DefaultManagedAppProtection.BuilderminimumWipeSdkVersion(String minimumWipeSdkVersion)“Versions less than the specified version will block the managed app from accessing company data.”DefaultManagedAppProtection.BuildermobileThreatDefenseRemediationAction(ManagedAppRemediationAction mobileThreatDefenseRemediationAction)DefaultManagedAppProtection.BuildernotificationRestriction(ManagedAppNotificationRestriction notificationRestriction)DefaultManagedAppProtection.BuilderorganizationalCredentialsRequired(Boolean organizationalCredentialsRequired)DefaultManagedAppProtection.BuilderperiodBeforePinReset(Duration periodBeforePinReset)DefaultManagedAppProtection.BuilderperiodOfflineBeforeAccessCheck(Duration periodOfflineBeforeAccessCheck)DefaultManagedAppProtection.BuilderperiodOfflineBeforeWipeIsEnforced(Duration periodOfflineBeforeWipeIsEnforced)DefaultManagedAppProtection.BuilderperiodOnlineBeforeAccessCheck(Duration periodOnlineBeforeAccessCheck)DefaultManagedAppProtection.BuilderpinCharacterSet(ManagedAppPinCharacterSet pinCharacterSet)DefaultManagedAppProtection.BuilderpinRequired(Boolean pinRequired)DefaultManagedAppProtection.BuilderpinRequiredInsteadOfBiometricTimeout(Duration pinRequiredInsteadOfBiometricTimeout)DefaultManagedAppProtection.BuilderpreviousPinBlockCount(Integer previousPinBlockCount)DefaultManagedAppProtection.BuilderprintBlocked(Boolean printBlocked)DefaultManagedAppProtection.BuilderprotectInboundDataFromUnknownSources(Boolean protectInboundDataFromUnknownSources)“Protect incoming data from unknown source.DefaultManagedAppProtection.BuilderrequiredAndroidSafetyNetAppsVerificationType(AndroidManagedAppSafetyNetAppsVerificationType requiredAndroidSafetyNetAppsVerificationType)“Defines the Android SafetyNet Apps Verification requirement for a managed app to work.”DefaultManagedAppProtection.BuilderrequiredAndroidSafetyNetDeviceAttestationType(AndroidManagedAppSafetyNetDeviceAttestationType requiredAndroidSafetyNetDeviceAttestationType)“Defines the Android SafetyNet Device Attestation requirement for a managed app to work.”DefaultManagedAppProtection.BuilderrequiredAndroidSafetyNetEvaluationType(AndroidManagedAppSafetyNetEvaluationType requiredAndroidSafetyNetEvaluationType)“Defines the Android SafetyNet evaluation type requirement for a managed app to work.DefaultManagedAppProtection.BuilderroleScopeTagIds(String... roleScopeTagIds)DefaultManagedAppProtection.BuilderroleScopeTagIds(List<String> roleScopeTagIds)DefaultManagedAppProtection.BuilderroleScopeTagIdsNextLink(String roleScopeTagIdsNextLink)DefaultManagedAppProtection.BuildersaveAsBlocked(Boolean saveAsBlocked)DefaultManagedAppProtection.BuilderscreenCaptureBlocked(Boolean screenCaptureBlocked)“Indicates whether screen capture is blocked.DefaultManagedAppProtection.BuildersimplePinBlocked(Boolean simplePinBlocked)DefaultManagedAppProtection.BuilderthirdPartyKeyboardsBlocked(Boolean thirdPartyKeyboardsBlocked)“Defines if third party keyboards are allowed while accessing a managed app.DefaultManagedAppProtection.Builderversion(String version)DefaultManagedAppProtection.BuilderwarnAfterCompanyPortalUpdateDeferralInDays(Integer warnAfterCompanyPortalUpdateDeferralInDays)“Maximum number of days Company Portal update can be deferred on the device or the user will receive the warning”DefaultManagedAppProtection.BuilderwipeAfterCompanyPortalUpdateDeferralInDays(Integer wipeAfterCompanyPortalUpdateDeferralInDays)“Maximum number of days Company Portal update can be deferred on the device or the company data on the app will be wiped”
-
-
-
Method Detail
-
id
public DefaultManagedAppProtection.Builder id(String id)
-
createdDateTime
public DefaultManagedAppProtection.Builder createdDateTime(OffsetDateTime createdDateTime)
-
description
public DefaultManagedAppProtection.Builder description(String description)
-
displayName
public DefaultManagedAppProtection.Builder displayName(String displayName)
-
lastModifiedDateTime
public DefaultManagedAppProtection.Builder lastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
-
roleScopeTagIds
public DefaultManagedAppProtection.Builder roleScopeTagIds(List<String> roleScopeTagIds)
-
roleScopeTagIds
public DefaultManagedAppProtection.Builder roleScopeTagIds(String... roleScopeTagIds)
-
roleScopeTagIdsNextLink
public DefaultManagedAppProtection.Builder roleScopeTagIdsNextLink(String roleScopeTagIdsNextLink)
-
version
public DefaultManagedAppProtection.Builder version(String version)
-
allowedDataIngestionLocations
public DefaultManagedAppProtection.Builder allowedDataIngestionLocations(List<ManagedAppDataIngestionLocation> allowedDataIngestionLocations)
-
allowedDataIngestionLocations
public DefaultManagedAppProtection.Builder allowedDataIngestionLocations(ManagedAppDataIngestionLocation... allowedDataIngestionLocations)
-
allowedDataIngestionLocationsNextLink
public DefaultManagedAppProtection.Builder allowedDataIngestionLocationsNextLink(String allowedDataIngestionLocationsNextLink)
-
allowedDataStorageLocations
public DefaultManagedAppProtection.Builder allowedDataStorageLocations(List<ManagedAppDataStorageLocation> allowedDataStorageLocations)
-
allowedDataStorageLocations
public DefaultManagedAppProtection.Builder allowedDataStorageLocations(ManagedAppDataStorageLocation... allowedDataStorageLocations)
-
allowedDataStorageLocationsNextLink
public DefaultManagedAppProtection.Builder allowedDataStorageLocationsNextLink(String allowedDataStorageLocationsNextLink)
-
allowedInboundDataTransferSources
public DefaultManagedAppProtection.Builder allowedInboundDataTransferSources(ManagedAppDataTransferLevel allowedInboundDataTransferSources)
-
allowedOutboundClipboardSharingExceptionLength
public DefaultManagedAppProtection.Builder allowedOutboundClipboardSharingExceptionLength(Integer allowedOutboundClipboardSharingExceptionLength)
-
allowedOutboundClipboardSharingLevel
public DefaultManagedAppProtection.Builder allowedOutboundClipboardSharingLevel(ManagedAppClipboardSharingLevel allowedOutboundClipboardSharingLevel)
-
allowedOutboundDataTransferDestinations
public DefaultManagedAppProtection.Builder allowedOutboundDataTransferDestinations(ManagedAppDataTransferLevel allowedOutboundDataTransferDestinations)
-
appActionIfDeviceComplianceRequired
public DefaultManagedAppProtection.Builder appActionIfDeviceComplianceRequired(ManagedAppRemediationAction appActionIfDeviceComplianceRequired)
-
appActionIfMaximumPinRetriesExceeded
public DefaultManagedAppProtection.Builder appActionIfMaximumPinRetriesExceeded(ManagedAppRemediationAction appActionIfMaximumPinRetriesExceeded)
-
appActionIfUnableToAuthenticateUser
public DefaultManagedAppProtection.Builder appActionIfUnableToAuthenticateUser(ManagedAppRemediationAction appActionIfUnableToAuthenticateUser)
-
blockDataIngestionIntoOrganizationDocuments
public DefaultManagedAppProtection.Builder blockDataIngestionIntoOrganizationDocuments(Boolean blockDataIngestionIntoOrganizationDocuments)
-
contactSyncBlocked
public DefaultManagedAppProtection.Builder contactSyncBlocked(Boolean contactSyncBlocked)
-
dataBackupBlocked
public DefaultManagedAppProtection.Builder dataBackupBlocked(Boolean dataBackupBlocked)
-
deviceComplianceRequired
public DefaultManagedAppProtection.Builder deviceComplianceRequired(Boolean deviceComplianceRequired)
-
dialerRestrictionLevel
public DefaultManagedAppProtection.Builder dialerRestrictionLevel(ManagedAppPhoneNumberRedirectLevel dialerRestrictionLevel)
-
disableAppPinIfDevicePinIsSet
public DefaultManagedAppProtection.Builder disableAppPinIfDevicePinIsSet(Boolean disableAppPinIfDevicePinIsSet)
-
fingerprintBlocked
public DefaultManagedAppProtection.Builder fingerprintBlocked(Boolean fingerprintBlocked)
-
gracePeriodToBlockAppsDuringOffClockHours
public DefaultManagedAppProtection.Builder gracePeriodToBlockAppsDuringOffClockHours(Duration gracePeriodToBlockAppsDuringOffClockHours)
-
managedBrowser
public DefaultManagedAppProtection.Builder managedBrowser(ManagedBrowserType managedBrowser)
-
managedBrowserToOpenLinksRequired
public DefaultManagedAppProtection.Builder managedBrowserToOpenLinksRequired(Boolean managedBrowserToOpenLinksRequired)
-
maximumAllowedDeviceThreatLevel
public DefaultManagedAppProtection.Builder maximumAllowedDeviceThreatLevel(ManagedAppDeviceThreatLevel maximumAllowedDeviceThreatLevel)
-
maximumPinRetries
public DefaultManagedAppProtection.Builder maximumPinRetries(Integer maximumPinRetries)
-
maximumRequiredOsVersion
public DefaultManagedAppProtection.Builder maximumRequiredOsVersion(String maximumRequiredOsVersion)
-
maximumWarningOsVersion
public DefaultManagedAppProtection.Builder maximumWarningOsVersion(String maximumWarningOsVersion)
-
maximumWipeOsVersion
public DefaultManagedAppProtection.Builder maximumWipeOsVersion(String maximumWipeOsVersion)
-
minimumPinLength
public DefaultManagedAppProtection.Builder minimumPinLength(Integer minimumPinLength)
-
minimumRequiredAppVersion
public DefaultManagedAppProtection.Builder minimumRequiredAppVersion(String minimumRequiredAppVersion)
-
minimumRequiredOsVersion
public DefaultManagedAppProtection.Builder minimumRequiredOsVersion(String minimumRequiredOsVersion)
-
minimumWarningAppVersion
public DefaultManagedAppProtection.Builder minimumWarningAppVersion(String minimumWarningAppVersion)
-
minimumWarningOsVersion
public DefaultManagedAppProtection.Builder minimumWarningOsVersion(String minimumWarningOsVersion)
-
minimumWipeAppVersion
public DefaultManagedAppProtection.Builder minimumWipeAppVersion(String minimumWipeAppVersion)
-
minimumWipeOsVersion
public DefaultManagedAppProtection.Builder minimumWipeOsVersion(String minimumWipeOsVersion)
-
mobileThreatDefenseRemediationAction
public DefaultManagedAppProtection.Builder mobileThreatDefenseRemediationAction(ManagedAppRemediationAction mobileThreatDefenseRemediationAction)
-
notificationRestriction
public DefaultManagedAppProtection.Builder notificationRestriction(ManagedAppNotificationRestriction notificationRestriction)
-
organizationalCredentialsRequired
public DefaultManagedAppProtection.Builder organizationalCredentialsRequired(Boolean organizationalCredentialsRequired)
-
periodBeforePinReset
public DefaultManagedAppProtection.Builder periodBeforePinReset(Duration periodBeforePinReset)
-
periodOfflineBeforeAccessCheck
public DefaultManagedAppProtection.Builder periodOfflineBeforeAccessCheck(Duration periodOfflineBeforeAccessCheck)
-
periodOfflineBeforeWipeIsEnforced
public DefaultManagedAppProtection.Builder periodOfflineBeforeWipeIsEnforced(Duration periodOfflineBeforeWipeIsEnforced)
-
periodOnlineBeforeAccessCheck
public DefaultManagedAppProtection.Builder periodOnlineBeforeAccessCheck(Duration periodOnlineBeforeAccessCheck)
-
pinCharacterSet
public DefaultManagedAppProtection.Builder pinCharacterSet(ManagedAppPinCharacterSet pinCharacterSet)
-
pinRequired
public DefaultManagedAppProtection.Builder pinRequired(Boolean pinRequired)
-
pinRequiredInsteadOfBiometricTimeout
public DefaultManagedAppProtection.Builder pinRequiredInsteadOfBiometricTimeout(Duration pinRequiredInsteadOfBiometricTimeout)
-
previousPinBlockCount
public DefaultManagedAppProtection.Builder previousPinBlockCount(Integer previousPinBlockCount)
-
printBlocked
public DefaultManagedAppProtection.Builder printBlocked(Boolean printBlocked)
-
saveAsBlocked
public DefaultManagedAppProtection.Builder saveAsBlocked(Boolean saveAsBlocked)
-
simplePinBlocked
public DefaultManagedAppProtection.Builder simplePinBlocked(Boolean simplePinBlocked)
-
allowedAndroidDeviceManufacturers
public DefaultManagedAppProtection.Builder allowedAndroidDeviceManufacturers(String allowedAndroidDeviceManufacturers)
“Semicolon seperated list of device manufacturers allowed, as a string, for the managed app to work. (Android only)”- Parameters:
allowedAndroidDeviceManufacturers- value ofallowedAndroidDeviceManufacturersproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
allowedAndroidDeviceModels
public DefaultManagedAppProtection.Builder allowedAndroidDeviceModels(List<String> allowedAndroidDeviceModels)
“List of device models allowed, as a string, for the managed app to work. ( Android Only)”- Parameters:
allowedAndroidDeviceModels- value ofallowedAndroidDeviceModelsproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
allowedAndroidDeviceModels
public DefaultManagedAppProtection.Builder allowedAndroidDeviceModels(String... allowedAndroidDeviceModels)
“List of device models allowed, as a string, for the managed app to work. ( Android Only)”- Parameters:
allowedAndroidDeviceModels- value ofallowedAndroidDeviceModelsproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
allowedAndroidDeviceModelsNextLink
public DefaultManagedAppProtection.Builder allowedAndroidDeviceModelsNextLink(String allowedAndroidDeviceModelsNextLink)
“List of device models allowed, as a string, for the managed app to work. ( Android Only)”- Parameters:
allowedAndroidDeviceModelsNextLink- value ofallowedAndroidDeviceModels@nextLinkproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
allowedIosDeviceModels
public DefaultManagedAppProtection.Builder allowedIosDeviceModels(String allowedIosDeviceModels)
“Semicolon seperated list of device models allowed, as a string, for the managed app to work. (iOS Only)”- Parameters:
allowedIosDeviceModels- value ofallowedIosDeviceModelsproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
appActionIfAndroidDeviceManufacturerNotAllowed
public DefaultManagedAppProtection.Builder appActionIfAndroidDeviceManufacturerNotAllowed(ManagedAppRemediationAction appActionIfAndroidDeviceManufacturerNotAllowed)
“Defines a managed app behavior, either block or wipe, if the specified device manufacturer is not allowed. (Android only)”- Parameters:
appActionIfAndroidDeviceManufacturerNotAllowed- value ofappActionIfAndroidDeviceManufacturerNotAllowedproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
appActionIfAndroidDeviceModelNotAllowed
public DefaultManagedAppProtection.Builder appActionIfAndroidDeviceModelNotAllowed(ManagedAppRemediationAction appActionIfAndroidDeviceModelNotAllowed)
“Defines a managed app behavior, either block or wipe, if the specified device model is not allowed. (Android Only)”- Parameters:
appActionIfAndroidDeviceModelNotAllowed- value ofappActionIfAndroidDeviceModelNotAllowedproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
appActionIfAndroidSafetyNetAppsVerificationFailed
public DefaultManagedAppProtection.Builder appActionIfAndroidSafetyNetAppsVerificationFailed(ManagedAppRemediationAction appActionIfAndroidSafetyNetAppsVerificationFailed)
“Defines a managed app behavior, either warn or block, if the specified Android App Verification requirement fails.”- Parameters:
appActionIfAndroidSafetyNetAppsVerificationFailed- value ofappActionIfAndroidSafetyNetAppsVerificationFailedproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
appActionIfAndroidSafetyNetDeviceAttestationFailed
public DefaultManagedAppProtection.Builder appActionIfAndroidSafetyNetDeviceAttestationFailed(ManagedAppRemediationAction appActionIfAndroidSafetyNetDeviceAttestationFailed)
“Defines a managed app behavior, either warn or block, if the specified Android SafetyNet Attestation requirement fails.”- Parameters:
appActionIfAndroidSafetyNetDeviceAttestationFailed- value ofappActionIfAndroidSafetyNetDeviceAttestationFailedproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
appActionIfDeviceLockNotSet
public DefaultManagedAppProtection.Builder appActionIfDeviceLockNotSet(ManagedAppRemediationAction appActionIfDeviceLockNotSet)
“Defines a managed app behavior, either warn, block or wipe, if the screen lock is required on device but is not set. (android only)”- Parameters:
appActionIfDeviceLockNotSet- value ofappActionIfDeviceLockNotSetproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
appActionIfIosDeviceModelNotAllowed
public DefaultManagedAppProtection.Builder appActionIfIosDeviceModelNotAllowed(ManagedAppRemediationAction appActionIfIosDeviceModelNotAllowed)
“Defines a managed app behavior, either block or wipe, if the specified device model is not allowed. (iOS Only)”- Parameters:
appActionIfIosDeviceModelNotAllowed- value ofappActionIfIosDeviceModelNotAllowedproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
appDataEncryptionType
public DefaultManagedAppProtection.Builder appDataEncryptionType(ManagedAppDataEncryptionType appDataEncryptionType)
“Type of encryption which should be used for data in a managed app. (iOS Only)”- Parameters:
appDataEncryptionType- value ofappDataEncryptionTypeproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
biometricAuthenticationBlocked
public DefaultManagedAppProtection.Builder biometricAuthenticationBlocked(Boolean biometricAuthenticationBlocked)
“Indicates whether use of the biometric authentication is allowed in place of a pin if PinRequired is set to True. (Android Only)”- Parameters:
biometricAuthenticationBlocked- value ofbiometricAuthenticationBlockedproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
blockAfterCompanyPortalUpdateDeferralInDays
public DefaultManagedAppProtection.Builder blockAfterCompanyPortalUpdateDeferralInDays(Integer blockAfterCompanyPortalUpdateDeferralInDays)
“Maximum number of days Company Portal update can be deferred on the device or app access will be blocked.”- Parameters:
blockAfterCompanyPortalUpdateDeferralInDays- value ofblockAfterCompanyPortalUpdateDeferralInDaysproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
connectToVpnOnLaunch
public DefaultManagedAppProtection.Builder connectToVpnOnLaunch(Boolean connectToVpnOnLaunch)
“Whether the app should connect to the configured VPN on launch (Android only).”- Parameters:
connectToVpnOnLaunch- value ofconnectToVpnOnLaunchproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
customBrowserDisplayName
public DefaultManagedAppProtection.Builder customBrowserDisplayName(String customBrowserDisplayName)
“Friendly name of the preferred custom browser to open weblink on Android. ( Android only)”- Parameters:
customBrowserDisplayName- value ofcustomBrowserDisplayNameproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
customBrowserPackageId
public DefaultManagedAppProtection.Builder customBrowserPackageId(String customBrowserPackageId)
“Unique identifier of a custom browser to open weblink on Android. (Android only)”- Parameters:
customBrowserPackageId- value ofcustomBrowserPackageIdproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
customBrowserProtocol
public DefaultManagedAppProtection.Builder customBrowserProtocol(String customBrowserProtocol)
“A custom browser protocol to open weblink on iOS. (iOS only)”- Parameters:
customBrowserProtocol- value ofcustomBrowserProtocolproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
customDialerAppDisplayName
public DefaultManagedAppProtection.Builder customDialerAppDisplayName(String customDialerAppDisplayName)
“Friendly name of a custom dialer app to click-to-open a phone number on Android.”- Parameters:
customDialerAppDisplayName- value ofcustomDialerAppDisplayNameproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
customDialerAppPackageId
public DefaultManagedAppProtection.Builder customDialerAppPackageId(String customDialerAppPackageId)
“PackageId of a custom dialer app to click-to-open a phone number on Android.”- Parameters:
customDialerAppPackageId- value ofcustomDialerAppPackageIdproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
customDialerAppProtocol
public DefaultManagedAppProtection.Builder customDialerAppProtocol(String customDialerAppProtocol)
“Protocol of a custom dialer app to click-to-open a phone number on iOS, for example, skype:.”- Parameters:
customDialerAppProtocol- value ofcustomDialerAppProtocolproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
customSettings
public DefaultManagedAppProtection.Builder customSettings(List<KeyValuePair> customSettings)
“A set of string key and string value pairs to be sent to the affected users, unalterned by this service”- Parameters:
customSettings- value ofcustomSettingsproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
customSettings
public DefaultManagedAppProtection.Builder customSettings(KeyValuePair... customSettings)
“A set of string key and string value pairs to be sent to the affected users, unalterned by this service”- Parameters:
customSettings- value ofcustomSettingsproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
customSettingsNextLink
public DefaultManagedAppProtection.Builder customSettingsNextLink(String customSettingsNextLink)
“A set of string key and string value pairs to be sent to the affected users, unalterned by this service”- Parameters:
customSettingsNextLink- value ofcustomSettings@nextLinkproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
deployedAppCount
public DefaultManagedAppProtection.Builder deployedAppCount(Integer deployedAppCount)
“Count of apps to which the current policy is deployed.”- Parameters:
deployedAppCount- value ofdeployedAppCountproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
deviceLockRequired
public DefaultManagedAppProtection.Builder deviceLockRequired(Boolean deviceLockRequired)
“Defines if any kind of lock must be required on device. (android only)”- Parameters:
deviceLockRequired- value ofdeviceLockRequiredproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
disableAppEncryptionIfDeviceEncryptionIsEnabled
public DefaultManagedAppProtection.Builder disableAppEncryptionIfDeviceEncryptionIsEnabled(Boolean disableAppEncryptionIfDeviceEncryptionIsEnabled)
“When this setting is enabled, app level encryption is disabled if device level encryption is enabled. (Android only)”- Parameters:
disableAppEncryptionIfDeviceEncryptionIsEnabled- value ofdisableAppEncryptionIfDeviceEncryptionIsEnabledproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
disableProtectionOfManagedOutboundOpenInData
public DefaultManagedAppProtection.Builder disableProtectionOfManagedOutboundOpenInData(Boolean disableProtectionOfManagedOutboundOpenInData)
“Disable protection of data transferred to other apps through IOS OpenIn option. This setting is only allowed to be True when AllowedOutboundDataTransferDestinations is set to ManagedApps. (iOS Only)”- Parameters:
disableProtectionOfManagedOutboundOpenInData- value ofdisableProtectionOfManagedOutboundOpenInDataproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
encryptAppData
public DefaultManagedAppProtection.Builder encryptAppData(Boolean encryptAppData)
“Indicates whether managed-app data should be encrypted. (Android only)”- Parameters:
encryptAppData- value ofencryptAppDataproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
exemptedAppPackages
public DefaultManagedAppProtection.Builder exemptedAppPackages(List<KeyValuePair> exemptedAppPackages)
“Android App packages in this list will be exempt from the policy and will be able to receive data from managed apps. (Android only)”- Parameters:
exemptedAppPackages- value ofexemptedAppPackagesproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
exemptedAppPackages
public DefaultManagedAppProtection.Builder exemptedAppPackages(KeyValuePair... exemptedAppPackages)
“Android App packages in this list will be exempt from the policy and will be able to receive data from managed apps. (Android only)”- Parameters:
exemptedAppPackages- value ofexemptedAppPackagesproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
exemptedAppPackagesNextLink
public DefaultManagedAppProtection.Builder exemptedAppPackagesNextLink(String exemptedAppPackagesNextLink)
“Android App packages in this list will be exempt from the policy and will be able to receive data from managed apps. (Android only)”- Parameters:
exemptedAppPackagesNextLink- value ofexemptedAppPackages@nextLinkproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
exemptedAppProtocols
public DefaultManagedAppProtection.Builder exemptedAppProtocols(List<KeyValuePair> exemptedAppProtocols)
“iOS Apps in this list will be exempt from the policy and will be able to receive data from managed apps. (iOS Only)”- Parameters:
exemptedAppProtocols- value ofexemptedAppProtocolsproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
exemptedAppProtocols
public DefaultManagedAppProtection.Builder exemptedAppProtocols(KeyValuePair... exemptedAppProtocols)
“iOS Apps in this list will be exempt from the policy and will be able to receive data from managed apps. (iOS Only)”- Parameters:
exemptedAppProtocols- value ofexemptedAppProtocolsproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
exemptedAppProtocolsNextLink
public DefaultManagedAppProtection.Builder exemptedAppProtocolsNextLink(String exemptedAppProtocolsNextLink)
“iOS Apps in this list will be exempt from the policy and will be able to receive data from managed apps. (iOS Only)”- Parameters:
exemptedAppProtocolsNextLink- value ofexemptedAppProtocols@nextLinkproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
faceIdBlocked
public DefaultManagedAppProtection.Builder faceIdBlocked(Boolean faceIdBlocked)
“Indicates whether use of the FaceID is allowed in place of a pin if PinRequired is set to True. (iOS Only)”- Parameters:
faceIdBlocked- value offaceIdBlockedproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
filterOpenInToOnlyManagedApps
public DefaultManagedAppProtection.Builder filterOpenInToOnlyManagedApps(Boolean filterOpenInToOnlyManagedApps)
“Defines if open-in operation is supported from the managed app to the filesharing locations selected. This setting only applies when AllowedOutboundDataTransferDestinations is set to ManagedApps and DisableProtectionOfManagedOutboundOpenInData is set to False. (iOS Only)”- Parameters:
filterOpenInToOnlyManagedApps- value offilterOpenInToOnlyManagedAppsproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
minimumRequiredCompanyPortalVersion
public DefaultManagedAppProtection.Builder minimumRequiredCompanyPortalVersion(String minimumRequiredCompanyPortalVersion)
“Minimum version of the Company portal that must be installed on the device or app access will be blocked”- Parameters:
minimumRequiredCompanyPortalVersion- value ofminimumRequiredCompanyPortalVersionproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
minimumRequiredPatchVersion
public DefaultManagedAppProtection.Builder minimumRequiredPatchVersion(String minimumRequiredPatchVersion)
“Define the oldest required Android security patch level a user can have to gain secure access to the app. (Android only)”- Parameters:
minimumRequiredPatchVersion- value ofminimumRequiredPatchVersionproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
minimumRequiredSdkVersion
public DefaultManagedAppProtection.Builder minimumRequiredSdkVersion(String minimumRequiredSdkVersion)
“Versions less than the specified version will block the managed app from accessing company data. (iOS Only)”- Parameters:
minimumRequiredSdkVersion- value ofminimumRequiredSdkVersionproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
minimumWarningCompanyPortalVersion
public DefaultManagedAppProtection.Builder minimumWarningCompanyPortalVersion(String minimumWarningCompanyPortalVersion)
“Minimum version of the Company portal that must be installed on the device or the user will receive a warning”- Parameters:
minimumWarningCompanyPortalVersion- value ofminimumWarningCompanyPortalVersionproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
minimumWarningPatchVersion
public DefaultManagedAppProtection.Builder minimumWarningPatchVersion(String minimumWarningPatchVersion)
“Define the oldest recommended Android security patch level a user can have for secure access to the app. (Android only)”- Parameters:
minimumWarningPatchVersion- value ofminimumWarningPatchVersionproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
minimumWipeCompanyPortalVersion
public DefaultManagedAppProtection.Builder minimumWipeCompanyPortalVersion(String minimumWipeCompanyPortalVersion)
“Minimum version of the Company portal that must be installed on the device or the company data on the app will be wiped”- Parameters:
minimumWipeCompanyPortalVersion- value ofminimumWipeCompanyPortalVersionproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
minimumWipePatchVersion
public DefaultManagedAppProtection.Builder minimumWipePatchVersion(String minimumWipePatchVersion)
“Android security patch level less than or equal to the specified value will wipe the managed app and the associated company data. (Android only)”- Parameters:
minimumWipePatchVersion- value ofminimumWipePatchVersionproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
minimumWipeSdkVersion
public DefaultManagedAppProtection.Builder minimumWipeSdkVersion(String minimumWipeSdkVersion)
“Versions less than the specified version will block the managed app from accessing company data.”- Parameters:
minimumWipeSdkVersion- value ofminimumWipeSdkVersionproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
protectInboundDataFromUnknownSources
public DefaultManagedAppProtection.Builder protectInboundDataFromUnknownSources(Boolean protectInboundDataFromUnknownSources)
“Protect incoming data from unknown source. This setting is only allowed to be True when AllowedInboundDataTransferSources is set to AllApps. (iOS Only)”- Parameters:
protectInboundDataFromUnknownSources- value ofprotectInboundDataFromUnknownSourcesproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
requiredAndroidSafetyNetAppsVerificationType
public DefaultManagedAppProtection.Builder requiredAndroidSafetyNetAppsVerificationType(AndroidManagedAppSafetyNetAppsVerificationType requiredAndroidSafetyNetAppsVerificationType)
“Defines the Android SafetyNet Apps Verification requirement for a managed app to work.”- Parameters:
requiredAndroidSafetyNetAppsVerificationType- value ofrequiredAndroidSafetyNetAppsVerificationTypeproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
requiredAndroidSafetyNetDeviceAttestationType
public DefaultManagedAppProtection.Builder requiredAndroidSafetyNetDeviceAttestationType(AndroidManagedAppSafetyNetDeviceAttestationType requiredAndroidSafetyNetDeviceAttestationType)
“Defines the Android SafetyNet Device Attestation requirement for a managed app to work.”- Parameters:
requiredAndroidSafetyNetDeviceAttestationType- value ofrequiredAndroidSafetyNetDeviceAttestationTypeproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
requiredAndroidSafetyNetEvaluationType
public DefaultManagedAppProtection.Builder requiredAndroidSafetyNetEvaluationType(AndroidManagedAppSafetyNetEvaluationType requiredAndroidSafetyNetEvaluationType)
“Defines the Android SafetyNet evaluation type requirement for a managed app to work. (Android Only)”- Parameters:
requiredAndroidSafetyNetEvaluationType- value ofrequiredAndroidSafetyNetEvaluationTypeproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
screenCaptureBlocked
public DefaultManagedAppProtection.Builder screenCaptureBlocked(Boolean screenCaptureBlocked)
“Indicates whether screen capture is blocked. (Android only)”- Parameters:
screenCaptureBlocked- value ofscreenCaptureBlockedproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
thirdPartyKeyboardsBlocked
public DefaultManagedAppProtection.Builder thirdPartyKeyboardsBlocked(Boolean thirdPartyKeyboardsBlocked)
“Defines if third party keyboards are allowed while accessing a managed app. (iOS Only)”- Parameters:
thirdPartyKeyboardsBlocked- value ofthirdPartyKeyboardsBlockedproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
warnAfterCompanyPortalUpdateDeferralInDays
public DefaultManagedAppProtection.Builder warnAfterCompanyPortalUpdateDeferralInDays(Integer warnAfterCompanyPortalUpdateDeferralInDays)
“Maximum number of days Company Portal update can be deferred on the device or the user will receive the warning”- Parameters:
warnAfterCompanyPortalUpdateDeferralInDays- value ofwarnAfterCompanyPortalUpdateDeferralInDaysproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
wipeAfterCompanyPortalUpdateDeferralInDays
public DefaultManagedAppProtection.Builder wipeAfterCompanyPortalUpdateDeferralInDays(Integer wipeAfterCompanyPortalUpdateDeferralInDays)
“Maximum number of days Company Portal update can be deferred on the device or the company data on the app will be wiped”- Parameters:
wipeAfterCompanyPortalUpdateDeferralInDays- value ofwipeAfterCompanyPortalUpdateDeferralInDaysproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
build
public DefaultManagedAppProtection build()
-
-