Class 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”
    • 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
      • allowAllCaptiveNetworkPlugins

        protected Boolean allowAllCaptiveNetworkPlugins
      • allowCaptiveWebSheet

        protected Boolean allowCaptiveWebSheet
      • natKeepAliveIntervalInSeconds

        protected Integer natKeepAliveIntervalInSeconds
      • natKeepAliveOffloadEnable

        protected Boolean natKeepAliveOffloadEnable
      • userToggleEnabled

        protected Boolean userToggleEnabled
    • Constructor Detail

      • AppleVpnAlwaysOnConfiguration

        protected AppleVpnAlwaysOnConfiguration()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.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 of this with just the airPrintExceptionAction field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of airPrintExceptionAction field (as defined in service metadata)
        Returns:
        immutable copy of this with just the airPrintExceptionAction field 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 of this with just the allowAllCaptiveNetworkPlugins field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of allowAllCaptiveNetworkPlugins field (as defined in service metadata)
        Returns:
        immutable copy of this with just the allowAllCaptiveNetworkPlugins field 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 of this with just the allowCaptiveWebSheet field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of allowCaptiveWebSheet field (as defined in service metadata)
        Returns:
        immutable copy of this with just the allowCaptiveWebSheet field 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 of this with just the allowedCaptiveNetworkPlugins field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of allowedCaptiveNetworkPlugins field (as defined in service metadata)
        Returns:
        immutable copy of this with just the allowedCaptiveNetworkPlugins field 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 of this with just the cellularExceptionAction field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of cellularExceptionAction field (as defined in service metadata)
        Returns:
        immutable copy of this with just the cellularExceptionAction field 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 of this with just the natKeepAliveIntervalInSeconds field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of natKeepAliveIntervalInSeconds field (as defined in service metadata)
        Returns:
        immutable copy of this with just the natKeepAliveIntervalInSeconds field 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 of this with just the natKeepAliveOffloadEnable field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of natKeepAliveOffloadEnable field (as defined in service metadata)
        Returns:
        immutable copy of this with just the natKeepAliveOffloadEnable field 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 of this with just the tunnelConfiguration field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of tunnelConfiguration field (as defined in service metadata)
        Returns:
        immutable copy of this with just the tunnelConfiguration field 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 of this with just the userToggleEnabled field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. 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 of userToggleEnabled field (as defined in service metadata)
        Returns:
        immutable copy of this with just the userToggleEnabled field 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 of this with just the voicemailExceptionAction field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of voicemailExceptionAction field (as defined in service metadata)
        Returns:
        immutable copy of this with just the voicemailExceptionAction field changed
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.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