Class AppleVpnAlwaysOnConfiguration.Builder

    • Method Detail

      • airPrintExceptionAction

        public AppleVpnAlwaysOnConfiguration.Builder airPrintExceptionAction​(VpnServiceExceptionAction airPrintExceptionAction)
        “Determine whether AirPrint service will be exempt from the always-on VPN connection”
        Parameters:
        airPrintExceptionAction - value of airPrintExceptionAction property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • allowAllCaptiveNetworkPlugins

        public AppleVpnAlwaysOnConfiguration.Builder allowAllCaptiveNetworkPlugins​(Boolean allowAllCaptiveNetworkPlugins)
        “Specifies whether traffic from all captive network plugins should be allowed outside the vpn”
        Parameters:
        allowAllCaptiveNetworkPlugins - value of allowAllCaptiveNetworkPlugins property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • allowCaptiveWebSheet

        public AppleVpnAlwaysOnConfiguration.Builder allowCaptiveWebSheet​(Boolean allowCaptiveWebSheet)
        “Determines whether traffic from the Websheet app is allowed outside of the VPN”
        Parameters:
        allowCaptiveWebSheet - value of allowCaptiveWebSheet property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • allowedCaptiveNetworkPlugins

        public AppleVpnAlwaysOnConfiguration.Builder allowedCaptiveNetworkPlugins​(SpecifiedCaptiveNetworkPlugins allowedCaptiveNetworkPlugins)
        “Determines whether all, some, or no non-native captive networking apps are allowed”
        Parameters:
        allowedCaptiveNetworkPlugins - value of allowedCaptiveNetworkPlugins property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • cellularExceptionAction

        public AppleVpnAlwaysOnConfiguration.Builder cellularExceptionAction​(VpnServiceExceptionAction cellularExceptionAction)
        “Determine whether Cellular service will be exempt from the always-on VPN connection”
        Parameters:
        cellularExceptionAction - value of cellularExceptionAction property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • natKeepAliveIntervalInSeconds

        public AppleVpnAlwaysOnConfiguration.Builder natKeepAliveIntervalInSeconds​(Integer natKeepAliveIntervalInSeconds)
        “Specifies how often in seconds to send a network address translation keepalive package through the VPN”
        Parameters:
        natKeepAliveIntervalInSeconds - value of natKeepAliveIntervalInSeconds property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • natKeepAliveOffloadEnable

        public AppleVpnAlwaysOnConfiguration.Builder natKeepAliveOffloadEnable​(Boolean natKeepAliveOffloadEnable)
        “Enable hardware offloading of NAT keepalive signals when the device is asleep”
        Parameters:
        natKeepAliveOffloadEnable - value of natKeepAliveOffloadEnable property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • tunnelConfiguration

        public AppleVpnAlwaysOnConfiguration.Builder tunnelConfiguration​(VpnTunnelConfigurationType tunnelConfiguration)
        “Determines what connections the specific tunnel configuration applies to”
        Parameters:
        tunnelConfiguration - value of tunnelConfiguration property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • userToggleEnabled

        public AppleVpnAlwaysOnConfiguration.Builder userToggleEnabled​(Boolean userToggleEnabled)
        “Allow the user to toggle the VPN configuration using the UI”
        Parameters:
        userToggleEnabled - value of userToggleEnabled property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • voicemailExceptionAction

        public AppleVpnAlwaysOnConfiguration.Builder voicemailExceptionAction​(VpnServiceExceptionAction voicemailExceptionAction)
        “Determine whether voicemail service will be exempt from the always-on VPN connection”
        Parameters:
        voicemailExceptionAction - value of voicemailExceptionAction property (as defined in service metadata)
        Returns:
        this (for method chaining)