Class ManagedAppProtection
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.ManagedAppPolicy
-
- odata.msgraph.client.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.entity.ManagedAppPolicy
createdDateTime, description, displayName, lastModifiedDateTime, version
-
Fields inherited from class odata.msgraph.client.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<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<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.”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<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<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<Integer>getMaximumPinRetries()“Maximum number of incorrect pin retry attempts before the managed app is either blocked or wiped.”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<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<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()ManagedAppProtectionwithAllowedDataStorageLocations(List<ManagedAppDataStorageLocation> allowedDataStorageLocations)Returns an immutable copy ofthiswith just theallowedDataStorageLocationsfield changed.ManagedAppProtectionwithAllowedInboundDataTransferSources(ManagedAppDataTransferLevel allowedInboundDataTransferSources)Returns an immutable copy ofthiswith just theallowedInboundDataTransferSourcesfield changed.ManagedAppProtectionwithAllowedOutboundClipboardSharingLevel(ManagedAppClipboardSharingLevel allowedOutboundClipboardSharingLevel)Returns an immutable copy ofthiswith just theallowedOutboundClipboardSharingLevelfield changed.ManagedAppProtectionwithAllowedOutboundDataTransferDestinations(ManagedAppDataTransferLevel allowedOutboundDataTransferDestinations)Returns an immutable copy ofthiswith just theallowedOutboundDataTransferDestinationsfield 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.ManagedAppProtectionwithDisableAppPinIfDevicePinIsSet(Boolean disableAppPinIfDevicePinIsSet)Returns an immutable copy ofthiswith just thedisableAppPinIfDevicePinIsSetfield changed.ManagedAppProtectionwithFingerprintBlocked(Boolean fingerprintBlocked)Returns an immutable copy ofthiswith just thefingerprintBlockedfield changed.ManagedAppProtectionwithManagedBrowser(ManagedBrowserType managedBrowser)Returns an immutable copy ofthiswith just themanagedBrowserfield changed.ManagedAppProtectionwithManagedBrowserToOpenLinksRequired(Boolean managedBrowserToOpenLinksRequired)Returns an immutable copy ofthiswith just themanagedBrowserToOpenLinksRequiredfield changed.ManagedAppProtectionwithMaximumPinRetries(Integer maximumPinRetries)Returns an immutable copy ofthiswith just themaximumPinRetriesfield 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.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.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, Object value)-
Methods inherited from class odata.msgraph.client.entity.ManagedAppPolicy
getCreatedDateTime, getDescription, getDisplayName, getLastModifiedDateTime, getVersion, withCreatedDateTime, withDescription, withDisplayName, withLastModifiedDateTime, withVersion
-
-
-
-
Field Detail
-
allowedDataStorageLocations
protected List<ManagedAppDataStorageLocation> allowedDataStorageLocations
-
allowedDataStorageLocationsNextLink
protected String allowedDataStorageLocationsNextLink
-
allowedInboundDataTransferSources
protected ManagedAppDataTransferLevel allowedInboundDataTransferSources
-
allowedOutboundClipboardSharingLevel
protected ManagedAppClipboardSharingLevel allowedOutboundClipboardSharingLevel
-
allowedOutboundDataTransferDestinations
protected ManagedAppDataTransferLevel allowedOutboundDataTransferDestinations
-
contactSyncBlocked
protected Boolean contactSyncBlocked
-
dataBackupBlocked
protected Boolean dataBackupBlocked
-
deviceComplianceRequired
protected Boolean deviceComplianceRequired
-
disableAppPinIfDevicePinIsSet
protected Boolean disableAppPinIfDevicePinIsSet
-
fingerprintBlocked
protected Boolean fingerprintBlocked
-
managedBrowser
protected ManagedBrowserType managedBrowser
-
managedBrowserToOpenLinksRequired
protected Boolean managedBrowserToOpenLinksRequired
-
maximumPinRetries
protected Integer maximumPinRetries
-
minimumPinLength
protected Integer minimumPinLength
-
minimumRequiredAppVersion
protected String minimumRequiredAppVersion
-
minimumRequiredOsVersion
protected String minimumRequiredOsVersion
-
minimumWarningAppVersion
protected String minimumWarningAppVersion
-
minimumWarningOsVersion
protected String minimumWarningOsVersion
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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, Object 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
-
-