Class AppleVpnAlwaysOnConfiguration
- java.lang.Object
-
- odata.msgraph.client.beta.complex.AppleVpnAlwaysOnConfiguration
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class AppleVpnAlwaysOnConfiguration extends Object implements com.github.davidmoten.odata.client.ODataType
“Always On VPN configuration for MacOS and iOS IKEv2”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAppleVpnAlwaysOnConfiguration.Builder
-
Field Summary
Fields Modifier and Type Field Description protected VpnServiceExceptionActionairPrintExceptionActionprotected BooleanallowAllCaptiveNetworkPluginsprotected BooleanallowCaptiveWebSheetprotected SpecifiedCaptiveNetworkPluginsallowedCaptiveNetworkPluginsprotected VpnServiceExceptionActioncellularExceptionActionprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected IntegernatKeepAliveIntervalInSecondsprotected BooleannatKeepAliveOffloadEnableprotected StringodataTypeprotected VpnTunnelConfigurationTypetunnelConfigurationprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFieldsprotected BooleanuserToggleEnabledprotected VpnServiceExceptionActionvoicemailExceptionAction
-
Constructor Summary
Constructors Modifier Constructor Description protectedAppleVpnAlwaysOnConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AppleVpnAlwaysOnConfiguration.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<VpnServiceExceptionAction>getAirPrintExceptionAction()“Determine whether AirPrint service will be exempt from the always-on VPN connection”Optional<Boolean>getAllowAllCaptiveNetworkPlugins()“Specifies whether traffic from all captive network plugins should be allowed outside the vpn”Optional<Boolean>getAllowCaptiveWebSheet()“Determines whether traffic from the Websheet app is allowed outside of the VPN”Optional<SpecifiedCaptiveNetworkPlugins>getAllowedCaptiveNetworkPlugins()“Determines whether all, some, or no non-native captive networking apps are allowed”Optional<VpnServiceExceptionAction>getCellularExceptionAction()“Determine whether Cellular service will be exempt from the always-on VPN connection”Optional<Integer>getNatKeepAliveIntervalInSeconds()“Specifies how often in seconds to send a network address translation keepalive package through the VPN”Optional<Boolean>getNatKeepAliveOffloadEnable()“Enable hardware offloading of NAT keepalive signals when the device is asleep”Optional<VpnTunnelConfigurationType>getTunnelConfiguration()“Determines what connections the specific tunnel configuration applies to”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<Boolean>getUserToggleEnabled()“Allow the user to toggle the VPN configuration using the UI”Optional<VpnServiceExceptionAction>getVoicemailExceptionAction()“Determine whether voicemail service will be exempt from the always-on VPN connection”StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()AppleVpnAlwaysOnConfigurationwithAirPrintExceptionAction(VpnServiceExceptionAction airPrintExceptionAction)Returns an immutable copy ofthiswith just theairPrintExceptionActionfield changed.AppleVpnAlwaysOnConfigurationwithAllowAllCaptiveNetworkPlugins(Boolean allowAllCaptiveNetworkPlugins)Returns an immutable copy ofthiswith just theallowAllCaptiveNetworkPluginsfield changed.AppleVpnAlwaysOnConfigurationwithAllowCaptiveWebSheet(Boolean allowCaptiveWebSheet)Returns an immutable copy ofthiswith just theallowCaptiveWebSheetfield changed.AppleVpnAlwaysOnConfigurationwithAllowedCaptiveNetworkPlugins(SpecifiedCaptiveNetworkPlugins allowedCaptiveNetworkPlugins)Returns an immutable copy ofthiswith just theallowedCaptiveNetworkPluginsfield changed.AppleVpnAlwaysOnConfigurationwithCellularExceptionAction(VpnServiceExceptionAction cellularExceptionAction)Returns an immutable copy ofthiswith just thecellularExceptionActionfield changed.AppleVpnAlwaysOnConfigurationwithNatKeepAliveIntervalInSeconds(Integer natKeepAliveIntervalInSeconds)Returns an immutable copy ofthiswith just thenatKeepAliveIntervalInSecondsfield changed.AppleVpnAlwaysOnConfigurationwithNatKeepAliveOffloadEnable(Boolean natKeepAliveOffloadEnable)Returns an immutable copy ofthiswith just thenatKeepAliveOffloadEnablefield changed.AppleVpnAlwaysOnConfigurationwithTunnelConfiguration(VpnTunnelConfigurationType tunnelConfiguration)Returns an immutable copy ofthiswith just thetunnelConfigurationfield changed.AppleVpnAlwaysOnConfigurationwithUnmappedField(String name, String value)AppleVpnAlwaysOnConfigurationwithUserToggleEnabled(Boolean userToggleEnabled)Returns an immutable copy ofthiswith just theuserToggleEnabledfield changed.AppleVpnAlwaysOnConfigurationwithVoicemailExceptionAction(VpnServiceExceptionAction voicemailExceptionAction)Returns an immutable copy ofthiswith just thevoicemailExceptionActionfield changed.
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
airPrintExceptionAction
protected VpnServiceExceptionAction airPrintExceptionAction
-
allowAllCaptiveNetworkPlugins
protected Boolean allowAllCaptiveNetworkPlugins
-
allowCaptiveWebSheet
protected Boolean allowCaptiveWebSheet
-
allowedCaptiveNetworkPlugins
protected SpecifiedCaptiveNetworkPlugins allowedCaptiveNetworkPlugins
-
cellularExceptionAction
protected VpnServiceExceptionAction cellularExceptionAction
-
natKeepAliveIntervalInSeconds
protected Integer natKeepAliveIntervalInSeconds
-
natKeepAliveOffloadEnable
protected Boolean natKeepAliveOffloadEnable
-
tunnelConfiguration
protected VpnTunnelConfigurationType tunnelConfiguration
-
userToggleEnabled
protected Boolean userToggleEnabled
-
voicemailExceptionAction
protected VpnServiceExceptionAction voicemailExceptionAction
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getAirPrintExceptionAction
public Optional<VpnServiceExceptionAction> getAirPrintExceptionAction()
“Determine whether AirPrint service will be exempt from the always-on VPN connection”- Returns:
- property airPrintExceptionAction
-
withAirPrintExceptionAction
public AppleVpnAlwaysOnConfiguration withAirPrintExceptionAction(VpnServiceExceptionAction airPrintExceptionAction)
Returns an immutable copy ofthiswith just theairPrintExceptionActionfield 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.“Determine whether AirPrint service will be exempt from the always-on VPN connection”
- Parameters:
airPrintExceptionAction- new value ofairPrintExceptionActionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theairPrintExceptionActionfield changed
-
getAllowAllCaptiveNetworkPlugins
public Optional<Boolean> getAllowAllCaptiveNetworkPlugins()
“Specifies whether traffic from all captive network plugins should be allowed outside the vpn”- Returns:
- property allowAllCaptiveNetworkPlugins
-
withAllowAllCaptiveNetworkPlugins
public AppleVpnAlwaysOnConfiguration withAllowAllCaptiveNetworkPlugins(Boolean allowAllCaptiveNetworkPlugins)
Returns an immutable copy ofthiswith just theallowAllCaptiveNetworkPluginsfield 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.“Specifies whether traffic from all captive network plugins should be allowed outside the vpn”
- Parameters:
allowAllCaptiveNetworkPlugins- new value ofallowAllCaptiveNetworkPluginsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theallowAllCaptiveNetworkPluginsfield changed
-
getAllowCaptiveWebSheet
public Optional<Boolean> getAllowCaptiveWebSheet()
“Determines whether traffic from the Websheet app is allowed outside of the VPN”- Returns:
- property allowCaptiveWebSheet
-
withAllowCaptiveWebSheet
public AppleVpnAlwaysOnConfiguration withAllowCaptiveWebSheet(Boolean allowCaptiveWebSheet)
Returns an immutable copy ofthiswith just theallowCaptiveWebSheetfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Determines whether traffic from the Websheet app is allowed outside of the VPN”
- Parameters:
allowCaptiveWebSheet- new value ofallowCaptiveWebSheetfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theallowCaptiveWebSheetfield changed
-
getAllowedCaptiveNetworkPlugins
public Optional<SpecifiedCaptiveNetworkPlugins> getAllowedCaptiveNetworkPlugins()
“Determines whether all, some, or no non-native captive networking apps are allowed”- Returns:
- property allowedCaptiveNetworkPlugins
-
withAllowedCaptiveNetworkPlugins
public AppleVpnAlwaysOnConfiguration withAllowedCaptiveNetworkPlugins(SpecifiedCaptiveNetworkPlugins allowedCaptiveNetworkPlugins)
Returns an immutable copy ofthiswith just theallowedCaptiveNetworkPluginsfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Determines whether all, some, or no non-native captive networking apps are allowed”
- Parameters:
allowedCaptiveNetworkPlugins- new value ofallowedCaptiveNetworkPluginsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theallowedCaptiveNetworkPluginsfield changed
-
getCellularExceptionAction
public Optional<VpnServiceExceptionAction> getCellularExceptionAction()
“Determine whether Cellular service will be exempt from the always-on VPN connection”- Returns:
- property cellularExceptionAction
-
withCellularExceptionAction
public AppleVpnAlwaysOnConfiguration withCellularExceptionAction(VpnServiceExceptionAction cellularExceptionAction)
Returns an immutable copy ofthiswith just thecellularExceptionActionfield 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.“Determine whether Cellular service will be exempt from the always-on VPN connection”
- Parameters:
cellularExceptionAction- new value ofcellularExceptionActionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecellularExceptionActionfield changed
-
getNatKeepAliveIntervalInSeconds
public Optional<Integer> getNatKeepAliveIntervalInSeconds()
“Specifies how often in seconds to send a network address translation keepalive package through the VPN”- Returns:
- property natKeepAliveIntervalInSeconds
-
withNatKeepAliveIntervalInSeconds
public AppleVpnAlwaysOnConfiguration withNatKeepAliveIntervalInSeconds(Integer natKeepAliveIntervalInSeconds)
Returns an immutable copy ofthiswith just thenatKeepAliveIntervalInSecondsfield 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.“Specifies how often in seconds to send a network address translation keepalive package through the VPN”
- Parameters:
natKeepAliveIntervalInSeconds- new value ofnatKeepAliveIntervalInSecondsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenatKeepAliveIntervalInSecondsfield changed
-
getNatKeepAliveOffloadEnable
public Optional<Boolean> getNatKeepAliveOffloadEnable()
“Enable hardware offloading of NAT keepalive signals when the device is asleep”- Returns:
- property natKeepAliveOffloadEnable
-
withNatKeepAliveOffloadEnable
public AppleVpnAlwaysOnConfiguration withNatKeepAliveOffloadEnable(Boolean natKeepAliveOffloadEnable)
Returns an immutable copy ofthiswith just thenatKeepAliveOffloadEnablefield 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.“Enable hardware offloading of NAT keepalive signals when the device is asleep”
- Parameters:
natKeepAliveOffloadEnable- new value ofnatKeepAliveOffloadEnablefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenatKeepAliveOffloadEnablefield changed
-
getTunnelConfiguration
public Optional<VpnTunnelConfigurationType> getTunnelConfiguration()
“Determines what connections the specific tunnel configuration applies to”- Returns:
- property tunnelConfiguration
-
withTunnelConfiguration
public AppleVpnAlwaysOnConfiguration withTunnelConfiguration(VpnTunnelConfigurationType tunnelConfiguration)
Returns an immutable copy ofthiswith just thetunnelConfigurationfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Determines what connections the specific tunnel configuration applies to”
- Parameters:
tunnelConfiguration- new value oftunnelConfigurationfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetunnelConfigurationfield changed
-
getUserToggleEnabled
public Optional<Boolean> getUserToggleEnabled()
“Allow the user to toggle the VPN configuration using the UI”- Returns:
- property userToggleEnabled
-
withUserToggleEnabled
public AppleVpnAlwaysOnConfiguration withUserToggleEnabled(Boolean userToggleEnabled)
Returns an immutable copy ofthiswith just theuserToggleEnabledfield 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.“Allow the user to toggle the VPN configuration using the UI”
- Parameters:
userToggleEnabled- new value ofuserToggleEnabledfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserToggleEnabledfield changed
-
getVoicemailExceptionAction
public Optional<VpnServiceExceptionAction> getVoicemailExceptionAction()
“Determine whether voicemail service will be exempt from the always-on VPN connection”- Returns:
- property voicemailExceptionAction
-
withVoicemailExceptionAction
public AppleVpnAlwaysOnConfiguration withVoicemailExceptionAction(VpnServiceExceptionAction voicemailExceptionAction)
Returns an immutable copy ofthiswith just thevoicemailExceptionActionfield 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.“Determine whether voicemail service will be exempt from the always-on VPN connection”
- Parameters:
voicemailExceptionAction- new value ofvoicemailExceptionActionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thevoicemailExceptionActionfield changed
-
withUnmappedField
public AppleVpnAlwaysOnConfiguration withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static AppleVpnAlwaysOnConfiguration.Builder builder()
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
-
-