Class Windows81VpnConfiguration

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataEntityType, com.github.davidmoten.odata.client.ODataType
    Direct Known Subclasses:
    WindowsPhone81VpnConfiguration

    public class Windows81VpnConfiguration
    extends WindowsVpnConfiguration
    implements com.github.davidmoten.odata.client.ODataEntityType
    “By providing the configurations in this profile you can instruct the Windows 8.1 (and later) devices to connect to desired VPN endpoint. By specifying the authentication method and security types expected by VPN endpoint you can make the VPN connection seamless for end user.”
    • Constructor Detail

      • Windows81VpnConfiguration

        protected Windows81VpnConfiguration()
    • Method Detail

      • builderWindows81VpnConfiguration

        public static Windows81VpnConfiguration.Builder builderWindows81VpnConfiguration()
        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
      • getChangedFields

        public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
        Specified by:
        getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityType
        Overrides:
        getChangedFields in class WindowsVpnConfiguration
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        postInject in class WindowsVpnConfiguration
      • getApplyOnlyToWindows81

        public Optional<Boolean> getApplyOnlyToWindows81()
        “Value indicating whether this policy only applies to Windows 8.1. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property applyOnlyToWindows81
      • withApplyOnlyToWindows81

        public Windows81VpnConfiguration withApplyOnlyToWindows81​(Boolean applyOnlyToWindows81)
        Returns an immutable copy of this with just the applyOnlyToWindows81 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.

        “Value indicating whether this policy only applies to Windows 8.1. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        applyOnlyToWindows81 - new value of applyOnlyToWindows81 field (as defined in service metadata)
        Returns:
        immutable copy of this with just the applyOnlyToWindows81 field changed
      • withConnectionType

        public Windows81VpnConfiguration withConnectionType​(WindowsVpnConnectionType connectionType)
        Returns an immutable copy of this with just the connectionType 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.

        “Connection type.”

        Parameters:
        connectionType - new value of connectionType field (as defined in service metadata)
        Returns:
        immutable copy of this with just the connectionType field changed
      • getEnableSplitTunneling

        public Optional<Boolean> getEnableSplitTunneling()
        “Enable split tunneling for the VPN.”
        Returns:
        property enableSplitTunneling
      • withEnableSplitTunneling

        public Windows81VpnConfiguration withEnableSplitTunneling​(Boolean enableSplitTunneling)
        Returns an immutable copy of this with just the enableSplitTunneling 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 split tunneling for the VPN.”

        Parameters:
        enableSplitTunneling - new value of enableSplitTunneling field (as defined in service metadata)
        Returns:
        immutable copy of this with just the enableSplitTunneling field 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 Windows81VpnConfiguration withLoginGroupOrDomain​(String loginGroupOrDomain)
        Returns an immutable copy of this with just the loginGroupOrDomain 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.

        “Login group or domain when connection type is set to Dell SonicWALL Mobile Connection.”

        Parameters:
        loginGroupOrDomain - new value of loginGroupOrDomain field (as defined in service metadata)
        Returns:
        immutable copy of this with just the loginGroupOrDomain field changed
      • withProxyServer

        public Windows81VpnConfiguration withProxyServer​(Windows81VpnProxyServer proxyServer)
        Returns an immutable copy of this with just the proxyServer 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.

        “Proxy Server.”

        Parameters:
        proxyServer - new value of proxyServer field (as defined in service metadata)
        Returns:
        immutable copy of this with just the proxyServer field changed
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        getUnmappedFields in class WindowsVpnConfiguration
      • patch

        public Windows81VpnConfiguration patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class WindowsVpnConfiguration
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected
      • put

        public Windows81VpnConfiguration put()
        Submits all fields for update and returns an immutable copy of this with changed fields reset (they were ignored anyway).
        Overrides:
        put in class WindowsVpnConfiguration
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected