Class AppleVpnConfiguration
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceConfiguration
-
- odata.msgraph.client.beta.entity.AppleVpnConfiguration
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
IosVpnConfiguration,MacOSVpnConfiguration
public class AppleVpnConfiguration extends DeviceConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
“Apple VPN configuration profile.”
-
-
Field Summary
-
Fields inherited from class odata.msgraph.client.beta.entity.DeviceConfiguration
createdDateTime, description, deviceManagementApplicabilityRuleDeviceMode, deviceManagementApplicabilityRuleOsEdition, deviceManagementApplicabilityRuleOsVersion, displayName, lastModifiedDateTime, roleScopeTagIds, roleScopeTagIdsNextLink, supportsScopeTags, version
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAppleVpnConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.github.davidmoten.odata.client.CollectionPage<String>getAssociatedDomains()“Associated Domains”com.github.davidmoten.odata.client.CollectionPage<String>getAssociatedDomains(com.github.davidmoten.odata.client.HttpRequestOptions options)“Associated Domains”Optional<VpnAuthenticationMethod>getAuthenticationMethod()“Authentication method for this VPN connection.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getConnectionName()“Connection name displayed to the user.”Optional<AppleVpnConnectionType>getConnectionType()“Connection type.”com.github.davidmoten.odata.client.CollectionPage<KeyValue>getCustomData()“Custom data when connection type is set to Custom VPN.com.github.davidmoten.odata.client.CollectionPage<KeyValue>getCustomData(com.github.davidmoten.odata.client.HttpRequestOptions options)“Custom data when connection type is set to Custom VPN.com.github.davidmoten.odata.client.CollectionPage<KeyValuePair>getCustomKeyValueData()“Custom data when connection type is set to Custom VPN.com.github.davidmoten.odata.client.CollectionPage<KeyValuePair>getCustomKeyValueData(com.github.davidmoten.odata.client.HttpRequestOptions options)“Custom data when connection type is set to Custom VPN.Optional<Boolean>getDisableOnDemandUserOverride()“Toggle to prevent user from disabling automatic VPN in the Settings app”Optional<Boolean>getDisconnectOnIdle()“Whether to disconnect after on-demand connection idles”Optional<Integer>getDisconnectOnIdleTimerInSeconds()“The length of time in seconds to wait before disconnecting an on-demand connection.Optional<Boolean>getEnablePerApp()“Setting this to true creates Per-App VPN payload which can later be associated with Apps that can trigger this VPN conneciton on the end user's iOS device.”Optional<Boolean>getEnableSplitTunneling()“Send all network traffic through VPN.”com.github.davidmoten.odata.client.CollectionPage<String>getExcludedDomains()“Domains that are accessed through the public internet instead of through VPN, even when per-app VPN is activated”com.github.davidmoten.odata.client.CollectionPage<String>getExcludedDomains(com.github.davidmoten.odata.client.HttpRequestOptions options)“Domains that are accessed through the public internet instead of through VPN, even when per-app VPN is activated”Optional<String>getIdentifier()“Identifier provided by VPN vendor when connection type is set to Custom VPN.Optional<String>getLoginGroupOrDomain()“Login group or domain when connection type is set to Dell SonicWALL Mobile Connection.”com.github.davidmoten.odata.client.CollectionPage<VpnOnDemandRule>getOnDemandRules()“On-Demand Rules.com.github.davidmoten.odata.client.CollectionPage<VpnOnDemandRule>getOnDemandRules(com.github.davidmoten.odata.client.HttpRequestOptions options)“On-Demand Rules.Optional<Boolean>getOptInToDeviceIdSharing()“Opt-In to sharing the device's Id to third-party vpn clients for use during network access control validation.”Optional<VpnProviderType>getProviderType()“Provider type for per-app VPN.”Optional<VpnProxyServer>getProxyServer()“Proxy Server.”Optional<String>getRealm()“Realm when connection type is set to Pulse Secure.”Optional<String>getRole()“Role when connection type is set to Pulse Secure.”com.github.davidmoten.odata.client.CollectionPage<String>getSafariDomains()“Safari domains when this VPN per App setting is enabled.com.github.davidmoten.odata.client.CollectionPage<String>getSafariDomains(com.github.davidmoten.odata.client.HttpRequestOptions options)“Safari domains when this VPN per App setting is enabled.Optional<VpnServer>getServer()“VPN Server on the network.com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()AppleVpnConfigurationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)AppleVpnConfigurationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()AppleVpnConfigurationwithAssociatedDomains(List<String> associatedDomains)Returns an immutable copy ofthiswith just theassociatedDomainsfield changed.AppleVpnConfigurationwithAuthenticationMethod(VpnAuthenticationMethod authenticationMethod)Returns an immutable copy ofthiswith just theauthenticationMethodfield changed.AppleVpnConfigurationwithConnectionName(String connectionName)Returns an immutable copy ofthiswith just theconnectionNamefield changed.AppleVpnConfigurationwithConnectionType(AppleVpnConnectionType connectionType)Returns an immutable copy ofthiswith just theconnectionTypefield changed.AppleVpnConfigurationwithCustomData(List<KeyValue> customData)Returns an immutable copy ofthiswith just thecustomDatafield changed.AppleVpnConfigurationwithCustomKeyValueData(List<KeyValuePair> customKeyValueData)Returns an immutable copy ofthiswith just thecustomKeyValueDatafield changed.AppleVpnConfigurationwithDisableOnDemandUserOverride(Boolean disableOnDemandUserOverride)Returns an immutable copy ofthiswith just thedisableOnDemandUserOverridefield changed.AppleVpnConfigurationwithDisconnectOnIdle(Boolean disconnectOnIdle)Returns an immutable copy ofthiswith just thedisconnectOnIdlefield changed.AppleVpnConfigurationwithDisconnectOnIdleTimerInSeconds(Integer disconnectOnIdleTimerInSeconds)Returns an immutable copy ofthiswith just thedisconnectOnIdleTimerInSecondsfield changed.AppleVpnConfigurationwithEnablePerApp(Boolean enablePerApp)Returns an immutable copy ofthiswith just theenablePerAppfield changed.AppleVpnConfigurationwithEnableSplitTunneling(Boolean enableSplitTunneling)Returns an immutable copy ofthiswith just theenableSplitTunnelingfield changed.AppleVpnConfigurationwithExcludedDomains(List<String> excludedDomains)Returns an immutable copy ofthiswith just theexcludedDomainsfield changed.AppleVpnConfigurationwithIdentifier(String identifier)Returns an immutable copy ofthiswith just theidentifierfield changed.AppleVpnConfigurationwithLoginGroupOrDomain(String loginGroupOrDomain)Returns an immutable copy ofthiswith just theloginGroupOrDomainfield changed.AppleVpnConfigurationwithOnDemandRules(List<VpnOnDemandRule> onDemandRules)Returns an immutable copy ofthiswith just theonDemandRulesfield changed.AppleVpnConfigurationwithOptInToDeviceIdSharing(Boolean optInToDeviceIdSharing)Returns an immutable copy ofthiswith just theoptInToDeviceIdSharingfield changed.AppleVpnConfigurationwithProviderType(VpnProviderType providerType)Returns an immutable copy ofthiswith just theproviderTypefield changed.AppleVpnConfigurationwithProxyServer(VpnProxyServer proxyServer)Returns an immutable copy ofthiswith just theproxyServerfield changed.AppleVpnConfigurationwithRealm(String realm)Returns an immutable copy ofthiswith just therealmfield changed.AppleVpnConfigurationwithRole(String role)Returns an immutable copy ofthiswith just therolefield changed.AppleVpnConfigurationwithSafariDomains(List<String> safariDomains)Returns an immutable copy ofthiswith just thesafariDomainsfield changed.AppleVpnConfigurationwithServer(VpnServer server)Returns an immutable copy ofthiswith just theserverfield changed.AppleVpnConfigurationwithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.entity.DeviceConfiguration
assign, assignedAccessMultiModeProfiles, getAssignments, getCreatedDateTime, getDescription, getDeviceManagementApplicabilityRuleDeviceMode, getDeviceManagementApplicabilityRuleOsEdition, getDeviceManagementApplicabilityRuleOsVersion, getDeviceSettingStateSummaries, getDeviceStatuses, getDeviceStatusOverview, getDisplayName, getGroupAssignments, getLastModifiedDateTime, getOmaSettingPlainTextValue, getRoleScopeTagIds, getRoleScopeTagIds, getSupportsScopeTags, getUserStatuses, getUserStatusOverview, getVersion, windowsPrivacyAccessControls, withCreatedDateTime, withDescription, withDeviceManagementApplicabilityRuleDeviceMode, withDeviceManagementApplicabilityRuleOsEdition, withDeviceManagementApplicabilityRuleOsVersion, withDisplayName, withLastModifiedDateTime, withRoleScopeTagIds, withSupportsScopeTags, withVersion
-
-
-
-
Field Detail
-
associatedDomainsNextLink
protected String associatedDomainsNextLink
-
authenticationMethod
protected VpnAuthenticationMethod authenticationMethod
-
connectionName
protected String connectionName
-
connectionType
protected AppleVpnConnectionType connectionType
-
customDataNextLink
protected String customDataNextLink
-
customKeyValueData
protected List<KeyValuePair> customKeyValueData
-
customKeyValueDataNextLink
protected String customKeyValueDataNextLink
-
disableOnDemandUserOverride
protected Boolean disableOnDemandUserOverride
-
disconnectOnIdle
protected Boolean disconnectOnIdle
-
disconnectOnIdleTimerInSeconds
protected Integer disconnectOnIdleTimerInSeconds
-
enablePerApp
protected Boolean enablePerApp
-
enableSplitTunneling
protected Boolean enableSplitTunneling
-
excludedDomainsNextLink
protected String excludedDomainsNextLink
-
identifier
protected String identifier
-
loginGroupOrDomain
protected String loginGroupOrDomain
-
onDemandRules
protected List<VpnOnDemandRule> onDemandRules
-
onDemandRulesNextLink
protected String onDemandRulesNextLink
-
optInToDeviceIdSharing
protected Boolean optInToDeviceIdSharing
-
providerType
protected VpnProviderType providerType
-
proxyServer
protected VpnProxyServer proxyServer
-
realm
protected String realm
-
role
protected String role
-
safariDomainsNextLink
protected String safariDomainsNextLink
-
server
protected VpnServer server
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceConfiguration
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classDeviceConfiguration
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDeviceConfiguration
-
getAssociatedDomains
public com.github.davidmoten.odata.client.CollectionPage<String> getAssociatedDomains()
“Associated Domains”- Returns:
- property associatedDomains
-
withAssociatedDomains
public AppleVpnConfiguration withAssociatedDomains(List<String> associatedDomains)
Returns an immutable copy ofthiswith just theassociatedDomainsfield 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.“Associated Domains”
- Parameters:
associatedDomains- new value ofassociatedDomainsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theassociatedDomainsfield changed
-
getAssociatedDomains
public com.github.davidmoten.odata.client.CollectionPage<String> getAssociatedDomains(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Associated Domains”- Parameters:
options- specify connect and read timeouts- Returns:
- property associatedDomains
-
getAuthenticationMethod
public Optional<VpnAuthenticationMethod> getAuthenticationMethod()
“Authentication method for this VPN connection.”- Returns:
- property authenticationMethod
-
withAuthenticationMethod
public AppleVpnConfiguration withAuthenticationMethod(VpnAuthenticationMethod authenticationMethod)
Returns an immutable copy ofthiswith just theauthenticationMethodfield 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.“Authentication method for this VPN connection.”
- Parameters:
authenticationMethod- new value ofauthenticationMethodfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theauthenticationMethodfield changed
-
getConnectionName
public Optional<String> getConnectionName()
“Connection name displayed to the user.”- Returns:
- property connectionName
-
withConnectionName
public AppleVpnConfiguration withConnectionName(String connectionName)
Returns an immutable copy ofthiswith just theconnectionNamefield 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.“Connection name displayed to the user.”
- Parameters:
connectionName- new value ofconnectionNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theconnectionNamefield changed
-
getConnectionType
public Optional<AppleVpnConnectionType> getConnectionType()
“Connection type.”- Returns:
- property connectionType
-
withConnectionType
public AppleVpnConfiguration withConnectionType(AppleVpnConnectionType connectionType)
Returns an immutable copy ofthiswith just theconnectionTypefield 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.“Connection type.”
- Parameters:
connectionType- new value ofconnectionTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theconnectionTypefield changed
-
getCustomData
public com.github.davidmoten.odata.client.CollectionPage<KeyValue> getCustomData()
“Custom data when connection type is set to Custom VPN. Use this field to enable functionality not supported by Intune, but available in your VPN solution. Contact your VPN vendor to learn how to add these key/value pairs. This collection can contain a maximum of 25 elements.”- Returns:
- property customData
-
withCustomData
public AppleVpnConfiguration withCustomData(List<KeyValue> customData)
Returns an immutable copy ofthiswith just thecustomDatafield 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.“Custom data when connection type is set to Custom VPN. Use this field to enable functionality not supported by Intune, but available in your VPN solution. Contact your VPN vendor to learn how to add these key/value pairs. This collection can contain a maximum of 25 elements.”
- Parameters:
customData- new value ofcustomDatafield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecustomDatafield changed
-
getCustomData
public com.github.davidmoten.odata.client.CollectionPage<KeyValue> getCustomData(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Custom data when connection type is set to Custom VPN. Use this field to enable functionality not supported by Intune, but available in your VPN solution. Contact your VPN vendor to learn how to add these key/value pairs. This collection can contain a maximum of 25 elements.”- Parameters:
options- specify connect and read timeouts- Returns:
- property customData
-
getCustomKeyValueData
public com.github.davidmoten.odata.client.CollectionPage<KeyValuePair> getCustomKeyValueData()
“Custom data when connection type is set to Custom VPN. Use this field to enable functionality not supported by Intune, but available in your VPN solution. Contact your VPN vendor to learn how to add these key/value pairs. This collection can contain a maximum of 25 elements.”- Returns:
- property customKeyValueData
-
withCustomKeyValueData
public AppleVpnConfiguration withCustomKeyValueData(List<KeyValuePair> customKeyValueData)
Returns an immutable copy ofthiswith just thecustomKeyValueDatafield 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.“Custom data when connection type is set to Custom VPN. Use this field to enable functionality not supported by Intune, but available in your VPN solution. Contact your VPN vendor to learn how to add these key/value pairs. This collection can contain a maximum of 25 elements.”
- Parameters:
customKeyValueData- new value ofcustomKeyValueDatafield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecustomKeyValueDatafield changed
-
getCustomKeyValueData
public com.github.davidmoten.odata.client.CollectionPage<KeyValuePair> getCustomKeyValueData(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Custom data when connection type is set to Custom VPN. Use this field to enable functionality not supported by Intune, but available in your VPN solution. Contact your VPN vendor to learn how to add these key/value pairs. This collection can contain a maximum of 25 elements.”- Parameters:
options- specify connect and read timeouts- Returns:
- property customKeyValueData
-
getDisableOnDemandUserOverride
public Optional<Boolean> getDisableOnDemandUserOverride()
“Toggle to prevent user from disabling automatic VPN in the Settings app”- Returns:
- property disableOnDemandUserOverride
-
withDisableOnDemandUserOverride
public AppleVpnConfiguration withDisableOnDemandUserOverride(Boolean disableOnDemandUserOverride)
Returns an immutable copy ofthiswith just thedisableOnDemandUserOverridefield 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.“Toggle to prevent user from disabling automatic VPN in the Settings app”
- Parameters:
disableOnDemandUserOverride- new value ofdisableOnDemandUserOverridefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisableOnDemandUserOverridefield changed
-
getDisconnectOnIdle
public Optional<Boolean> getDisconnectOnIdle()
“Whether to disconnect after on-demand connection idles”- Returns:
- property disconnectOnIdle
-
withDisconnectOnIdle
public AppleVpnConfiguration withDisconnectOnIdle(Boolean disconnectOnIdle)
Returns an immutable copy ofthiswith just thedisconnectOnIdlefield 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 to disconnect after on-demand connection idles”
- Parameters:
disconnectOnIdle- new value ofdisconnectOnIdlefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisconnectOnIdlefield changed
-
getDisconnectOnIdleTimerInSeconds
public Optional<Integer> getDisconnectOnIdleTimerInSeconds()
“The length of time in seconds to wait before disconnecting an on-demand connection. Valid values 0 to 65535”- Returns:
- property disconnectOnIdleTimerInSeconds
-
withDisconnectOnIdleTimerInSeconds
public AppleVpnConfiguration withDisconnectOnIdleTimerInSeconds(Integer disconnectOnIdleTimerInSeconds)
Returns an immutable copy ofthiswith just thedisconnectOnIdleTimerInSecondsfield 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 length of time in seconds to wait before disconnecting an on-demand connection. Valid values 0 to 65535”
- Parameters:
disconnectOnIdleTimerInSeconds- new value ofdisconnectOnIdleTimerInSecondsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisconnectOnIdleTimerInSecondsfield changed
-
getEnablePerApp
public Optional<Boolean> getEnablePerApp()
“Setting this to true creates Per-App VPN payload which can later be associated with Apps that can trigger this VPN conneciton on the end user's iOS device.”- Returns:
- property enablePerApp
-
withEnablePerApp
public AppleVpnConfiguration withEnablePerApp(Boolean enablePerApp)
Returns an immutable copy ofthiswith just theenablePerAppfield 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.“Setting this to true creates Per-App VPN payload which can later be associated with Apps that can trigger this VPN conneciton on the end user's iOS device.”
- Parameters:
enablePerApp- new value ofenablePerAppfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theenablePerAppfield changed
-
getEnableSplitTunneling
public Optional<Boolean> getEnableSplitTunneling()
“Send all network traffic through VPN.”- Returns:
- property enableSplitTunneling
-
withEnableSplitTunneling
public AppleVpnConfiguration withEnableSplitTunneling(Boolean enableSplitTunneling)
Returns an immutable copy ofthiswith just theenableSplitTunnelingfield 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.“Send all network traffic through VPN.”
- Parameters:
enableSplitTunneling- new value ofenableSplitTunnelingfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theenableSplitTunnelingfield changed
-
getExcludedDomains
public com.github.davidmoten.odata.client.CollectionPage<String> getExcludedDomains()
“Domains that are accessed through the public internet instead of through VPN, even when per-app VPN is activated”- Returns:
- property excludedDomains
-
withExcludedDomains
public AppleVpnConfiguration withExcludedDomains(List<String> excludedDomains)
Returns an immutable copy ofthiswith just theexcludedDomainsfield 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.“Domains that are accessed through the public internet instead of through VPN, even when per-app VPN is activated”
- Parameters:
excludedDomains- new value ofexcludedDomainsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theexcludedDomainsfield changed
-
getExcludedDomains
public com.github.davidmoten.odata.client.CollectionPage<String> getExcludedDomains(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Domains that are accessed through the public internet instead of through VPN, even when per-app VPN is activated”- Parameters:
options- specify connect and read timeouts- Returns:
- property excludedDomains
-
getIdentifier
public Optional<String> getIdentifier()
“Identifier provided by VPN vendor when connection type is set to Custom VPN. For example: Cisco AnyConnect uses an identifier of the form com.cisco.anyconnect. applevpn.plugin”- Returns:
- property identifier
-
withIdentifier
public AppleVpnConfiguration withIdentifier(String identifier)
Returns an immutable copy ofthiswith just theidentifierfield 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.“Identifier provided by VPN vendor when connection type is set to Custom VPN. For example: Cisco AnyConnect uses an identifier of the form com.cisco.anyconnect. applevpn.plugin”
- Parameters:
identifier- new value ofidentifierfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theidentifierfield changed
-
getLoginGroupOrDomain
public Optional<String> getLoginGroupOrDomain()
“Login group or domain when connection type is set to Dell SonicWALL Mobile Connection.”- Returns:
- property loginGroupOrDomain
-
withLoginGroupOrDomain
public AppleVpnConfiguration withLoginGroupOrDomain(String loginGroupOrDomain)
Returns an immutable copy ofthiswith just theloginGroupOrDomainfield 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.“Login group or domain when connection type is set to Dell SonicWALL Mobile Connection.”
- Parameters:
loginGroupOrDomain- new value ofloginGroupOrDomainfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theloginGroupOrDomainfield changed
-
getOnDemandRules
public com.github.davidmoten.odata.client.CollectionPage<VpnOnDemandRule> getOnDemandRules()
“On-Demand Rules. This collection can contain a maximum of 500 elements.”- Returns:
- property onDemandRules
-
withOnDemandRules
public AppleVpnConfiguration withOnDemandRules(List<VpnOnDemandRule> onDemandRules)
Returns an immutable copy ofthiswith just theonDemandRulesfield 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.“On-Demand Rules. This collection can contain a maximum of 500 elements.”
- Parameters:
onDemandRules- new value ofonDemandRulesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theonDemandRulesfield changed
-
getOnDemandRules
public com.github.davidmoten.odata.client.CollectionPage<VpnOnDemandRule> getOnDemandRules(com.github.davidmoten.odata.client.HttpRequestOptions options)
“On-Demand Rules. This collection can contain a maximum of 500 elements.”- Parameters:
options- specify connect and read timeouts- Returns:
- property onDemandRules
-
getOptInToDeviceIdSharing
public Optional<Boolean> getOptInToDeviceIdSharing()
“Opt-In to sharing the device's Id to third-party vpn clients for use during network access control validation.”- Returns:
- property optInToDeviceIdSharing
-
withOptInToDeviceIdSharing
public AppleVpnConfiguration withOptInToDeviceIdSharing(Boolean optInToDeviceIdSharing)
Returns an immutable copy ofthiswith just theoptInToDeviceIdSharingfield 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.“Opt-In to sharing the device's Id to third-party vpn clients for use during network access control validation.”
- Parameters:
optInToDeviceIdSharing- new value ofoptInToDeviceIdSharingfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theoptInToDeviceIdSharingfield changed
-
getProviderType
public Optional<VpnProviderType> getProviderType()
“Provider type for per-app VPN.”- Returns:
- property providerType
-
withProviderType
public AppleVpnConfiguration withProviderType(VpnProviderType providerType)
Returns an immutable copy ofthiswith just theproviderTypefield 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.“Provider type for per-app VPN.”
- Parameters:
providerType- new value ofproviderTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theproviderTypefield changed
-
getProxyServer
public Optional<VpnProxyServer> getProxyServer()
“Proxy Server.”- Returns:
- property proxyServer
-
withProxyServer
public AppleVpnConfiguration withProxyServer(VpnProxyServer proxyServer)
Returns an immutable copy ofthiswith just theproxyServerfield 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.“Proxy Server.”
- Parameters:
proxyServer- new value ofproxyServerfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theproxyServerfield changed
-
getRealm
public Optional<String> getRealm()
“Realm when connection type is set to Pulse Secure.”- Returns:
- property realm
-
withRealm
public AppleVpnConfiguration withRealm(String realm)
Returns an immutable copy ofthiswith just therealmfield 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.“Realm when connection type is set to Pulse Secure.”
- Parameters:
realm- new value ofrealmfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just therealmfield changed
-
getRole
public Optional<String> getRole()
“Role when connection type is set to Pulse Secure.”- Returns:
- property role
-
withRole
public AppleVpnConfiguration withRole(String role)
Returns an immutable copy ofthiswith just therolefield 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.“Role when connection type is set to Pulse Secure.”
- Parameters:
role- new value ofrolefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just therolefield changed
-
getSafariDomains
public com.github.davidmoten.odata.client.CollectionPage<String> getSafariDomains()
“Safari domains when this VPN per App setting is enabled. In addition to the apps associated with this VPN, Safari domains specified here will also be able to trigger this VPN connection.”- Returns:
- property safariDomains
-
withSafariDomains
public AppleVpnConfiguration withSafariDomains(List<String> safariDomains)
Returns an immutable copy ofthiswith just thesafariDomainsfield 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.“Safari domains when this VPN per App setting is enabled. In addition to the apps associated with this VPN, Safari domains specified here will also be able to trigger this VPN connection.”
- Parameters:
safariDomains- new value ofsafariDomainsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesafariDomainsfield changed
-
getSafariDomains
public com.github.davidmoten.odata.client.CollectionPage<String> getSafariDomains(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Safari domains when this VPN per App setting is enabled. In addition to the apps associated with this VPN, Safari domains specified here will also be able to trigger this VPN connection.”- Parameters:
options- specify connect and read timeouts- Returns:
- property safariDomains
-
getServer
public Optional<VpnServer> getServer()
“VPN Server on the network. Make sure end users can access this network location.”- Returns:
- property server
-
withServer
public AppleVpnConfiguration withServer(VpnServer server)
Returns an immutable copy ofthiswith just theserverfield 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.“VPN Server on the network. Make sure end users can access this network location.”
- Parameters:
server- new value ofserverfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theserverfield changed
-
withUnmappedField
public AppleVpnConfiguration withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDeviceConfiguration
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeviceConfiguration
-
patch
public AppleVpnConfiguration patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classDeviceConfiguration- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public AppleVpnConfiguration put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classDeviceConfiguration- 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 classDeviceConfiguration
-
-