Class AndroidManagedAppProtection
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.ManagedAppPolicy
-
- odata.msgraph.client.beta.entity.ManagedAppProtection
-
- odata.msgraph.client.beta.entity.TargetedManagedAppProtection
-
- odata.msgraph.client.beta.entity.AndroidManagedAppProtection
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class AndroidManagedAppProtection extends TargetedManagedAppProtection implements com.github.davidmoten.odata.client.ODataEntityType
“Policy used to configure detailed management settings targeted to specific security groups and for a specified set of apps on an Android device”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAndroidManagedAppProtection.Builder
-
Field Summary
-
Fields inherited from class odata.msgraph.client.beta.entity.TargetedManagedAppProtection
appGroupType, isAssigned, targetedAppManagementLevels
-
Fields inherited from class odata.msgraph.client.beta.entity.ManagedAppProtection
allowedDataIngestionLocations, allowedDataIngestionLocationsNextLink, allowedDataStorageLocations, allowedDataStorageLocationsNextLink, allowedInboundDataTransferSources, allowedOutboundClipboardSharingExceptionLength, allowedOutboundClipboardSharingLevel, allowedOutboundDataTransferDestinations, appActionIfDeviceComplianceRequired, appActionIfMaximumPinRetriesExceeded, appActionIfUnableToAuthenticateUser, blockDataIngestionIntoOrganizationDocuments, contactSyncBlocked, dataBackupBlocked, deviceComplianceRequired, dialerRestrictionLevel, disableAppPinIfDevicePinIsSet, fingerprintBlocked, gracePeriodToBlockAppsDuringOffClockHours, managedBrowser, managedBrowserToOpenLinksRequired, maximumAllowedDeviceThreatLevel, maximumPinRetries, maximumRequiredOsVersion, maximumWarningOsVersion, maximumWipeOsVersion, minimumPinLength, minimumRequiredAppVersion, minimumRequiredOsVersion, minimumWarningAppVersion, minimumWarningOsVersion, minimumWipeAppVersion, minimumWipeOsVersion, mobileThreatDefenseRemediationAction, notificationRestriction, organizationalCredentialsRequired, periodBeforePinReset, periodOfflineBeforeAccessCheck, periodOfflineBeforeWipeIsEnforced, periodOnlineBeforeAccessCheck, pinCharacterSet, pinRequired, pinRequiredInsteadOfBiometricTimeout, previousPinBlockCount, printBlocked, saveAsBlocked, simplePinBlocked
-
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 protectedAndroidManagedAppProtection()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AndroidManagedAppProtection.BuilderbuilderAndroidManagedAppProtection()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getAllowedAndroidDeviceManufacturers()“Semicolon seperated list of device manufacturers allowed, as a string, for the managed app to work.”com.github.davidmoten.odata.client.CollectionPage<String>getAllowedAndroidDeviceModels()“List of device models allowed, as a string, for the managed app to work.”com.github.davidmoten.odata.client.CollectionPage<String>getAllowedAndroidDeviceModels(com.github.davidmoten.odata.client.HttpRequestOptions options)“List of device models allowed, as a string, for the managed app to work.”Optional<ManagedAppRemediationAction>getAppActionIfAndroidDeviceManufacturerNotAllowed()“Defines a managed app behavior, either block or wipe, if the specified device manufacturer is not allowed.”Optional<ManagedAppRemediationAction>getAppActionIfAndroidDeviceModelNotAllowed()“Defines a managed app behavior, either block or wipe, if the specified device model is not allowed.”Optional<ManagedAppRemediationAction>getAppActionIfAndroidSafetyNetAppsVerificationFailed()“Defines a managed app behavior, either warn or block, if the specified Android App Verification requirement fails.”Optional<ManagedAppRemediationAction>getAppActionIfAndroidSafetyNetDeviceAttestationFailed()“Defines a managed app behavior, either warn or block, if the specified Android SafetyNet Attestation requirement fails.”Optional<ManagedAppRemediationAction>getAppActionIfDeviceLockNotSet()“Defines a managed app behavior, either warn, block or wipe, if the screen lock is required on android device but is not set.”com.github.davidmoten.odata.client.CollectionPage<KeyValuePair>getApprovedKeyboards()“If Keyboard Restriction is enabled, only keyboards in this approved list will be allowed.com.github.davidmoten.odata.client.CollectionPage<KeyValuePair>getApprovedKeyboards(com.github.davidmoten.odata.client.HttpRequestOptions options)“If Keyboard Restriction is enabled, only keyboards in this approved list will be allowed.ManagedMobileAppCollectionRequestgetApps()“List of apps to which the policy is deployed.”Optional<Boolean>getBiometricAuthenticationBlocked()“Indicates whether use of the biometric authentication is allowed in place of a pin if PinRequired is set to True.”Optional<Integer>getBlockAfterCompanyPortalUpdateDeferralInDays()“Maximum number of days Company Portal update can be deferred on the device or app access will be blocked.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<Boolean>getConnectToVpnOnLaunch()“Whether the app should connect to the configured VPN on launch.”Optional<String>getCustomBrowserDisplayName()“Friendly name of the preferred custom browser to open weblink on Android.Optional<String>getCustomBrowserPackageId()“Unique identifier of the preferred custom browser to open weblink on Android.Optional<String>getCustomDialerAppDisplayName()“Friendly name of a custom dialer app to click-to-open a phone number on Android.”Optional<String>getCustomDialerAppPackageId()“PackageId of a custom dialer app to click-to-open a phone number on Android.”Optional<Integer>getDeployedAppCount()“Count of apps to which the current policy is deployed.”ManagedAppPolicyDeploymentSummaryRequestgetDeploymentSummary()“Navigation property to deployment summary of the configuration.”Optional<Boolean>getDeviceLockRequired()“Defines if any kind of lock must be required on android device”Optional<Boolean>getDisableAppEncryptionIfDeviceEncryptionIsEnabled()“When this setting is enabled, app level encryption is disabled if device level encryption is enabled”Optional<Boolean>getEncryptAppData()“Indicates whether application data for managed apps should be encrypted”com.github.davidmoten.odata.client.CollectionPage<KeyValuePair>getExemptedAppPackages()“App packages in this list will be exempt from the policy and will be able to receive data from managed apps.”com.github.davidmoten.odata.client.CollectionPage<KeyValuePair>getExemptedAppPackages(com.github.davidmoten.odata.client.HttpRequestOptions options)“App packages in this list will be exempt from the policy and will be able to receive data from managed apps.”Optional<Boolean>getKeyboardsRestricted()“Indicates if keyboard restriction is enabled.Optional<String>getMinimumRequiredCompanyPortalVersion()“Minimum version of the Company portal that must be installed on the device or app access will be blocked”Optional<String>getMinimumRequiredPatchVersion()“Define the oldest required Android security patch level a user can have to gain secure access to the app.”Optional<String>getMinimumWarningCompanyPortalVersion()“Minimum version of the Company portal that must be installed on the device or the user will receive a warning”Optional<String>getMinimumWarningPatchVersion()“Define the oldest recommended Android security patch level a user can have for secure access to the app.”Optional<String>getMinimumWipeCompanyPortalVersion()“Minimum version of the Company portal that must be installed on the device or the company data on the app will be wiped”Optional<String>getMinimumWipePatchVersion()“Android security patch level less than or equal to the specified value will wipe the managed app and the associated company data.”Optional<AndroidManagedAppSafetyNetAppsVerificationType>getRequiredAndroidSafetyNetAppsVerificationType()“Defines the Android SafetyNet Apps Verification requirement for a managed app to work.”Optional<AndroidManagedAppSafetyNetDeviceAttestationType>getRequiredAndroidSafetyNetDeviceAttestationType()“Defines the Android SafetyNet Device Attestation requirement for a managed app to work.”Optional<AndroidManagedAppSafetyNetEvaluationType>getRequiredAndroidSafetyNetEvaluationType()“Defines the Android SafetyNet evaluation type requirement for a managed app to work.”Optional<Boolean>getScreenCaptureBlocked()“Indicates whether a managed user can take screen captures of managed apps”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<Integer>getWarnAfterCompanyPortalUpdateDeferralInDays()“Maximum number of days Company Portal update can be deferred on the device or the user will receive the warning”Optional<Integer>getWipeAfterCompanyPortalUpdateDeferralInDays()“Maximum number of days Company Portal update can be deferred on the device or the company data on the app will be wiped”StringodataTypeName()AndroidManagedAppProtectionpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)AndroidManagedAppProtectionput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()AndroidManagedAppProtectionwithAllowedAndroidDeviceManufacturers(String allowedAndroidDeviceManufacturers)Returns an immutable copy ofthiswith just theallowedAndroidDeviceManufacturersfield changed.AndroidManagedAppProtectionwithAllowedAndroidDeviceModels(List<String> allowedAndroidDeviceModels)Returns an immutable copy ofthiswith just theallowedAndroidDeviceModelsfield changed.AndroidManagedAppProtectionwithAppActionIfAndroidDeviceManufacturerNotAllowed(ManagedAppRemediationAction appActionIfAndroidDeviceManufacturerNotAllowed)Returns an immutable copy ofthiswith just theappActionIfAndroidDeviceManufacturerNotAllowedfield changed.AndroidManagedAppProtectionwithAppActionIfAndroidDeviceModelNotAllowed(ManagedAppRemediationAction appActionIfAndroidDeviceModelNotAllowed)Returns an immutable copy ofthiswith just theappActionIfAndroidDeviceModelNotAllowedfield changed.AndroidManagedAppProtectionwithAppActionIfAndroidSafetyNetAppsVerificationFailed(ManagedAppRemediationAction appActionIfAndroidSafetyNetAppsVerificationFailed)Returns an immutable copy ofthiswith just theappActionIfAndroidSafetyNetAppsVerificationFailedfield changed.AndroidManagedAppProtectionwithAppActionIfAndroidSafetyNetDeviceAttestationFailed(ManagedAppRemediationAction appActionIfAndroidSafetyNetDeviceAttestationFailed)Returns an immutable copy ofthiswith just theappActionIfAndroidSafetyNetDeviceAttestationFailedfield changed.AndroidManagedAppProtectionwithAppActionIfDeviceLockNotSet(ManagedAppRemediationAction appActionIfDeviceLockNotSet)Returns an immutable copy ofthiswith just theappActionIfDeviceLockNotSetfield changed.AndroidManagedAppProtectionwithApprovedKeyboards(List<KeyValuePair> approvedKeyboards)Returns an immutable copy ofthiswith just theapprovedKeyboardsfield changed.AndroidManagedAppProtectionwithBiometricAuthenticationBlocked(Boolean biometricAuthenticationBlocked)Returns an immutable copy ofthiswith just thebiometricAuthenticationBlockedfield changed.AndroidManagedAppProtectionwithBlockAfterCompanyPortalUpdateDeferralInDays(Integer blockAfterCompanyPortalUpdateDeferralInDays)Returns an immutable copy ofthiswith just theblockAfterCompanyPortalUpdateDeferralInDaysfield changed.AndroidManagedAppProtectionwithConnectToVpnOnLaunch(Boolean connectToVpnOnLaunch)Returns an immutable copy ofthiswith just theconnectToVpnOnLaunchfield changed.AndroidManagedAppProtectionwithCustomBrowserDisplayName(String customBrowserDisplayName)Returns an immutable copy ofthiswith just thecustomBrowserDisplayNamefield changed.AndroidManagedAppProtectionwithCustomBrowserPackageId(String customBrowserPackageId)Returns an immutable copy ofthiswith just thecustomBrowserPackageIdfield changed.AndroidManagedAppProtectionwithCustomDialerAppDisplayName(String customDialerAppDisplayName)Returns an immutable copy ofthiswith just thecustomDialerAppDisplayNamefield changed.AndroidManagedAppProtectionwithCustomDialerAppPackageId(String customDialerAppPackageId)Returns an immutable copy ofthiswith just thecustomDialerAppPackageIdfield changed.AndroidManagedAppProtectionwithDeployedAppCount(Integer deployedAppCount)Returns an immutable copy ofthiswith just thedeployedAppCountfield changed.AndroidManagedAppProtectionwithDeviceLockRequired(Boolean deviceLockRequired)Returns an immutable copy ofthiswith just thedeviceLockRequiredfield changed.AndroidManagedAppProtectionwithDisableAppEncryptionIfDeviceEncryptionIsEnabled(Boolean disableAppEncryptionIfDeviceEncryptionIsEnabled)Returns an immutable copy ofthiswith just thedisableAppEncryptionIfDeviceEncryptionIsEnabledfield changed.AndroidManagedAppProtectionwithEncryptAppData(Boolean encryptAppData)Returns an immutable copy ofthiswith just theencryptAppDatafield changed.AndroidManagedAppProtectionwithExemptedAppPackages(List<KeyValuePair> exemptedAppPackages)Returns an immutable copy ofthiswith just theexemptedAppPackagesfield changed.AndroidManagedAppProtectionwithKeyboardsRestricted(Boolean keyboardsRestricted)Returns an immutable copy ofthiswith just thekeyboardsRestrictedfield changed.AndroidManagedAppProtectionwithMinimumRequiredCompanyPortalVersion(String minimumRequiredCompanyPortalVersion)Returns an immutable copy ofthiswith just theminimumRequiredCompanyPortalVersionfield changed.AndroidManagedAppProtectionwithMinimumRequiredPatchVersion(String minimumRequiredPatchVersion)Returns an immutable copy ofthiswith just theminimumRequiredPatchVersionfield changed.AndroidManagedAppProtectionwithMinimumWarningCompanyPortalVersion(String minimumWarningCompanyPortalVersion)Returns an immutable copy ofthiswith just theminimumWarningCompanyPortalVersionfield changed.AndroidManagedAppProtectionwithMinimumWarningPatchVersion(String minimumWarningPatchVersion)Returns an immutable copy ofthiswith just theminimumWarningPatchVersionfield changed.AndroidManagedAppProtectionwithMinimumWipeCompanyPortalVersion(String minimumWipeCompanyPortalVersion)Returns an immutable copy ofthiswith just theminimumWipeCompanyPortalVersionfield changed.AndroidManagedAppProtectionwithMinimumWipePatchVersion(String minimumWipePatchVersion)Returns an immutable copy ofthiswith just theminimumWipePatchVersionfield changed.AndroidManagedAppProtectionwithRequiredAndroidSafetyNetAppsVerificationType(AndroidManagedAppSafetyNetAppsVerificationType requiredAndroidSafetyNetAppsVerificationType)Returns an immutable copy ofthiswith just therequiredAndroidSafetyNetAppsVerificationTypefield changed.AndroidManagedAppProtectionwithRequiredAndroidSafetyNetDeviceAttestationType(AndroidManagedAppSafetyNetDeviceAttestationType requiredAndroidSafetyNetDeviceAttestationType)Returns an immutable copy ofthiswith just therequiredAndroidSafetyNetDeviceAttestationTypefield changed.AndroidManagedAppProtectionwithRequiredAndroidSafetyNetEvaluationType(AndroidManagedAppSafetyNetEvaluationType requiredAndroidSafetyNetEvaluationType)Returns an immutable copy ofthiswith just therequiredAndroidSafetyNetEvaluationTypefield changed.AndroidManagedAppProtectionwithScreenCaptureBlocked(Boolean screenCaptureBlocked)Returns an immutable copy ofthiswith just thescreenCaptureBlockedfield changed.AndroidManagedAppProtectionwithUnmappedField(String name, String value)AndroidManagedAppProtectionwithWarnAfterCompanyPortalUpdateDeferralInDays(Integer warnAfterCompanyPortalUpdateDeferralInDays)Returns an immutable copy ofthiswith just thewarnAfterCompanyPortalUpdateDeferralInDaysfield changed.AndroidManagedAppProtectionwithWipeAfterCompanyPortalUpdateDeferralInDays(Integer wipeAfterCompanyPortalUpdateDeferralInDays)Returns an immutable copy ofthiswith just thewipeAfterCompanyPortalUpdateDeferralInDaysfield changed.-
Methods inherited from class odata.msgraph.client.beta.entity.TargetedManagedAppProtection
assign, getAppGroupType, getAssignments, getIsAssigned, getTargetedAppManagementLevels, targetApps, withAppGroupType, withIsAssigned, withTargetedAppManagementLevels
-
Methods inherited from class odata.msgraph.client.beta.entity.ManagedAppProtection
getAllowedDataIngestionLocations, getAllowedDataIngestionLocations, getAllowedDataStorageLocations, getAllowedDataStorageLocations, getAllowedInboundDataTransferSources, getAllowedOutboundClipboardSharingExceptionLength, getAllowedOutboundClipboardSharingLevel, getAllowedOutboundDataTransferDestinations, getAppActionIfDeviceComplianceRequired, getAppActionIfMaximumPinRetriesExceeded, getAppActionIfUnableToAuthenticateUser, getBlockDataIngestionIntoOrganizationDocuments, getContactSyncBlocked, getDataBackupBlocked, getDeviceComplianceRequired, getDialerRestrictionLevel, getDisableAppPinIfDevicePinIsSet, getFingerprintBlocked, getGracePeriodToBlockAppsDuringOffClockHours, getManagedBrowser, getManagedBrowserToOpenLinksRequired, getMaximumAllowedDeviceThreatLevel, getMaximumPinRetries, getMaximumRequiredOsVersion, getMaximumWarningOsVersion, getMaximumWipeOsVersion, getMinimumPinLength, getMinimumRequiredAppVersion, getMinimumRequiredOsVersion, getMinimumWarningAppVersion, getMinimumWarningOsVersion, getMinimumWipeAppVersion, getMinimumWipeOsVersion, getMobileThreatDefenseRemediationAction, getNotificationRestriction, getOrganizationalCredentialsRequired, getPeriodBeforePinReset, getPeriodOfflineBeforeAccessCheck, getPeriodOfflineBeforeWipeIsEnforced, getPeriodOnlineBeforeAccessCheck, getPinCharacterSet, getPinRequired, getPinRequiredInsteadOfBiometricTimeout, getPreviousPinBlockCount, getPrintBlocked, getSaveAsBlocked, getSimplePinBlocked, targetApps, withAllowedDataIngestionLocations, withAllowedDataStorageLocations, withAllowedInboundDataTransferSources, withAllowedOutboundClipboardSharingExceptionLength, withAllowedOutboundClipboardSharingLevel, withAllowedOutboundDataTransferDestinations, withAppActionIfDeviceComplianceRequired, withAppActionIfMaximumPinRetriesExceeded, withAppActionIfUnableToAuthenticateUser, withBlockDataIngestionIntoOrganizationDocuments, withContactSyncBlocked, withDataBackupBlocked, withDeviceComplianceRequired, withDialerRestrictionLevel, withDisableAppPinIfDevicePinIsSet, withFingerprintBlocked, withGracePeriodToBlockAppsDuringOffClockHours, withManagedBrowser, withManagedBrowserToOpenLinksRequired, withMaximumAllowedDeviceThreatLevel, withMaximumPinRetries, withMaximumRequiredOsVersion, withMaximumWarningOsVersion, withMaximumWipeOsVersion, withMinimumPinLength, withMinimumRequiredAppVersion, withMinimumRequiredOsVersion, withMinimumWarningAppVersion, withMinimumWarningOsVersion, withMinimumWipeAppVersion, withMinimumWipeOsVersion, withMobileThreatDefenseRemediationAction, withNotificationRestriction, withOrganizationalCredentialsRequired, withPeriodBeforePinReset, withPeriodOfflineBeforeAccessCheck, withPeriodOfflineBeforeWipeIsEnforced, withPeriodOnlineBeforeAccessCheck, withPinCharacterSet, withPinRequired, withPinRequiredInsteadOfBiometricTimeout, withPreviousPinBlockCount, withPrintBlocked, withSaveAsBlocked, withSimplePinBlocked
-
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
-
allowedAndroidDeviceManufacturers
protected String allowedAndroidDeviceManufacturers
-
allowedAndroidDeviceModelsNextLink
protected String allowedAndroidDeviceModelsNextLink
-
appActionIfAndroidDeviceManufacturerNotAllowed
protected ManagedAppRemediationAction appActionIfAndroidDeviceManufacturerNotAllowed
-
appActionIfAndroidDeviceModelNotAllowed
protected ManagedAppRemediationAction appActionIfAndroidDeviceModelNotAllowed
-
appActionIfAndroidSafetyNetAppsVerificationFailed
protected ManagedAppRemediationAction appActionIfAndroidSafetyNetAppsVerificationFailed
-
appActionIfAndroidSafetyNetDeviceAttestationFailed
protected ManagedAppRemediationAction appActionIfAndroidSafetyNetDeviceAttestationFailed
-
appActionIfDeviceLockNotSet
protected ManagedAppRemediationAction appActionIfDeviceLockNotSet
-
approvedKeyboards
protected List<KeyValuePair> approvedKeyboards
-
approvedKeyboardsNextLink
protected String approvedKeyboardsNextLink
-
biometricAuthenticationBlocked
protected Boolean biometricAuthenticationBlocked
-
blockAfterCompanyPortalUpdateDeferralInDays
protected Integer blockAfterCompanyPortalUpdateDeferralInDays
-
connectToVpnOnLaunch
protected Boolean connectToVpnOnLaunch
-
customBrowserDisplayName
protected String customBrowserDisplayName
-
customBrowserPackageId
protected String customBrowserPackageId
-
customDialerAppDisplayName
protected String customDialerAppDisplayName
-
customDialerAppPackageId
protected String customDialerAppPackageId
-
deployedAppCount
protected Integer deployedAppCount
-
deviceLockRequired
protected Boolean deviceLockRequired
-
disableAppEncryptionIfDeviceEncryptionIsEnabled
protected Boolean disableAppEncryptionIfDeviceEncryptionIsEnabled
-
encryptAppData
protected Boolean encryptAppData
-
exemptedAppPackages
protected List<KeyValuePair> exemptedAppPackages
-
exemptedAppPackagesNextLink
protected String exemptedAppPackagesNextLink
-
keyboardsRestricted
protected Boolean keyboardsRestricted
-
minimumRequiredCompanyPortalVersion
protected String minimumRequiredCompanyPortalVersion
-
minimumRequiredPatchVersion
protected String minimumRequiredPatchVersion
-
minimumWarningCompanyPortalVersion
protected String minimumWarningCompanyPortalVersion
-
minimumWarningPatchVersion
protected String minimumWarningPatchVersion
-
minimumWipeCompanyPortalVersion
protected String minimumWipeCompanyPortalVersion
-
minimumWipePatchVersion
protected String minimumWipePatchVersion
-
requiredAndroidSafetyNetAppsVerificationType
protected AndroidManagedAppSafetyNetAppsVerificationType requiredAndroidSafetyNetAppsVerificationType
-
requiredAndroidSafetyNetDeviceAttestationType
protected AndroidManagedAppSafetyNetDeviceAttestationType requiredAndroidSafetyNetDeviceAttestationType
-
requiredAndroidSafetyNetEvaluationType
protected AndroidManagedAppSafetyNetEvaluationType requiredAndroidSafetyNetEvaluationType
-
screenCaptureBlocked
protected Boolean screenCaptureBlocked
-
warnAfterCompanyPortalUpdateDeferralInDays
protected Integer warnAfterCompanyPortalUpdateDeferralInDays
-
wipeAfterCompanyPortalUpdateDeferralInDays
protected Integer wipeAfterCompanyPortalUpdateDeferralInDays
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classTargetedManagedAppProtection
-
builderAndroidManagedAppProtection
public static AndroidManagedAppProtection.Builder builderAndroidManagedAppProtection()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classTargetedManagedAppProtection
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classTargetedManagedAppProtection
-
getAllowedAndroidDeviceManufacturers
public Optional<String> getAllowedAndroidDeviceManufacturers()
“Semicolon seperated list of device manufacturers allowed, as a string, for the managed app to work.”- Returns:
- property allowedAndroidDeviceManufacturers
-
withAllowedAndroidDeviceManufacturers
public AndroidManagedAppProtection withAllowedAndroidDeviceManufacturers(String allowedAndroidDeviceManufacturers)
Returns an immutable copy ofthiswith just theallowedAndroidDeviceManufacturersfield 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.“Semicolon seperated list of device manufacturers allowed, as a string, for the managed app to work.”
- Parameters:
allowedAndroidDeviceManufacturers- new value ofallowedAndroidDeviceManufacturersfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theallowedAndroidDeviceManufacturersfield changed
-
getAllowedAndroidDeviceModels
public com.github.davidmoten.odata.client.CollectionPage<String> getAllowedAndroidDeviceModels()
“List of device models allowed, as a string, for the managed app to work.”- Returns:
- property allowedAndroidDeviceModels
-
withAllowedAndroidDeviceModels
public AndroidManagedAppProtection withAllowedAndroidDeviceModels(List<String> allowedAndroidDeviceModels)
Returns an immutable copy ofthiswith just theallowedAndroidDeviceModelsfield 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.“List of device models allowed, as a string, for the managed app to work.”
- Parameters:
allowedAndroidDeviceModels- new value ofallowedAndroidDeviceModelsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theallowedAndroidDeviceModelsfield changed
-
getAllowedAndroidDeviceModels
public com.github.davidmoten.odata.client.CollectionPage<String> getAllowedAndroidDeviceModels(com.github.davidmoten.odata.client.HttpRequestOptions options)
“List of device models allowed, as a string, for the managed app to work.”- Parameters:
options- specify connect and read timeouts- Returns:
- property allowedAndroidDeviceModels
-
getAppActionIfAndroidDeviceManufacturerNotAllowed
public Optional<ManagedAppRemediationAction> getAppActionIfAndroidDeviceManufacturerNotAllowed()
“Defines a managed app behavior, either block or wipe, if the specified device manufacturer is not allowed.”- Returns:
- property appActionIfAndroidDeviceManufacturerNotAllowed
-
withAppActionIfAndroidDeviceManufacturerNotAllowed
public AndroidManagedAppProtection withAppActionIfAndroidDeviceManufacturerNotAllowed(ManagedAppRemediationAction appActionIfAndroidDeviceManufacturerNotAllowed)
Returns an immutable copy ofthiswith just theappActionIfAndroidDeviceManufacturerNotAllowedfield 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, if the specified device manufacturer is not allowed.”
- Parameters:
appActionIfAndroidDeviceManufacturerNotAllowed- new value ofappActionIfAndroidDeviceManufacturerNotAllowedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theappActionIfAndroidDeviceManufacturerNotAllowedfield changed
-
getAppActionIfAndroidDeviceModelNotAllowed
public Optional<ManagedAppRemediationAction> getAppActionIfAndroidDeviceModelNotAllowed()
“Defines a managed app behavior, either block or wipe, if the specified device model is not allowed.”- Returns:
- property appActionIfAndroidDeviceModelNotAllowed
-
withAppActionIfAndroidDeviceModelNotAllowed
public AndroidManagedAppProtection withAppActionIfAndroidDeviceModelNotAllowed(ManagedAppRemediationAction appActionIfAndroidDeviceModelNotAllowed)
Returns an immutable copy ofthiswith just theappActionIfAndroidDeviceModelNotAllowedfield 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, if the specified device model is not allowed.”
- Parameters:
appActionIfAndroidDeviceModelNotAllowed- new value ofappActionIfAndroidDeviceModelNotAllowedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theappActionIfAndroidDeviceModelNotAllowedfield changed
-
getAppActionIfAndroidSafetyNetAppsVerificationFailed
public Optional<ManagedAppRemediationAction> getAppActionIfAndroidSafetyNetAppsVerificationFailed()
“Defines a managed app behavior, either warn or block, if the specified Android App Verification requirement fails.”- Returns:
- property appActionIfAndroidSafetyNetAppsVerificationFailed
-
withAppActionIfAndroidSafetyNetAppsVerificationFailed
public AndroidManagedAppProtection withAppActionIfAndroidSafetyNetAppsVerificationFailed(ManagedAppRemediationAction appActionIfAndroidSafetyNetAppsVerificationFailed)
Returns an immutable copy ofthiswith just theappActionIfAndroidSafetyNetAppsVerificationFailedfield 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 warn or block, if the specified Android App Verification requirement fails.”
- Parameters:
appActionIfAndroidSafetyNetAppsVerificationFailed- new value ofappActionIfAndroidSafetyNetAppsVerificationFailedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theappActionIfAndroidSafetyNetAppsVerificationFailedfield changed
-
getAppActionIfAndroidSafetyNetDeviceAttestationFailed
public Optional<ManagedAppRemediationAction> getAppActionIfAndroidSafetyNetDeviceAttestationFailed()
“Defines a managed app behavior, either warn or block, if the specified Android SafetyNet Attestation requirement fails.”- Returns:
- property appActionIfAndroidSafetyNetDeviceAttestationFailed
-
withAppActionIfAndroidSafetyNetDeviceAttestationFailed
public AndroidManagedAppProtection withAppActionIfAndroidSafetyNetDeviceAttestationFailed(ManagedAppRemediationAction appActionIfAndroidSafetyNetDeviceAttestationFailed)
Returns an immutable copy ofthiswith just theappActionIfAndroidSafetyNetDeviceAttestationFailedfield 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 warn or block, if the specified Android SafetyNet Attestation requirement fails.”
- Parameters:
appActionIfAndroidSafetyNetDeviceAttestationFailed- new value ofappActionIfAndroidSafetyNetDeviceAttestationFailedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theappActionIfAndroidSafetyNetDeviceAttestationFailedfield changed
-
getAppActionIfDeviceLockNotSet
public Optional<ManagedAppRemediationAction> getAppActionIfDeviceLockNotSet()
“Defines a managed app behavior, either warn, block or wipe, if the screen lock is required on android device but is not set.”- Returns:
- property appActionIfDeviceLockNotSet
-
withAppActionIfDeviceLockNotSet
public AndroidManagedAppProtection withAppActionIfDeviceLockNotSet(ManagedAppRemediationAction appActionIfDeviceLockNotSet)
Returns an immutable copy ofthiswith just theappActionIfDeviceLockNotSetfield 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 warn, block or wipe, if the screen lock is required on android device but is not set.”
- Parameters:
appActionIfDeviceLockNotSet- new value ofappActionIfDeviceLockNotSetfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theappActionIfDeviceLockNotSetfield changed
-
getApprovedKeyboards
public com.github.davidmoten.odata.client.CollectionPage<KeyValuePair> getApprovedKeyboards()
“If Keyboard Restriction is enabled, only keyboards in this approved list will be allowed. A key should be Android package id for a keyboard and value should be a friendly name”- Returns:
- property approvedKeyboards
-
withApprovedKeyboards
public AndroidManagedAppProtection withApprovedKeyboards(List<KeyValuePair> approvedKeyboards)
Returns an immutable copy ofthiswith just theapprovedKeyboardsfield 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 Keyboard Restriction is enabled, only keyboards in this approved list will be allowed. A key should be Android package id for a keyboard and value should be a friendly name”
- Parameters:
approvedKeyboards- new value ofapprovedKeyboardsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theapprovedKeyboardsfield changed
-
getApprovedKeyboards
public com.github.davidmoten.odata.client.CollectionPage<KeyValuePair> getApprovedKeyboards(com.github.davidmoten.odata.client.HttpRequestOptions options)
“If Keyboard Restriction is enabled, only keyboards in this approved list will be allowed. A key should be Android package id for a keyboard and value should be a friendly name”- Parameters:
options- specify connect and read timeouts- Returns:
- property approvedKeyboards
-
getBiometricAuthenticationBlocked
public Optional<Boolean> getBiometricAuthenticationBlocked()
“Indicates whether use of the biometric authentication is allowed in place of a pin if PinRequired is set to True.”- Returns:
- property biometricAuthenticationBlocked
-
withBiometricAuthenticationBlocked
public AndroidManagedAppProtection withBiometricAuthenticationBlocked(Boolean biometricAuthenticationBlocked)
Returns an immutable copy ofthiswith just thebiometricAuthenticationBlockedfield 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 biometric authentication is allowed in place of a pin if PinRequired is set to True.”
- Parameters:
biometricAuthenticationBlocked- new value ofbiometricAuthenticationBlockedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thebiometricAuthenticationBlockedfield changed
-
getBlockAfterCompanyPortalUpdateDeferralInDays
public Optional<Integer> getBlockAfterCompanyPortalUpdateDeferralInDays()
“Maximum number of days Company Portal update can be deferred on the device or app access will be blocked.”- Returns:
- property blockAfterCompanyPortalUpdateDeferralInDays
-
withBlockAfterCompanyPortalUpdateDeferralInDays
public AndroidManagedAppProtection withBlockAfterCompanyPortalUpdateDeferralInDays(Integer blockAfterCompanyPortalUpdateDeferralInDays)
Returns an immutable copy ofthiswith just theblockAfterCompanyPortalUpdateDeferralInDaysfield 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 days Company Portal update can be deferred on the device or app access will be blocked.”
- Parameters:
blockAfterCompanyPortalUpdateDeferralInDays- new value ofblockAfterCompanyPortalUpdateDeferralInDaysfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theblockAfterCompanyPortalUpdateDeferralInDaysfield changed
-
getConnectToVpnOnLaunch
public Optional<Boolean> getConnectToVpnOnLaunch()
“Whether the app should connect to the configured VPN on launch.”- Returns:
- property connectToVpnOnLaunch
-
withConnectToVpnOnLaunch
public AndroidManagedAppProtection withConnectToVpnOnLaunch(Boolean connectToVpnOnLaunch)
Returns an immutable copy ofthiswith just theconnectToVpnOnLaunchfield 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.“Whether the app should connect to the configured VPN on launch.”
- Parameters:
connectToVpnOnLaunch- new value ofconnectToVpnOnLaunchfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theconnectToVpnOnLaunchfield changed
-
getCustomBrowserDisplayName
public Optional<String> getCustomBrowserDisplayName()
“Friendly name of the preferred custom browser to open weblink on Android. When this property is configured, ManagedBrowserToOpenLinksRequired should be true.”- Returns:
- property customBrowserDisplayName
-
withCustomBrowserDisplayName
public AndroidManagedAppProtection withCustomBrowserDisplayName(String customBrowserDisplayName)
Returns an immutable copy ofthiswith just thecustomBrowserDisplayNamefield 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.“Friendly name of the preferred custom browser to open weblink on Android. When this property is configured, ManagedBrowserToOpenLinksRequired should be true.”
- Parameters:
customBrowserDisplayName- new value ofcustomBrowserDisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecustomBrowserDisplayNamefield changed
-
getCustomBrowserPackageId
public Optional<String> getCustomBrowserPackageId()
“Unique identifier of the preferred custom browser to open weblink on Android. When this property is configured, ManagedBrowserToOpenLinksRequired should be true.”- Returns:
- property customBrowserPackageId
-
withCustomBrowserPackageId
public AndroidManagedAppProtection withCustomBrowserPackageId(String customBrowserPackageId)
Returns an immutable copy ofthiswith just thecustomBrowserPackageIdfield 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.“Unique identifier of the preferred custom browser to open weblink on Android. When this property is configured, ManagedBrowserToOpenLinksRequired should be true.”
- Parameters:
customBrowserPackageId- new value ofcustomBrowserPackageIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecustomBrowserPackageIdfield changed
-
getCustomDialerAppDisplayName
public Optional<String> getCustomDialerAppDisplayName()
“Friendly name of a custom dialer app to click-to-open a phone number on Android.”- Returns:
- property customDialerAppDisplayName
-
withCustomDialerAppDisplayName
public AndroidManagedAppProtection withCustomDialerAppDisplayName(String customDialerAppDisplayName)
Returns an immutable copy ofthiswith just thecustomDialerAppDisplayNamefield 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.“Friendly name of a custom dialer app to click-to-open a phone number on Android.”
- Parameters:
customDialerAppDisplayName- new value ofcustomDialerAppDisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecustomDialerAppDisplayNamefield changed
-
getCustomDialerAppPackageId
public Optional<String> getCustomDialerAppPackageId()
“PackageId of a custom dialer app to click-to-open a phone number on Android.”- Returns:
- property customDialerAppPackageId
-
withCustomDialerAppPackageId
public AndroidManagedAppProtection withCustomDialerAppPackageId(String customDialerAppPackageId)
Returns an immutable copy ofthiswith just thecustomDialerAppPackageIdfield 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.“PackageId of a custom dialer app to click-to-open a phone number on Android.”
- Parameters:
customDialerAppPackageId- new value ofcustomDialerAppPackageIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecustomDialerAppPackageIdfield changed
-
getDeployedAppCount
public Optional<Integer> getDeployedAppCount()
“Count of apps to which the current policy is deployed.”- Returns:
- property deployedAppCount
-
withDeployedAppCount
public AndroidManagedAppProtection withDeployedAppCount(Integer deployedAppCount)
Returns an immutable copy ofthiswith just thedeployedAppCountfield 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.“Count of apps to which the current policy is deployed.”
- Parameters:
deployedAppCount- new value ofdeployedAppCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeployedAppCountfield changed
-
getDeviceLockRequired
public Optional<Boolean> getDeviceLockRequired()
“Defines if any kind of lock must be required on android device”- Returns:
- property deviceLockRequired
-
withDeviceLockRequired
public AndroidManagedAppProtection withDeviceLockRequired(Boolean deviceLockRequired)
Returns an immutable copy ofthiswith just thedeviceLockRequiredfield 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 if any kind of lock must be required on android device”
- Parameters:
deviceLockRequired- new value ofdeviceLockRequiredfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceLockRequiredfield changed
-
getDisableAppEncryptionIfDeviceEncryptionIsEnabled
public Optional<Boolean> getDisableAppEncryptionIfDeviceEncryptionIsEnabled()
“When this setting is enabled, app level encryption is disabled if device level encryption is enabled”- Returns:
- property disableAppEncryptionIfDeviceEncryptionIsEnabled
-
withDisableAppEncryptionIfDeviceEncryptionIsEnabled
public AndroidManagedAppProtection withDisableAppEncryptionIfDeviceEncryptionIsEnabled(Boolean disableAppEncryptionIfDeviceEncryptionIsEnabled)
Returns an immutable copy ofthiswith just thedisableAppEncryptionIfDeviceEncryptionIsEnabledfield 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.“When this setting is enabled, app level encryption is disabled if device level encryption is enabled”
- Parameters:
disableAppEncryptionIfDeviceEncryptionIsEnabled- new value ofdisableAppEncryptionIfDeviceEncryptionIsEnabledfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisableAppEncryptionIfDeviceEncryptionIsEnabledfield changed
-
getEncryptAppData
public Optional<Boolean> getEncryptAppData()
“Indicates whether application data for managed apps should be encrypted”- Returns:
- property encryptAppData
-
withEncryptAppData
public AndroidManagedAppProtection withEncryptAppData(Boolean encryptAppData)
Returns an immutable copy ofthiswith just theencryptAppDatafield 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 application data for managed apps should be encrypted”
- Parameters:
encryptAppData- new value ofencryptAppDatafield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theencryptAppDatafield changed
-
getExemptedAppPackages
public com.github.davidmoten.odata.client.CollectionPage<KeyValuePair> getExemptedAppPackages()
“App packages in this list will be exempt from the policy and will be able to receive data from managed apps.”- Returns:
- property exemptedAppPackages
-
withExemptedAppPackages
public AndroidManagedAppProtection withExemptedAppPackages(List<KeyValuePair> exemptedAppPackages)
Returns an immutable copy ofthiswith just theexemptedAppPackagesfield 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.“App packages in this list will be exempt from the policy and will be able to receive data from managed apps.”
- Parameters:
exemptedAppPackages- new value ofexemptedAppPackagesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theexemptedAppPackagesfield changed
-
getExemptedAppPackages
public com.github.davidmoten.odata.client.CollectionPage<KeyValuePair> getExemptedAppPackages(com.github.davidmoten.odata.client.HttpRequestOptions options)
“App packages in this list will be exempt from the policy and will be able to receive data from managed apps.”- Parameters:
options- specify connect and read timeouts- Returns:
- property exemptedAppPackages
-
getKeyboardsRestricted
public Optional<Boolean> getKeyboardsRestricted()
“Indicates if keyboard restriction is enabled. If enabled list of approved keyboards must be provided as well.”- Returns:
- property keyboardsRestricted
-
withKeyboardsRestricted
public AndroidManagedAppProtection withKeyboardsRestricted(Boolean keyboardsRestricted)
Returns an immutable copy ofthiswith just thekeyboardsRestrictedfield 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 if keyboard restriction is enabled. If enabled list of approved keyboards must be provided as well.”
- Parameters:
keyboardsRestricted- new value ofkeyboardsRestrictedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thekeyboardsRestrictedfield changed
-
getMinimumRequiredCompanyPortalVersion
public Optional<String> getMinimumRequiredCompanyPortalVersion()
“Minimum version of the Company portal that must be installed on the device or app access will be blocked”- Returns:
- property minimumRequiredCompanyPortalVersion
-
withMinimumRequiredCompanyPortalVersion
public AndroidManagedAppProtection withMinimumRequiredCompanyPortalVersion(String minimumRequiredCompanyPortalVersion)
Returns an immutable copy ofthiswith just theminimumRequiredCompanyPortalVersionfield 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 version of the Company portal that must be installed on the device or app access will be blocked”
- Parameters:
minimumRequiredCompanyPortalVersion- new value ofminimumRequiredCompanyPortalVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theminimumRequiredCompanyPortalVersionfield changed
-
getMinimumRequiredPatchVersion
public Optional<String> getMinimumRequiredPatchVersion()
“Define the oldest required Android security patch level a user can have to gain secure access to the app.”- Returns:
- property minimumRequiredPatchVersion
-
withMinimumRequiredPatchVersion
public AndroidManagedAppProtection withMinimumRequiredPatchVersion(String minimumRequiredPatchVersion)
Returns an immutable copy ofthiswith just theminimumRequiredPatchVersionfield 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.“Define the oldest required Android security patch level a user can have to gain secure access to the app.”
- Parameters:
minimumRequiredPatchVersion- new value ofminimumRequiredPatchVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theminimumRequiredPatchVersionfield changed
-
getMinimumWarningCompanyPortalVersion
public Optional<String> getMinimumWarningCompanyPortalVersion()
“Minimum version of the Company portal that must be installed on the device or the user will receive a warning”- Returns:
- property minimumWarningCompanyPortalVersion
-
withMinimumWarningCompanyPortalVersion
public AndroidManagedAppProtection withMinimumWarningCompanyPortalVersion(String minimumWarningCompanyPortalVersion)
Returns an immutable copy ofthiswith just theminimumWarningCompanyPortalVersionfield 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 version of the Company portal that must be installed on the device or the user will receive a warning”
- Parameters:
minimumWarningCompanyPortalVersion- new value ofminimumWarningCompanyPortalVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theminimumWarningCompanyPortalVersionfield changed
-
getMinimumWarningPatchVersion
public Optional<String> getMinimumWarningPatchVersion()
“Define the oldest recommended Android security patch level a user can have for secure access to the app.”- Returns:
- property minimumWarningPatchVersion
-
withMinimumWarningPatchVersion
public AndroidManagedAppProtection withMinimumWarningPatchVersion(String minimumWarningPatchVersion)
Returns an immutable copy ofthiswith just theminimumWarningPatchVersionfield 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.“Define the oldest recommended Android security patch level a user can have for secure access to the app.”
- Parameters:
minimumWarningPatchVersion- new value ofminimumWarningPatchVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theminimumWarningPatchVersionfield changed
-
getMinimumWipeCompanyPortalVersion
public Optional<String> getMinimumWipeCompanyPortalVersion()
“Minimum version of the Company portal that must be installed on the device or the company data on the app will be wiped”- Returns:
- property minimumWipeCompanyPortalVersion
-
withMinimumWipeCompanyPortalVersion
public AndroidManagedAppProtection withMinimumWipeCompanyPortalVersion(String minimumWipeCompanyPortalVersion)
Returns an immutable copy ofthiswith just theminimumWipeCompanyPortalVersionfield 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 version of the Company portal that must be installed on the device or the company data on the app will be wiped”
- Parameters:
minimumWipeCompanyPortalVersion- new value ofminimumWipeCompanyPortalVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theminimumWipeCompanyPortalVersionfield changed
-
getMinimumWipePatchVersion
public Optional<String> getMinimumWipePatchVersion()
“Android security patch level less than or equal to the specified value will wipe the managed app and the associated company data.”- Returns:
- property minimumWipePatchVersion
-
withMinimumWipePatchVersion
public AndroidManagedAppProtection withMinimumWipePatchVersion(String minimumWipePatchVersion)
Returns an immutable copy ofthiswith just theminimumWipePatchVersionfield 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.“Android security patch level less than or equal to the specified value will wipe the managed app and the associated company data.”
- Parameters:
minimumWipePatchVersion- new value ofminimumWipePatchVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theminimumWipePatchVersionfield changed
-
getRequiredAndroidSafetyNetAppsVerificationType
public Optional<AndroidManagedAppSafetyNetAppsVerificationType> getRequiredAndroidSafetyNetAppsVerificationType()
“Defines the Android SafetyNet Apps Verification requirement for a managed app to work.”- Returns:
- property requiredAndroidSafetyNetAppsVerificationType
-
withRequiredAndroidSafetyNetAppsVerificationType
public AndroidManagedAppProtection withRequiredAndroidSafetyNetAppsVerificationType(AndroidManagedAppSafetyNetAppsVerificationType requiredAndroidSafetyNetAppsVerificationType)
Returns an immutable copy ofthiswith just therequiredAndroidSafetyNetAppsVerificationTypefield 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 the Android SafetyNet Apps Verification requirement for a managed app to work.”
- Parameters:
requiredAndroidSafetyNetAppsVerificationType- new value ofrequiredAndroidSafetyNetAppsVerificationTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just therequiredAndroidSafetyNetAppsVerificationTypefield changed
-
getRequiredAndroidSafetyNetDeviceAttestationType
public Optional<AndroidManagedAppSafetyNetDeviceAttestationType> getRequiredAndroidSafetyNetDeviceAttestationType()
“Defines the Android SafetyNet Device Attestation requirement for a managed app to work.”- Returns:
- property requiredAndroidSafetyNetDeviceAttestationType
-
withRequiredAndroidSafetyNetDeviceAttestationType
public AndroidManagedAppProtection withRequiredAndroidSafetyNetDeviceAttestationType(AndroidManagedAppSafetyNetDeviceAttestationType requiredAndroidSafetyNetDeviceAttestationType)
Returns an immutable copy ofthiswith just therequiredAndroidSafetyNetDeviceAttestationTypefield 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 the Android SafetyNet Device Attestation requirement for a managed app to work.”
- Parameters:
requiredAndroidSafetyNetDeviceAttestationType- new value ofrequiredAndroidSafetyNetDeviceAttestationTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just therequiredAndroidSafetyNetDeviceAttestationTypefield changed
-
getRequiredAndroidSafetyNetEvaluationType
public Optional<AndroidManagedAppSafetyNetEvaluationType> getRequiredAndroidSafetyNetEvaluationType()
“Defines the Android SafetyNet evaluation type requirement for a managed app to work.”- Returns:
- property requiredAndroidSafetyNetEvaluationType
-
withRequiredAndroidSafetyNetEvaluationType
public AndroidManagedAppProtection withRequiredAndroidSafetyNetEvaluationType(AndroidManagedAppSafetyNetEvaluationType requiredAndroidSafetyNetEvaluationType)
Returns an immutable copy ofthiswith just therequiredAndroidSafetyNetEvaluationTypefield 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 the Android SafetyNet evaluation type requirement for a managed app to work.”
- Parameters:
requiredAndroidSafetyNetEvaluationType- new value ofrequiredAndroidSafetyNetEvaluationTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just therequiredAndroidSafetyNetEvaluationTypefield changed
-
getScreenCaptureBlocked
public Optional<Boolean> getScreenCaptureBlocked()
“Indicates whether a managed user can take screen captures of managed apps”- Returns:
- property screenCaptureBlocked
-
withScreenCaptureBlocked
public AndroidManagedAppProtection withScreenCaptureBlocked(Boolean screenCaptureBlocked)
Returns an immutable copy ofthiswith just thescreenCaptureBlockedfield 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 managed user can take screen captures of managed apps”
- Parameters:
screenCaptureBlocked- new value ofscreenCaptureBlockedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thescreenCaptureBlockedfield changed
-
getWarnAfterCompanyPortalUpdateDeferralInDays
public Optional<Integer> getWarnAfterCompanyPortalUpdateDeferralInDays()
“Maximum number of days Company Portal update can be deferred on the device or the user will receive the warning”- Returns:
- property warnAfterCompanyPortalUpdateDeferralInDays
-
withWarnAfterCompanyPortalUpdateDeferralInDays
public AndroidManagedAppProtection withWarnAfterCompanyPortalUpdateDeferralInDays(Integer warnAfterCompanyPortalUpdateDeferralInDays)
Returns an immutable copy ofthiswith just thewarnAfterCompanyPortalUpdateDeferralInDaysfield 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 days Company Portal update can be deferred on the device or the user will receive the warning”
- Parameters:
warnAfterCompanyPortalUpdateDeferralInDays- new value ofwarnAfterCompanyPortalUpdateDeferralInDaysfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thewarnAfterCompanyPortalUpdateDeferralInDaysfield changed
-
getWipeAfterCompanyPortalUpdateDeferralInDays
public Optional<Integer> getWipeAfterCompanyPortalUpdateDeferralInDays()
“Maximum number of days Company Portal update can be deferred on the device or the company data on the app will be wiped”- Returns:
- property wipeAfterCompanyPortalUpdateDeferralInDays
-
withWipeAfterCompanyPortalUpdateDeferralInDays
public AndroidManagedAppProtection withWipeAfterCompanyPortalUpdateDeferralInDays(Integer wipeAfterCompanyPortalUpdateDeferralInDays)
Returns an immutable copy ofthiswith just thewipeAfterCompanyPortalUpdateDeferralInDaysfield 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 days Company Portal update can be deferred on the device or the company data on the app will be wiped”
- Parameters:
wipeAfterCompanyPortalUpdateDeferralInDays- new value ofwipeAfterCompanyPortalUpdateDeferralInDaysfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thewipeAfterCompanyPortalUpdateDeferralInDaysfield changed
-
withUnmappedField
public AndroidManagedAppProtection withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classTargetedManagedAppProtection
-
getApps
public ManagedMobileAppCollectionRequest getApps()
“List of apps to which the policy is deployed.”- Returns:
- navigational property apps
-
getDeploymentSummary
public ManagedAppPolicyDeploymentSummaryRequest getDeploymentSummary()
“Navigation property to deployment summary of the configuration.”- Returns:
- navigational property deploymentSummary
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classTargetedManagedAppProtection
-
patch
public AndroidManagedAppProtection patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classTargetedManagedAppProtection- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public AndroidManagedAppProtection put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classTargetedManagedAppProtection- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classTargetedManagedAppProtection
-
-