Package odata.msgraph.client.beta.entity
Class AndroidWorkProfileVpnConfiguration.Builder
- java.lang.Object
-
- odata.msgraph.client.beta.entity.AndroidWorkProfileVpnConfiguration.Builder
-
- Enclosing class:
- AndroidWorkProfileVpnConfiguration
public static final class AndroidWorkProfileVpnConfiguration.Builder extends Object
-
-
Method Summary
-
-
-
Method Detail
-
id
public AndroidWorkProfileVpnConfiguration.Builder id(String id)
-
createdDateTime
public AndroidWorkProfileVpnConfiguration.Builder createdDateTime(OffsetDateTime createdDateTime)
-
description
public AndroidWorkProfileVpnConfiguration.Builder description(String description)
-
deviceManagementApplicabilityRuleDeviceMode
public AndroidWorkProfileVpnConfiguration.Builder deviceManagementApplicabilityRuleDeviceMode(DeviceManagementApplicabilityRuleDeviceMode deviceManagementApplicabilityRuleDeviceMode)
-
deviceManagementApplicabilityRuleOsEdition
public AndroidWorkProfileVpnConfiguration.Builder deviceManagementApplicabilityRuleOsEdition(DeviceManagementApplicabilityRuleOsEdition deviceManagementApplicabilityRuleOsEdition)
-
deviceManagementApplicabilityRuleOsVersion
public AndroidWorkProfileVpnConfiguration.Builder deviceManagementApplicabilityRuleOsVersion(DeviceManagementApplicabilityRuleOsVersion deviceManagementApplicabilityRuleOsVersion)
-
displayName
public AndroidWorkProfileVpnConfiguration.Builder displayName(String displayName)
-
lastModifiedDateTime
public AndroidWorkProfileVpnConfiguration.Builder lastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
-
roleScopeTagIds
public AndroidWorkProfileVpnConfiguration.Builder roleScopeTagIds(List<String> roleScopeTagIds)
-
roleScopeTagIds
public AndroidWorkProfileVpnConfiguration.Builder roleScopeTagIds(String... roleScopeTagIds)
-
roleScopeTagIdsNextLink
public AndroidWorkProfileVpnConfiguration.Builder roleScopeTagIdsNextLink(String roleScopeTagIdsNextLink)
-
supportsScopeTags
public AndroidWorkProfileVpnConfiguration.Builder supportsScopeTags(Boolean supportsScopeTags)
-
version
public AndroidWorkProfileVpnConfiguration.Builder version(Integer version)
-
alwaysOn
public AndroidWorkProfileVpnConfiguration.Builder alwaysOn(Boolean alwaysOn)
“Whether or not to enable always-on VPN connection.”- Parameters:
alwaysOn- value ofalwaysOnproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
alwaysOnLockdown
public AndroidWorkProfileVpnConfiguration.Builder alwaysOnLockdown(Boolean alwaysOnLockdown)
“If always-on VPN connection is enabled, whether or not to lock network traffic when that VPN is disconnected.”- Parameters:
alwaysOnLockdown- value ofalwaysOnLockdownproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
authenticationMethod
public AndroidWorkProfileVpnConfiguration.Builder authenticationMethod(VpnAuthenticationMethod authenticationMethod)
“Authentication method.”- Parameters:
authenticationMethod- value ofauthenticationMethodproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
connectionName
public AndroidWorkProfileVpnConfiguration.Builder connectionName(String connectionName)
“Connection name displayed to the user.”- Parameters:
connectionName- value ofconnectionNameproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
connectionType
public AndroidWorkProfileVpnConfiguration.Builder connectionType(AndroidWorkProfileVpnConnectionType connectionType)
“Connection type.”- Parameters:
connectionType- value ofconnectionTypeproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
customData
public AndroidWorkProfileVpnConfiguration.Builder customData(List<KeyValue> customData)
“Custom data when connection type is set to Citrix. This collection can contain a maximum of 25 elements.”- Parameters:
customData- value ofcustomDataproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
customData
public AndroidWorkProfileVpnConfiguration.Builder customData(KeyValue... customData)
“Custom data when connection type is set to Citrix. This collection can contain a maximum of 25 elements.”- Parameters:
customData- value ofcustomDataproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
customDataNextLink
public AndroidWorkProfileVpnConfiguration.Builder customDataNextLink(String customDataNextLink)
“Custom data when connection type is set to Citrix. This collection can contain a maximum of 25 elements.”- Parameters:
customDataNextLink- value ofcustomData@nextLinkproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
customKeyValueData
public AndroidWorkProfileVpnConfiguration.Builder customKeyValueData(List<KeyValuePair> customKeyValueData)
“Custom data when connection type is set to Citrix. This collection can contain a maximum of 25 elements.”- Parameters:
customKeyValueData- value ofcustomKeyValueDataproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
customKeyValueData
public AndroidWorkProfileVpnConfiguration.Builder customKeyValueData(KeyValuePair... customKeyValueData)
“Custom data when connection type is set to Citrix. This collection can contain a maximum of 25 elements.”- Parameters:
customKeyValueData- value ofcustomKeyValueDataproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
customKeyValueDataNextLink
public AndroidWorkProfileVpnConfiguration.Builder customKeyValueDataNextLink(String customKeyValueDataNextLink)
“Custom data when connection type is set to Citrix. This collection can contain a maximum of 25 elements.”- Parameters:
customKeyValueDataNextLink- value ofcustomKeyValueData@nextLinkproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
fingerprint
public AndroidWorkProfileVpnConfiguration.Builder fingerprint(String fingerprint)
“Fingerprint is a string that will be used to verify the VPN server can be trusted, which is only applicable when connection type is Check Point Capsule VPN.”- Parameters:
fingerprint- value offingerprintproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
microsoftTunnelSiteId
public AndroidWorkProfileVpnConfiguration.Builder microsoftTunnelSiteId(String microsoftTunnelSiteId)
“Microsoft Tunnel site ID.”- Parameters:
microsoftTunnelSiteId- value ofmicrosoftTunnelSiteIdproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
proxyServer
public AndroidWorkProfileVpnConfiguration.Builder proxyServer(VpnProxyServer proxyServer)
“Proxy server.”- Parameters:
proxyServer- value ofproxyServerproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
realm
public AndroidWorkProfileVpnConfiguration.Builder realm(String realm)
“Realm when connection type is set to Pulse Secure.”- Parameters:
realm- value ofrealmproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
role
public AndroidWorkProfileVpnConfiguration.Builder role(String role)
“Role when connection type is set to Pulse Secure.”- Parameters:
role- value ofroleproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
servers
public AndroidWorkProfileVpnConfiguration.Builder servers(List<VpnServer> servers)
“List of VPN Servers on the network. Make sure end users can access these network locations. This collection can contain a maximum of 500 elements.”- Parameters:
servers- value ofserversproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
servers
public AndroidWorkProfileVpnConfiguration.Builder servers(VpnServer... servers)
“List of VPN Servers on the network. Make sure end users can access these network locations. This collection can contain a maximum of 500 elements.”- Parameters:
servers- value ofserversproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
serversNextLink
public AndroidWorkProfileVpnConfiguration.Builder serversNextLink(String serversNextLink)
“List of VPN Servers on the network. Make sure end users can access these network locations. This collection can contain a maximum of 500 elements.”- Parameters:
serversNextLink- value ofservers@nextLinkproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
targetedMobileApps
public AndroidWorkProfileVpnConfiguration.Builder targetedMobileApps(List<AppListItem> targetedMobileApps)
“Targeted mobile apps. This collection can contain a maximum of 500 elements.”- Parameters:
targetedMobileApps- value oftargetedMobileAppsproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
targetedMobileApps
public AndroidWorkProfileVpnConfiguration.Builder targetedMobileApps(AppListItem... targetedMobileApps)
“Targeted mobile apps. This collection can contain a maximum of 500 elements.”- Parameters:
targetedMobileApps- value oftargetedMobileAppsproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
targetedMobileAppsNextLink
public AndroidWorkProfileVpnConfiguration.Builder targetedMobileAppsNextLink(String targetedMobileAppsNextLink)
“Targeted mobile apps. This collection can contain a maximum of 500 elements.”- Parameters:
targetedMobileAppsNextLink- value oftargetedMobileApps@nextLinkproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
targetedPackageIds
public AndroidWorkProfileVpnConfiguration.Builder targetedPackageIds(List<String> targetedPackageIds)
“Targeted App package IDs.”- Parameters:
targetedPackageIds- value oftargetedPackageIdsproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
targetedPackageIds
public AndroidWorkProfileVpnConfiguration.Builder targetedPackageIds(String... targetedPackageIds)
“Targeted App package IDs.”- Parameters:
targetedPackageIds- value oftargetedPackageIdsproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
targetedPackageIdsNextLink
public AndroidWorkProfileVpnConfiguration.Builder targetedPackageIdsNextLink(String targetedPackageIdsNextLink)
“Targeted App package IDs.”- Parameters:
targetedPackageIdsNextLink- value oftargetedPackageIds@nextLinkproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
build
public AndroidWorkProfileVpnConfiguration build()
-
-