Class ManagedAppProtection
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.ManagedAppPolicy
-
- odata.msgraph.client.beta.entity.ManagedAppProtection
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
DefaultManagedAppProtection,TargetedManagedAppProtection
public class ManagedAppProtection extends ManagedAppPolicy implements com.github.davidmoten.odata.client.ODataEntityType
“Policy used to configure detailed management settings for a specified set of apps”
-
-
Field Summary
-
Fields inherited from class odata.msgraph.client.beta.entity.ManagedAppPolicy
createdDateTime, description, displayName, lastModifiedDateTime, roleScopeTagIds, roleScopeTagIdsNextLink, version
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedManagedAppProtection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.github.davidmoten.odata.client.CollectionPage<ManagedAppDataIngestionLocation>getAllowedDataIngestionLocations()“Data storage locations where a user may store managed data.”com.github.davidmoten.odata.client.CollectionPage<ManagedAppDataIngestionLocation>getAllowedDataIngestionLocations(com.github.davidmoten.odata.client.HttpRequestOptions options)“Data storage locations where a user may store managed data.”com.github.davidmoten.odata.client.CollectionPage<ManagedAppDataStorageLocation>getAllowedDataStorageLocations()“Data storage locations where a user may store managed data.”com.github.davidmoten.odata.client.CollectionPage<ManagedAppDataStorageLocation>getAllowedDataStorageLocations(com.github.davidmoten.odata.client.HttpRequestOptions options)“Data storage locations where a user may store managed data.”Optional<ManagedAppDataTransferLevel>getAllowedInboundDataTransferSources()“Sources from which data is allowed to be transferred.”Optional<Integer>getAllowedOutboundClipboardSharingExceptionLength()“Specify the number of characters that may be cut or copied from Org data and accounts to any application.Optional<ManagedAppClipboardSharingLevel>getAllowedOutboundClipboardSharingLevel()“The level to which the clipboard may be shared between apps on the managed device.”Optional<ManagedAppDataTransferLevel>getAllowedOutboundDataTransferDestinations()“Destinations to which data is allowed to be transferred.”Optional<ManagedAppRemediationAction>getAppActionIfDeviceComplianceRequired()“Defines a managed app behavior, either block or wipe, when the device is either rooted or jailbroken, if DeviceComplianceRequired is set to true.”Optional<ManagedAppRemediationAction>getAppActionIfMaximumPinRetriesExceeded()“Defines a managed app behavior, either block or wipe, based on maximum number of incorrect pin retry attempts.”Optional<ManagedAppRemediationAction>getAppActionIfUnableToAuthenticateUser()“If set, it will specify what action to take in the case where the user is unable to checkin because their authentication token is invalid.Optional<Boolean>getBlockDataIngestionIntoOrganizationDocuments()“Indicates whether a user can bring data into org documents.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<Boolean>getContactSyncBlocked()“Indicates whether contacts can be synced to the user's device.”Optional<Boolean>getDataBackupBlocked()“Indicates whether the backup of a managed app's data is blocked.”Optional<Boolean>getDeviceComplianceRequired()“Indicates whether device compliance is required.”Optional<ManagedAppPhoneNumberRedirectLevel>getDialerRestrictionLevel()“The classes of dialer apps that are allowed to click-to-open a phone number.”Optional<Boolean>getDisableAppPinIfDevicePinIsSet()“Indicates whether use of the app pin is required if the device pin is set.”Optional<Boolean>getFingerprintBlocked()“Indicates whether use of the fingerprint reader is allowed in place of a pin if PinRequired is set to True.”Optional<Duration>getGracePeriodToBlockAppsDuringOffClockHours()“A grace period before blocking app access during off clock hours.”Optional<ManagedBrowserType>getManagedBrowser()“Indicates in which managed browser(s) that internet links should be opened.Optional<Boolean>getManagedBrowserToOpenLinksRequired()“Indicates whether internet links should be opened in the managed browser app, or any custom browser specified by CustomBrowserProtocol (for iOS) or CustomBrowserPackageId/CustomBrowserDisplayName (for Android)”Optional<ManagedAppDeviceThreatLevel>getMaximumAllowedDeviceThreatLevel()“Maximum allowed device threat level, as reported by the MTD app”Optional<Integer>getMaximumPinRetries()“Maximum number of incorrect pin retry attempts before the managed app is either blocked or wiped.”Optional<String>getMaximumRequiredOsVersion()“Versions bigger than the specified version will block the managed app from accessing company data.”Optional<String>getMaximumWarningOsVersion()“Versions bigger than the specified version will block the managed app from accessing company data.”Optional<String>getMaximumWipeOsVersion()“Versions bigger than the specified version will block the managed app from accessing company data.”Optional<Integer>getMinimumPinLength()“Minimum pin length required for an app-level pin if PinRequired is set to True”Optional<String>getMinimumRequiredAppVersion()“Versions less than the specified version will block the managed app from accessing company data.”Optional<String>getMinimumRequiredOsVersion()“Versions less than the specified version will block the managed app from accessing company data.”Optional<String>getMinimumWarningAppVersion()“Versions less than the specified version will result in warning message on the managed app.”Optional<String>getMinimumWarningOsVersion()“Versions less than the specified version will result in warning message on the managed app from accessing company data.”Optional<String>getMinimumWipeAppVersion()“Versions less than or equal to the specified version will wipe the managed app and the associated company data.”Optional<String>getMinimumWipeOsVersion()“Versions less than or equal to the specified version will wipe the managed app and the associated company data.”Optional<ManagedAppRemediationAction>getMobileThreatDefenseRemediationAction()“Determines what action to take if the mobile threat defense threat threshold isn 't met.Optional<ManagedAppNotificationRestriction>getNotificationRestriction()“Specify app notification restriction”Optional<Boolean>getOrganizationalCredentialsRequired()“Indicates whether organizational credentials are required for app use.”Optional<Duration>getPeriodBeforePinReset()“TimePeriod before the all-level pin must be reset if PinRequired is set to True.”Optional<Duration>getPeriodOfflineBeforeAccessCheck()“The period after which access is checked when the device is not connected to the internet.”Optional<Duration>getPeriodOfflineBeforeWipeIsEnforced()“The amount of time an app is allowed to remain disconnected from the internet before all managed data it is wiped.”Optional<Duration>getPeriodOnlineBeforeAccessCheck()“The period after which access is checked when the device is connected to the internet.”Optional<ManagedAppPinCharacterSet>getPinCharacterSet()“Character set which may be used for an app-level pin if PinRequired is set to True.”Optional<Boolean>getPinRequired()“Indicates whether an app-level pin is required.”Optional<Duration>getPinRequiredInsteadOfBiometricTimeout()“Timeout in minutes for an app pin instead of non biometrics passcode”Optional<Integer>getPreviousPinBlockCount()“Requires a pin to be unique from the number specified in this property.”Optional<Boolean>getPrintBlocked()“Indicates whether printing is allowed from managed apps.”Optional<Boolean>getSaveAsBlocked()“Indicates whether users may use the "Save As" menu item to save a copy of protected files.”Optional<Boolean>getSimplePinBlocked()“Indicates whether simplePin is blocked.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()ManagedAppProtectionpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)ManagedAppProtectionput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).com.github.davidmoten.odata.client.ActionRequestNoReturntargetApps(List<ManagedMobileApp> apps)StringtoString()ManagedAppProtectionwithAllowedDataIngestionLocations(List<ManagedAppDataIngestionLocation> allowedDataIngestionLocations)Returns an immutable copy ofthiswith just theallowedDataIngestionLocationsfield changed.ManagedAppProtectionwithAllowedDataStorageLocations(List<ManagedAppDataStorageLocation> allowedDataStorageLocations)Returns an immutable copy ofthiswith just theallowedDataStorageLocationsfield changed.ManagedAppProtectionwithAllowedInboundDataTransferSources(ManagedAppDataTransferLevel allowedInboundDataTransferSources)Returns an immutable copy ofthiswith just theallowedInboundDataTransferSourcesfield changed.ManagedAppProtectionwithAllowedOutboundClipboardSharingExceptionLength(Integer allowedOutboundClipboardSharingExceptionLength)Returns an immutable copy ofthiswith just theallowedOutboundClipboardSharingExceptionLengthfield changed.ManagedAppProtectionwithAllowedOutboundClipboardSharingLevel(ManagedAppClipboardSharingLevel allowedOutboundClipboardSharingLevel)Returns an immutable copy ofthiswith just theallowedOutboundClipboardSharingLevelfield changed.ManagedAppProtectionwithAllowedOutboundDataTransferDestinations(ManagedAppDataTransferLevel allowedOutboundDataTransferDestinations)Returns an immutable copy ofthiswith just theallowedOutboundDataTransferDestinationsfield changed.ManagedAppProtectionwithAppActionIfDeviceComplianceRequired(ManagedAppRemediationAction appActionIfDeviceComplianceRequired)Returns an immutable copy ofthiswith just theappActionIfDeviceComplianceRequiredfield changed.ManagedAppProtectionwithAppActionIfMaximumPinRetriesExceeded(ManagedAppRemediationAction appActionIfMaximumPinRetriesExceeded)Returns an immutable copy ofthiswith just theappActionIfMaximumPinRetriesExceededfield changed.ManagedAppProtectionwithAppActionIfUnableToAuthenticateUser(ManagedAppRemediationAction appActionIfUnableToAuthenticateUser)Returns an immutable copy ofthiswith just theappActionIfUnableToAuthenticateUserfield changed.ManagedAppProtectionwithBlockDataIngestionIntoOrganizationDocuments(Boolean blockDataIngestionIntoOrganizationDocuments)Returns an immutable copy ofthiswith just theblockDataIngestionIntoOrganizationDocumentsfield changed.ManagedAppProtectionwithContactSyncBlocked(Boolean contactSyncBlocked)Returns an immutable copy ofthiswith just thecontactSyncBlockedfield changed.ManagedAppProtectionwithDataBackupBlocked(Boolean dataBackupBlocked)Returns an immutable copy ofthiswith just thedataBackupBlockedfield changed.ManagedAppProtectionwithDeviceComplianceRequired(Boolean deviceComplianceRequired)Returns an immutable copy ofthiswith just thedeviceComplianceRequiredfield changed.ManagedAppProtectionwithDialerRestrictionLevel(ManagedAppPhoneNumberRedirectLevel dialerRestrictionLevel)Returns an immutable copy ofthiswith just thedialerRestrictionLevelfield changed.ManagedAppProtectionwithDisableAppPinIfDevicePinIsSet(Boolean disableAppPinIfDevicePinIsSet)Returns an immutable copy ofthiswith just thedisableAppPinIfDevicePinIsSetfield changed.ManagedAppProtectionwithFingerprintBlocked(Boolean fingerprintBlocked)Returns an immutable copy ofthiswith just thefingerprintBlockedfield changed.ManagedAppProtectionwithGracePeriodToBlockAppsDuringOffClockHours(Duration gracePeriodToBlockAppsDuringOffClockHours)Returns an immutable copy ofthiswith just thegracePeriodToBlockAppsDuringOffClockHoursfield changed.ManagedAppProtectionwithManagedBrowser(ManagedBrowserType managedBrowser)Returns an immutable copy ofthiswith just themanagedBrowserfield changed.ManagedAppProtectionwithManagedBrowserToOpenLinksRequired(Boolean managedBrowserToOpenLinksRequired)Returns an immutable copy ofthiswith just themanagedBrowserToOpenLinksRequiredfield changed.ManagedAppProtectionwithMaximumAllowedDeviceThreatLevel(ManagedAppDeviceThreatLevel maximumAllowedDeviceThreatLevel)Returns an immutable copy ofthiswith just themaximumAllowedDeviceThreatLevelfield changed.ManagedAppProtectionwithMaximumPinRetries(Integer maximumPinRetries)Returns an immutable copy ofthiswith just themaximumPinRetriesfield changed.ManagedAppProtectionwithMaximumRequiredOsVersion(String maximumRequiredOsVersion)Returns an immutable copy ofthiswith just themaximumRequiredOsVersionfield changed.ManagedAppProtectionwithMaximumWarningOsVersion(String maximumWarningOsVersion)Returns an immutable copy ofthiswith just themaximumWarningOsVersionfield changed.ManagedAppProtectionwithMaximumWipeOsVersion(String maximumWipeOsVersion)Returns an immutable copy ofthiswith just themaximumWipeOsVersionfield changed.ManagedAppProtectionwithMinimumPinLength(Integer minimumPinLength)Returns an immutable copy ofthiswith just theminimumPinLengthfield changed.ManagedAppProtectionwithMinimumRequiredAppVersion(String minimumRequiredAppVersion)Returns an immutable copy ofthiswith just theminimumRequiredAppVersionfield changed.ManagedAppProtectionwithMinimumRequiredOsVersion(String minimumRequiredOsVersion)Returns an immutable copy ofthiswith just theminimumRequiredOsVersionfield changed.ManagedAppProtectionwithMinimumWarningAppVersion(String minimumWarningAppVersion)Returns an immutable copy ofthiswith just theminimumWarningAppVersionfield changed.ManagedAppProtectionwithMinimumWarningOsVersion(String minimumWarningOsVersion)Returns an immutable copy ofthiswith just theminimumWarningOsVersionfield changed.ManagedAppProtectionwithMinimumWipeAppVersion(String minimumWipeAppVersion)Returns an immutable copy ofthiswith just theminimumWipeAppVersionfield changed.ManagedAppProtectionwithMinimumWipeOsVersion(String minimumWipeOsVersion)Returns an immutable copy ofthiswith just theminimumWipeOsVersionfield changed.ManagedAppProtectionwithMobileThreatDefenseRemediationAction(ManagedAppRemediationAction mobileThreatDefenseRemediationAction)Returns an immutable copy ofthiswith just themobileThreatDefenseRemediationActionfield changed.ManagedAppProtectionwithNotificationRestriction(ManagedAppNotificationRestriction notificationRestriction)Returns an immutable copy ofthiswith just thenotificationRestrictionfield changed.ManagedAppProtectionwithOrganizationalCredentialsRequired(Boolean organizationalCredentialsRequired)Returns an immutable copy ofthiswith just theorganizationalCredentialsRequiredfield changed.ManagedAppProtectionwithPeriodBeforePinReset(Duration periodBeforePinReset)Returns an immutable copy ofthiswith just theperiodBeforePinResetfield changed.ManagedAppProtectionwithPeriodOfflineBeforeAccessCheck(Duration periodOfflineBeforeAccessCheck)Returns an immutable copy ofthiswith just theperiodOfflineBeforeAccessCheckfield changed.ManagedAppProtectionwithPeriodOfflineBeforeWipeIsEnforced(Duration periodOfflineBeforeWipeIsEnforced)Returns an immutable copy ofthiswith just theperiodOfflineBeforeWipeIsEnforcedfield changed.ManagedAppProtectionwithPeriodOnlineBeforeAccessCheck(Duration periodOnlineBeforeAccessCheck)Returns an immutable copy ofthiswith just theperiodOnlineBeforeAccessCheckfield changed.ManagedAppProtectionwithPinCharacterSet(ManagedAppPinCharacterSet pinCharacterSet)Returns an immutable copy ofthiswith just thepinCharacterSetfield changed.ManagedAppProtectionwithPinRequired(Boolean pinRequired)Returns an immutable copy ofthiswith just thepinRequiredfield changed.ManagedAppProtectionwithPinRequiredInsteadOfBiometricTimeout(Duration pinRequiredInsteadOfBiometricTimeout)Returns an immutable copy ofthiswith just thepinRequiredInsteadOfBiometricTimeoutfield changed.ManagedAppProtectionwithPreviousPinBlockCount(Integer previousPinBlockCount)Returns an immutable copy ofthiswith just thepreviousPinBlockCountfield changed.ManagedAppProtectionwithPrintBlocked(Boolean printBlocked)Returns an immutable copy ofthiswith just theprintBlockedfield changed.ManagedAppProtectionwithSaveAsBlocked(Boolean saveAsBlocked)Returns an immutable copy ofthiswith just thesaveAsBlockedfield changed.ManagedAppProtectionwithSimplePinBlocked(Boolean simplePinBlocked)Returns an immutable copy ofthiswith just thesimplePinBlockedfield changed.ManagedAppProtectionwithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.entity.ManagedAppPolicy
getCreatedDateTime, getDescription, getDisplayName, getLastModifiedDateTime, getRoleScopeTagIds, getRoleScopeTagIds, getVersion, withCreatedDateTime, withDescription, withDisplayName, withLastModifiedDateTime, withRoleScopeTagIds, withVersion
-
-
-
-
Field Detail
-
allowedDataIngestionLocations
protected List<ManagedAppDataIngestionLocation> allowedDataIngestionLocations
-
allowedDataIngestionLocationsNextLink
protected String allowedDataIngestionLocationsNextLink
-
allowedDataStorageLocations
protected List<ManagedAppDataStorageLocation> allowedDataStorageLocations
-
allowedDataStorageLocationsNextLink
protected String allowedDataStorageLocationsNextLink
-
allowedInboundDataTransferSources
protected ManagedAppDataTransferLevel allowedInboundDataTransferSources
-
allowedOutboundClipboardSharingExceptionLength
protected Integer allowedOutboundClipboardSharingExceptionLength
-
allowedOutboundClipboardSharingLevel
protected ManagedAppClipboardSharingLevel allowedOutboundClipboardSharingLevel
-
allowedOutboundDataTransferDestinations
protected ManagedAppDataTransferLevel allowedOutboundDataTransferDestinations
-
appActionIfDeviceComplianceRequired
protected ManagedAppRemediationAction appActionIfDeviceComplianceRequired
-
appActionIfMaximumPinRetriesExceeded
protected ManagedAppRemediationAction appActionIfMaximumPinRetriesExceeded
-
appActionIfUnableToAuthenticateUser
protected ManagedAppRemediationAction appActionIfUnableToAuthenticateUser
-
blockDataIngestionIntoOrganizationDocuments
protected Boolean blockDataIngestionIntoOrganizationDocuments
-
contactSyncBlocked
protected Boolean contactSyncBlocked
-
dataBackupBlocked
protected Boolean dataBackupBlocked
-
deviceComplianceRequired
protected Boolean deviceComplianceRequired
-
dialerRestrictionLevel
protected ManagedAppPhoneNumberRedirectLevel dialerRestrictionLevel
-
disableAppPinIfDevicePinIsSet
protected Boolean disableAppPinIfDevicePinIsSet
-
fingerprintBlocked
protected Boolean fingerprintBlocked
-
gracePeriodToBlockAppsDuringOffClockHours
protected Duration gracePeriodToBlockAppsDuringOffClockHours
-
managedBrowser
protected ManagedBrowserType managedBrowser
-
managedBrowserToOpenLinksRequired
protected Boolean managedBrowserToOpenLinksRequired
-
maximumAllowedDeviceThreatLevel
protected ManagedAppDeviceThreatLevel maximumAllowedDeviceThreatLevel
-
maximumPinRetries
protected Integer maximumPinRetries
-
maximumRequiredOsVersion
protected String maximumRequiredOsVersion
-
maximumWarningOsVersion
protected String maximumWarningOsVersion
-
maximumWipeOsVersion
protected String maximumWipeOsVersion
-
minimumPinLength
protected Integer minimumPinLength
-
minimumRequiredAppVersion
protected String minimumRequiredAppVersion
-
minimumRequiredOsVersion
protected String minimumRequiredOsVersion
-
minimumWarningAppVersion
protected String minimumWarningAppVersion
-
minimumWarningOsVersion
protected String minimumWarningOsVersion
-
minimumWipeAppVersion
protected String minimumWipeAppVersion
-
minimumWipeOsVersion
protected String minimumWipeOsVersion
-
mobileThreatDefenseRemediationAction
protected ManagedAppRemediationAction mobileThreatDefenseRemediationAction
-
notificationRestriction
protected ManagedAppNotificationRestriction notificationRestriction
-
organizationalCredentialsRequired
protected Boolean organizationalCredentialsRequired
-
periodBeforePinReset
protected Duration periodBeforePinReset
-
periodOfflineBeforeAccessCheck
protected Duration periodOfflineBeforeAccessCheck
-
periodOfflineBeforeWipeIsEnforced
protected Duration periodOfflineBeforeWipeIsEnforced
-
periodOnlineBeforeAccessCheck
protected Duration periodOnlineBeforeAccessCheck
-
pinCharacterSet
protected ManagedAppPinCharacterSet pinCharacterSet
-
pinRequired
protected Boolean pinRequired
-
pinRequiredInsteadOfBiometricTimeout
protected Duration pinRequiredInsteadOfBiometricTimeout
-
previousPinBlockCount
protected Integer previousPinBlockCount
-
printBlocked
protected Boolean printBlocked
-
saveAsBlocked
protected Boolean saveAsBlocked
-
simplePinBlocked
protected Boolean simplePinBlocked
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classManagedAppPolicy
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classManagedAppPolicy
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classManagedAppPolicy
-
getAllowedDataIngestionLocations
public com.github.davidmoten.odata.client.CollectionPage<ManagedAppDataIngestionLocation> getAllowedDataIngestionLocations()
“Data storage locations where a user may store managed data.”- Returns:
- property allowedDataIngestionLocations
-
withAllowedDataIngestionLocations
public ManagedAppProtection withAllowedDataIngestionLocations(List<ManagedAppDataIngestionLocation> allowedDataIngestionLocations)
Returns an immutable copy ofthiswith just theallowedDataIngestionLocationsfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Data storage locations where a user may store managed data.”
- Parameters:
allowedDataIngestionLocations- new value ofallowedDataIngestionLocationsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theallowedDataIngestionLocationsfield changed
-
getAllowedDataIngestionLocations
public com.github.davidmoten.odata.client.CollectionPage<ManagedAppDataIngestionLocation> getAllowedDataIngestionLocations(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Data storage locations where a user may store managed data.”- Parameters:
options- specify connect and read timeouts- Returns:
- property allowedDataIngestionLocations
-
getAllowedDataStorageLocations
public com.github.davidmoten.odata.client.CollectionPage<ManagedAppDataStorageLocation> getAllowedDataStorageLocations()
“Data storage locations where a user may store managed data.”- Returns:
- property allowedDataStorageLocations
-
withAllowedDataStorageLocations
public ManagedAppProtection withAllowedDataStorageLocations(List<ManagedAppDataStorageLocation> allowedDataStorageLocations)
Returns an immutable copy ofthiswith just theallowedDataStorageLocationsfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Data storage locations where a user may store managed data.”
- Parameters:
allowedDataStorageLocations- new value ofallowedDataStorageLocationsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theallowedDataStorageLocationsfield changed
-
getAllowedDataStorageLocations
public com.github.davidmoten.odata.client.CollectionPage<ManagedAppDataStorageLocation> getAllowedDataStorageLocations(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Data storage locations where a user may store managed data.”- Parameters:
options- specify connect and read timeouts- Returns:
- property allowedDataStorageLocations
-
getAllowedInboundDataTransferSources
public Optional<ManagedAppDataTransferLevel> getAllowedInboundDataTransferSources()
“Sources from which data is allowed to be transferred.”- Returns:
- property allowedInboundDataTransferSources
-
withAllowedInboundDataTransferSources
public ManagedAppProtection withAllowedInboundDataTransferSources(ManagedAppDataTransferLevel allowedInboundDataTransferSources)
Returns an immutable copy ofthiswith just theallowedInboundDataTransferSourcesfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Sources from which data is allowed to be transferred.”
- Parameters:
allowedInboundDataTransferSources- new value ofallowedInboundDataTransferSourcesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theallowedInboundDataTransferSourcesfield changed
-
getAllowedOutboundClipboardSharingExceptionLength
public Optional<Integer> getAllowedOutboundClipboardSharingExceptionLength()
“Specify the number of characters that may be cut or copied from Org data and accounts to any application. This setting overrides the AllowedOutboundClipboardSharingLevel restriction. Default value of '0' means no exception is allowed.”- Returns:
- property allowedOutboundClipboardSharingExceptionLength
-
withAllowedOutboundClipboardSharingExceptionLength
public ManagedAppProtection withAllowedOutboundClipboardSharingExceptionLength(Integer allowedOutboundClipboardSharingExceptionLength)
Returns an immutable copy ofthiswith just theallowedOutboundClipboardSharingExceptionLengthfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Specify the number of characters that may be cut or copied from Org data and accounts to any application. This setting overrides the AllowedOutboundClipboardSharingLevel restriction. Default value of '0' means no exception is allowed.”
- Parameters:
allowedOutboundClipboardSharingExceptionLength- new value ofallowedOutboundClipboardSharingExceptionLengthfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theallowedOutboundClipboardSharingExceptionLengthfield changed
-
getAllowedOutboundClipboardSharingLevel
public Optional<ManagedAppClipboardSharingLevel> getAllowedOutboundClipboardSharingLevel()
“The level to which the clipboard may be shared between apps on the managed device.”- Returns:
- property allowedOutboundClipboardSharingLevel
-
withAllowedOutboundClipboardSharingLevel
public ManagedAppProtection withAllowedOutboundClipboardSharingLevel(ManagedAppClipboardSharingLevel allowedOutboundClipboardSharingLevel)
Returns an immutable copy ofthiswith just theallowedOutboundClipboardSharingLevelfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The level to which the clipboard may be shared between apps on the managed device.”
- Parameters:
allowedOutboundClipboardSharingLevel- new value ofallowedOutboundClipboardSharingLevelfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theallowedOutboundClipboardSharingLevelfield changed
-
getAllowedOutboundDataTransferDestinations
public Optional<ManagedAppDataTransferLevel> getAllowedOutboundDataTransferDestinations()
“Destinations to which data is allowed to be transferred.”- Returns:
- property allowedOutboundDataTransferDestinations
-
withAllowedOutboundDataTransferDestinations
public ManagedAppProtection withAllowedOutboundDataTransferDestinations(ManagedAppDataTransferLevel allowedOutboundDataTransferDestinations)
Returns an immutable copy ofthiswith just theallowedOutboundDataTransferDestinationsfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Destinations to which data is allowed to be transferred.”
- Parameters:
allowedOutboundDataTransferDestinations- new value ofallowedOutboundDataTransferDestinationsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theallowedOutboundDataTransferDestinationsfield changed
-
getAppActionIfDeviceComplianceRequired
public Optional<ManagedAppRemediationAction> getAppActionIfDeviceComplianceRequired()
“Defines a managed app behavior, either block or wipe, when the device is either rooted or jailbroken, if DeviceComplianceRequired is set to true.”- Returns:
- property appActionIfDeviceComplianceRequired
-
withAppActionIfDeviceComplianceRequired
public ManagedAppProtection withAppActionIfDeviceComplianceRequired(ManagedAppRemediationAction appActionIfDeviceComplianceRequired)
Returns an immutable copy ofthiswith just theappActionIfDeviceComplianceRequiredfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Defines a managed app behavior, either block or wipe, when the device is either rooted or jailbroken, if DeviceComplianceRequired is set to true.”
- Parameters:
appActionIfDeviceComplianceRequired- new value ofappActionIfDeviceComplianceRequiredfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theappActionIfDeviceComplianceRequiredfield changed
-
getAppActionIfMaximumPinRetriesExceeded
public Optional<ManagedAppRemediationAction> getAppActionIfMaximumPinRetriesExceeded()
“Defines a managed app behavior, either block or wipe, based on maximum number of incorrect pin retry attempts.”- Returns:
- property appActionIfMaximumPinRetriesExceeded
-
withAppActionIfMaximumPinRetriesExceeded
public ManagedAppProtection withAppActionIfMaximumPinRetriesExceeded(ManagedAppRemediationAction appActionIfMaximumPinRetriesExceeded)
Returns an immutable copy ofthiswith just theappActionIfMaximumPinRetriesExceededfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Defines a managed app behavior, either block or wipe, based on maximum number of incorrect pin retry attempts.”
- Parameters:
appActionIfMaximumPinRetriesExceeded- new value ofappActionIfMaximumPinRetriesExceededfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theappActionIfMaximumPinRetriesExceededfield changed
-
getAppActionIfUnableToAuthenticateUser
public Optional<ManagedAppRemediationAction> getAppActionIfUnableToAuthenticateUser()
“If set, it will specify what action to take in the case where the user is unable to checkin because their authentication token is invalid. This happens when the user is deleted or disabled in AAD.”- Returns:
- property appActionIfUnableToAuthenticateUser
-
withAppActionIfUnableToAuthenticateUser
public ManagedAppProtection withAppActionIfUnableToAuthenticateUser(ManagedAppRemediationAction appActionIfUnableToAuthenticateUser)
Returns an immutable copy ofthiswith just theappActionIfUnableToAuthenticateUserfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“If set, it will specify what action to take in the case where the user is unable to checkin because their authentication token is invalid. This happens when the user is deleted or disabled in AAD.”
- Parameters:
appActionIfUnableToAuthenticateUser- new value ofappActionIfUnableToAuthenticateUserfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theappActionIfUnableToAuthenticateUserfield changed
-
getBlockDataIngestionIntoOrganizationDocuments
public Optional<Boolean> getBlockDataIngestionIntoOrganizationDocuments()
“Indicates whether a user can bring data into org documents.”- Returns:
- property blockDataIngestionIntoOrganizationDocuments
-
withBlockDataIngestionIntoOrganizationDocuments
public ManagedAppProtection withBlockDataIngestionIntoOrganizationDocuments(Boolean blockDataIngestionIntoOrganizationDocuments)
Returns an immutable copy ofthiswith just theblockDataIngestionIntoOrganizationDocumentsfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Indicates whether a user can bring data into org documents.”
- Parameters:
blockDataIngestionIntoOrganizationDocuments- new value ofblockDataIngestionIntoOrganizationDocumentsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theblockDataIngestionIntoOrganizationDocumentsfield changed
-
getContactSyncBlocked
public Optional<Boolean> getContactSyncBlocked()
“Indicates whether contacts can be synced to the user's device.”- Returns:
- property contactSyncBlocked
-
withContactSyncBlocked
public ManagedAppProtection withContactSyncBlocked(Boolean contactSyncBlocked)
Returns an immutable copy ofthiswith just thecontactSyncBlockedfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Indicates whether contacts can be synced to the user's device.”
- Parameters:
contactSyncBlocked- new value ofcontactSyncBlockedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecontactSyncBlockedfield changed
-
getDataBackupBlocked
public Optional<Boolean> getDataBackupBlocked()
“Indicates whether the backup of a managed app's data is blocked.”- Returns:
- property dataBackupBlocked
-
withDataBackupBlocked
public ManagedAppProtection withDataBackupBlocked(Boolean dataBackupBlocked)
Returns an immutable copy ofthiswith just thedataBackupBlockedfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Indicates whether the backup of a managed app's data is blocked.”
- Parameters:
dataBackupBlocked- new value ofdataBackupBlockedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedataBackupBlockedfield changed
-
getDeviceComplianceRequired
public Optional<Boolean> getDeviceComplianceRequired()
“Indicates whether device compliance is required.”- Returns:
- property deviceComplianceRequired
-
withDeviceComplianceRequired
public ManagedAppProtection withDeviceComplianceRequired(Boolean deviceComplianceRequired)
Returns an immutable copy ofthiswith just thedeviceComplianceRequiredfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Indicates whether device compliance is required.”
- Parameters:
deviceComplianceRequired- new value ofdeviceComplianceRequiredfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceComplianceRequiredfield changed
-
getDialerRestrictionLevel
public Optional<ManagedAppPhoneNumberRedirectLevel> getDialerRestrictionLevel()
“The classes of dialer apps that are allowed to click-to-open a phone number.”- Returns:
- property dialerRestrictionLevel
-
withDialerRestrictionLevel
public ManagedAppProtection withDialerRestrictionLevel(ManagedAppPhoneNumberRedirectLevel dialerRestrictionLevel)
Returns an immutable copy ofthiswith just thedialerRestrictionLevelfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The classes of dialer apps that are allowed to click-to-open a phone number.”
- Parameters:
dialerRestrictionLevel- new value ofdialerRestrictionLevelfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedialerRestrictionLevelfield changed
-
getDisableAppPinIfDevicePinIsSet
public Optional<Boolean> getDisableAppPinIfDevicePinIsSet()
“Indicates whether use of the app pin is required if the device pin is set.”- Returns:
- property disableAppPinIfDevicePinIsSet
-
withDisableAppPinIfDevicePinIsSet
public ManagedAppProtection withDisableAppPinIfDevicePinIsSet(Boolean disableAppPinIfDevicePinIsSet)
Returns an immutable copy ofthiswith just thedisableAppPinIfDevicePinIsSetfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Indicates whether use of the app pin is required if the device pin is set.”
- Parameters:
disableAppPinIfDevicePinIsSet- new value ofdisableAppPinIfDevicePinIsSetfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisableAppPinIfDevicePinIsSetfield changed
-
getFingerprintBlocked
public Optional<Boolean> getFingerprintBlocked()
“Indicates whether use of the fingerprint reader is allowed in place of a pin if PinRequired is set to True.”- Returns:
- property fingerprintBlocked
-
withFingerprintBlocked
public ManagedAppProtection withFingerprintBlocked(Boolean fingerprintBlocked)
Returns an immutable copy ofthiswith just thefingerprintBlockedfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Indicates whether use of the fingerprint reader is allowed in place of a pin if PinRequired is set to True.”
- Parameters:
fingerprintBlocked- new value offingerprintBlockedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefingerprintBlockedfield changed
-
getGracePeriodToBlockAppsDuringOffClockHours
public Optional<Duration> getGracePeriodToBlockAppsDuringOffClockHours()
“A grace period before blocking app access during off clock hours.”- Returns:
- property gracePeriodToBlockAppsDuringOffClockHours
-
withGracePeriodToBlockAppsDuringOffClockHours
public ManagedAppProtection withGracePeriodToBlockAppsDuringOffClockHours(Duration gracePeriodToBlockAppsDuringOffClockHours)
Returns an immutable copy ofthiswith just thegracePeriodToBlockAppsDuringOffClockHoursfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“A grace period before blocking app access during off clock hours.”
- Parameters:
gracePeriodToBlockAppsDuringOffClockHours- new value ofgracePeriodToBlockAppsDuringOffClockHoursfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thegracePeriodToBlockAppsDuringOffClockHoursfield changed
-
getManagedBrowser
public Optional<ManagedBrowserType> getManagedBrowser()
“Indicates in which managed browser(s) that internet links should be opened. When this property is configured, ManagedBrowserToOpenLinksRequired should be true.”- Returns:
- property managedBrowser
-
withManagedBrowser
public ManagedAppProtection withManagedBrowser(ManagedBrowserType managedBrowser)
Returns an immutable copy ofthiswith just themanagedBrowserfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Indicates in which managed browser(s) that internet links should be opened. When this property is configured, ManagedBrowserToOpenLinksRequired should be true.”
- Parameters:
managedBrowser- new value ofmanagedBrowserfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themanagedBrowserfield changed
-
getManagedBrowserToOpenLinksRequired
public Optional<Boolean> getManagedBrowserToOpenLinksRequired()
“Indicates whether internet links should be opened in the managed browser app, or any custom browser specified by CustomBrowserProtocol (for iOS) or CustomBrowserPackageId/CustomBrowserDisplayName (for Android)”- Returns:
- property managedBrowserToOpenLinksRequired
-
withManagedBrowserToOpenLinksRequired
public ManagedAppProtection withManagedBrowserToOpenLinksRequired(Boolean managedBrowserToOpenLinksRequired)
Returns an immutable copy ofthiswith just themanagedBrowserToOpenLinksRequiredfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Indicates whether internet links should be opened in the managed browser app, or any custom browser specified by CustomBrowserProtocol (for iOS) or CustomBrowserPackageId/CustomBrowserDisplayName (for Android)”
- Parameters:
managedBrowserToOpenLinksRequired- new value ofmanagedBrowserToOpenLinksRequiredfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themanagedBrowserToOpenLinksRequiredfield changed
-
getMaximumAllowedDeviceThreatLevel
public Optional<ManagedAppDeviceThreatLevel> getMaximumAllowedDeviceThreatLevel()
“Maximum allowed device threat level, as reported by the MTD app”- Returns:
- property maximumAllowedDeviceThreatLevel
-
withMaximumAllowedDeviceThreatLevel
public ManagedAppProtection withMaximumAllowedDeviceThreatLevel(ManagedAppDeviceThreatLevel maximumAllowedDeviceThreatLevel)
Returns an immutable copy ofthiswith just themaximumAllowedDeviceThreatLevelfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Maximum allowed device threat level, as reported by the MTD app”
- Parameters:
maximumAllowedDeviceThreatLevel- new value ofmaximumAllowedDeviceThreatLevelfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themaximumAllowedDeviceThreatLevelfield changed
-
getMaximumPinRetries
public Optional<Integer> getMaximumPinRetries()
“Maximum number of incorrect pin retry attempts before the managed app is either blocked or wiped.”- Returns:
- property maximumPinRetries
-
withMaximumPinRetries
public ManagedAppProtection withMaximumPinRetries(Integer maximumPinRetries)
Returns an immutable copy ofthiswith just themaximumPinRetriesfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Maximum number of incorrect pin retry attempts before the managed app is either blocked or wiped.”
- Parameters:
maximumPinRetries- new value ofmaximumPinRetriesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themaximumPinRetriesfield changed
-
getMaximumRequiredOsVersion
public Optional<String> getMaximumRequiredOsVersion()
“Versions bigger than the specified version will block the managed app from accessing company data.”- Returns:
- property maximumRequiredOsVersion
-
withMaximumRequiredOsVersion
public ManagedAppProtection withMaximumRequiredOsVersion(String maximumRequiredOsVersion)
Returns an immutable copy ofthiswith just themaximumRequiredOsVersionfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Versions bigger than the specified version will block the managed app from accessing company data.”
- Parameters:
maximumRequiredOsVersion- new value ofmaximumRequiredOsVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themaximumRequiredOsVersionfield changed
-
getMaximumWarningOsVersion
public Optional<String> getMaximumWarningOsVersion()
“Versions bigger than the specified version will block the managed app from accessing company data.”- Returns:
- property maximumWarningOsVersion
-
withMaximumWarningOsVersion
public ManagedAppProtection withMaximumWarningOsVersion(String maximumWarningOsVersion)
Returns an immutable copy ofthiswith just themaximumWarningOsVersionfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Versions bigger than the specified version will block the managed app from accessing company data.”
- Parameters:
maximumWarningOsVersion- new value ofmaximumWarningOsVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themaximumWarningOsVersionfield changed
-
getMaximumWipeOsVersion
public Optional<String> getMaximumWipeOsVersion()
“Versions bigger than the specified version will block the managed app from accessing company data.”- Returns:
- property maximumWipeOsVersion
-
withMaximumWipeOsVersion
public ManagedAppProtection withMaximumWipeOsVersion(String maximumWipeOsVersion)
Returns an immutable copy ofthiswith just themaximumWipeOsVersionfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Versions bigger than the specified version will block the managed app from accessing company data.”
- Parameters:
maximumWipeOsVersion- new value ofmaximumWipeOsVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themaximumWipeOsVersionfield changed
-
getMinimumPinLength
public Optional<Integer> getMinimumPinLength()
“Minimum pin length required for an app-level pin if PinRequired is set to True”- Returns:
- property minimumPinLength
-
withMinimumPinLength
public ManagedAppProtection withMinimumPinLength(Integer minimumPinLength)
Returns an immutable copy ofthiswith just theminimumPinLengthfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Minimum pin length required for an app-level pin if PinRequired is set to True”
- Parameters:
minimumPinLength- new value ofminimumPinLengthfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theminimumPinLengthfield changed
-
getMinimumRequiredAppVersion
public Optional<String> getMinimumRequiredAppVersion()
“Versions less than the specified version will block the managed app from accessing company data.”- Returns:
- property minimumRequiredAppVersion
-
withMinimumRequiredAppVersion
public ManagedAppProtection withMinimumRequiredAppVersion(String minimumRequiredAppVersion)
Returns an immutable copy ofthiswith just theminimumRequiredAppVersionfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Versions less than the specified version will block the managed app from accessing company data.”
- Parameters:
minimumRequiredAppVersion- new value ofminimumRequiredAppVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theminimumRequiredAppVersionfield changed
-
getMinimumRequiredOsVersion
public Optional<String> getMinimumRequiredOsVersion()
“Versions less than the specified version will block the managed app from accessing company data.”- Returns:
- property minimumRequiredOsVersion
-
withMinimumRequiredOsVersion
public ManagedAppProtection withMinimumRequiredOsVersion(String minimumRequiredOsVersion)
Returns an immutable copy ofthiswith just theminimumRequiredOsVersionfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Versions less than the specified version will block the managed app from accessing company data.”
- Parameters:
minimumRequiredOsVersion- new value ofminimumRequiredOsVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theminimumRequiredOsVersionfield changed
-
getMinimumWarningAppVersion
public Optional<String> getMinimumWarningAppVersion()
“Versions less than the specified version will result in warning message on the managed app.”- Returns:
- property minimumWarningAppVersion
-
withMinimumWarningAppVersion
public ManagedAppProtection withMinimumWarningAppVersion(String minimumWarningAppVersion)
Returns an immutable copy ofthiswith just theminimumWarningAppVersionfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Versions less than the specified version will result in warning message on the managed app.”
- Parameters:
minimumWarningAppVersion- new value ofminimumWarningAppVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theminimumWarningAppVersionfield changed
-
getMinimumWarningOsVersion
public Optional<String> getMinimumWarningOsVersion()
“Versions less than the specified version will result in warning message on the managed app from accessing company data.”- Returns:
- property minimumWarningOsVersion
-
withMinimumWarningOsVersion
public ManagedAppProtection withMinimumWarningOsVersion(String minimumWarningOsVersion)
Returns an immutable copy ofthiswith just theminimumWarningOsVersionfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Versions less than the specified version will result in warning message on the managed app from accessing company data.”
- Parameters:
minimumWarningOsVersion- new value ofminimumWarningOsVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theminimumWarningOsVersionfield changed
-
getMinimumWipeAppVersion
public Optional<String> getMinimumWipeAppVersion()
“Versions less than or equal to the specified version will wipe the managed app and the associated company data.”- Returns:
- property minimumWipeAppVersion
-
withMinimumWipeAppVersion
public ManagedAppProtection withMinimumWipeAppVersion(String minimumWipeAppVersion)
Returns an immutable copy ofthiswith just theminimumWipeAppVersionfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Versions less than or equal to the specified version will wipe the managed app and the associated company data.”
- Parameters:
minimumWipeAppVersion- new value ofminimumWipeAppVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theminimumWipeAppVersionfield changed
-
getMinimumWipeOsVersion
public Optional<String> getMinimumWipeOsVersion()
“Versions less than or equal to the specified version will wipe the managed app and the associated company data.”- Returns:
- property minimumWipeOsVersion
-
withMinimumWipeOsVersion
public ManagedAppProtection withMinimumWipeOsVersion(String minimumWipeOsVersion)
Returns an immutable copy ofthiswith just theminimumWipeOsVersionfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Versions less than or equal to the specified version will wipe the managed app and the associated company data.”
- Parameters:
minimumWipeOsVersion- new value ofminimumWipeOsVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theminimumWipeOsVersionfield changed
-
getMobileThreatDefenseRemediationAction
public Optional<ManagedAppRemediationAction> getMobileThreatDefenseRemediationAction()
“Determines what action to take if the mobile threat defense threat threshold isn 't met. Warn isn't a supported value for this property”- Returns:
- property mobileThreatDefenseRemediationAction
-
withMobileThreatDefenseRemediationAction
public ManagedAppProtection withMobileThreatDefenseRemediationAction(ManagedAppRemediationAction mobileThreatDefenseRemediationAction)
Returns an immutable copy ofthiswith just themobileThreatDefenseRemediationActionfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Determines what action to take if the mobile threat defense threat threshold isn 't met. Warn isn't a supported value for this property”
- Parameters:
mobileThreatDefenseRemediationAction- new value ofmobileThreatDefenseRemediationActionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themobileThreatDefenseRemediationActionfield changed
-
getNotificationRestriction
public Optional<ManagedAppNotificationRestriction> getNotificationRestriction()
“Specify app notification restriction”- Returns:
- property notificationRestriction
-
withNotificationRestriction
public ManagedAppProtection withNotificationRestriction(ManagedAppNotificationRestriction notificationRestriction)
Returns an immutable copy ofthiswith just thenotificationRestrictionfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Specify app notification restriction”
- Parameters:
notificationRestriction- new value ofnotificationRestrictionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenotificationRestrictionfield changed
-
getOrganizationalCredentialsRequired
public Optional<Boolean> getOrganizationalCredentialsRequired()
“Indicates whether organizational credentials are required for app use.”- Returns:
- property organizationalCredentialsRequired
-
withOrganizationalCredentialsRequired
public ManagedAppProtection withOrganizationalCredentialsRequired(Boolean organizationalCredentialsRequired)
Returns an immutable copy ofthiswith just theorganizationalCredentialsRequiredfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Indicates whether organizational credentials are required for app use.”
- Parameters:
organizationalCredentialsRequired- new value oforganizationalCredentialsRequiredfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theorganizationalCredentialsRequiredfield changed
-
getPeriodBeforePinReset
public Optional<Duration> getPeriodBeforePinReset()
“TimePeriod before the all-level pin must be reset if PinRequired is set to True.”- Returns:
- property periodBeforePinReset
-
withPeriodBeforePinReset
public ManagedAppProtection withPeriodBeforePinReset(Duration periodBeforePinReset)
Returns an immutable copy ofthiswith just theperiodBeforePinResetfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“TimePeriod before the all-level pin must be reset if PinRequired is set to True.”
- Parameters:
periodBeforePinReset- new value ofperiodBeforePinResetfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theperiodBeforePinResetfield changed
-
getPeriodOfflineBeforeAccessCheck
public Optional<Duration> getPeriodOfflineBeforeAccessCheck()
“The period after which access is checked when the device is not connected to the internet.”- Returns:
- property periodOfflineBeforeAccessCheck
-
withPeriodOfflineBeforeAccessCheck
public ManagedAppProtection withPeriodOfflineBeforeAccessCheck(Duration periodOfflineBeforeAccessCheck)
Returns an immutable copy ofthiswith just theperiodOfflineBeforeAccessCheckfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The period after which access is checked when the device is not connected to the internet.”
- Parameters:
periodOfflineBeforeAccessCheck- new value ofperiodOfflineBeforeAccessCheckfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theperiodOfflineBeforeAccessCheckfield changed
-
getPeriodOfflineBeforeWipeIsEnforced
public Optional<Duration> getPeriodOfflineBeforeWipeIsEnforced()
“The amount of time an app is allowed to remain disconnected from the internet before all managed data it is wiped.”- Returns:
- property periodOfflineBeforeWipeIsEnforced
-
withPeriodOfflineBeforeWipeIsEnforced
public ManagedAppProtection withPeriodOfflineBeforeWipeIsEnforced(Duration periodOfflineBeforeWipeIsEnforced)
Returns an immutable copy ofthiswith just theperiodOfflineBeforeWipeIsEnforcedfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The amount of time an app is allowed to remain disconnected from the internet before all managed data it is wiped.”
- Parameters:
periodOfflineBeforeWipeIsEnforced- new value ofperiodOfflineBeforeWipeIsEnforcedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theperiodOfflineBeforeWipeIsEnforcedfield changed
-
getPeriodOnlineBeforeAccessCheck
public Optional<Duration> getPeriodOnlineBeforeAccessCheck()
“The period after which access is checked when the device is connected to the internet.”- Returns:
- property periodOnlineBeforeAccessCheck
-
withPeriodOnlineBeforeAccessCheck
public ManagedAppProtection withPeriodOnlineBeforeAccessCheck(Duration periodOnlineBeforeAccessCheck)
Returns an immutable copy ofthiswith just theperiodOnlineBeforeAccessCheckfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The period after which access is checked when the device is connected to the internet.”
- Parameters:
periodOnlineBeforeAccessCheck- new value ofperiodOnlineBeforeAccessCheckfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theperiodOnlineBeforeAccessCheckfield changed
-
getPinCharacterSet
public Optional<ManagedAppPinCharacterSet> getPinCharacterSet()
“Character set which may be used for an app-level pin if PinRequired is set to True.”- Returns:
- property pinCharacterSet
-
withPinCharacterSet
public ManagedAppProtection withPinCharacterSet(ManagedAppPinCharacterSet pinCharacterSet)
Returns an immutable copy ofthiswith just thepinCharacterSetfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Character set which may be used for an app-level pin if PinRequired is set to True.”
- Parameters:
pinCharacterSet- new value ofpinCharacterSetfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepinCharacterSetfield changed
-
getPinRequired
public Optional<Boolean> getPinRequired()
“Indicates whether an app-level pin is required.”- Returns:
- property pinRequired
-
withPinRequired
public ManagedAppProtection withPinRequired(Boolean pinRequired)
Returns an immutable copy ofthiswith just thepinRequiredfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Indicates whether an app-level pin is required.”
- Parameters:
pinRequired- new value ofpinRequiredfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepinRequiredfield changed
-
getPinRequiredInsteadOfBiometricTimeout
public Optional<Duration> getPinRequiredInsteadOfBiometricTimeout()
“Timeout in minutes for an app pin instead of non biometrics passcode”- Returns:
- property pinRequiredInsteadOfBiometricTimeout
-
withPinRequiredInsteadOfBiometricTimeout
public ManagedAppProtection withPinRequiredInsteadOfBiometricTimeout(Duration pinRequiredInsteadOfBiometricTimeout)
Returns an immutable copy ofthiswith just thepinRequiredInsteadOfBiometricTimeoutfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Timeout in minutes for an app pin instead of non biometrics passcode”
- Parameters:
pinRequiredInsteadOfBiometricTimeout- new value ofpinRequiredInsteadOfBiometricTimeoutfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepinRequiredInsteadOfBiometricTimeoutfield changed
-
getPreviousPinBlockCount
public Optional<Integer> getPreviousPinBlockCount()
“Requires a pin to be unique from the number specified in this property.”- Returns:
- property previousPinBlockCount
-
withPreviousPinBlockCount
public ManagedAppProtection withPreviousPinBlockCount(Integer previousPinBlockCount)
Returns an immutable copy ofthiswith just thepreviousPinBlockCountfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Requires a pin to be unique from the number specified in this property.”
- Parameters:
previousPinBlockCount- new value ofpreviousPinBlockCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepreviousPinBlockCountfield changed
-
getPrintBlocked
public Optional<Boolean> getPrintBlocked()
“Indicates whether printing is allowed from managed apps.”- Returns:
- property printBlocked
-
withPrintBlocked
public ManagedAppProtection withPrintBlocked(Boolean printBlocked)
Returns an immutable copy ofthiswith just theprintBlockedfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Indicates whether printing is allowed from managed apps.”
- Parameters:
printBlocked- new value ofprintBlockedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theprintBlockedfield changed
-
getSaveAsBlocked
public Optional<Boolean> getSaveAsBlocked()
“Indicates whether users may use the "Save As" menu item to save a copy of protected files.”- Returns:
- property saveAsBlocked
-
withSaveAsBlocked
public ManagedAppProtection withSaveAsBlocked(Boolean saveAsBlocked)
Returns an immutable copy ofthiswith just thesaveAsBlockedfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Indicates whether users may use the "Save As" menu item to save a copy of protected files.”
- Parameters:
saveAsBlocked- new value ofsaveAsBlockedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesaveAsBlockedfield changed
-
getSimplePinBlocked
public Optional<Boolean> getSimplePinBlocked()
“Indicates whether simplePin is blocked.”- Returns:
- property simplePinBlocked
-
withSimplePinBlocked
public ManagedAppProtection withSimplePinBlocked(Boolean simplePinBlocked)
Returns an immutable copy ofthiswith just thesimplePinBlockedfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Indicates whether simplePin is blocked.”
- Parameters:
simplePinBlocked- new value ofsimplePinBlockedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesimplePinBlockedfield changed
-
withUnmappedField
public ManagedAppProtection withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classManagedAppPolicy
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classManagedAppPolicy
-
patch
public ManagedAppProtection patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classManagedAppPolicy- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public ManagedAppProtection put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classManagedAppPolicy- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
targetApps
public com.github.davidmoten.odata.client.ActionRequestNoReturn targetApps(List<ManagedMobileApp> apps)
- Overrides:
targetAppsin classManagedAppPolicy
-
toString
public String toString()
- Overrides:
toStringin classManagedAppPolicy
-
-