Class WindowsPhone81VpnConfiguration

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataEntityType, com.github.davidmoten.odata.client.ODataType

    public class WindowsPhone81VpnConfiguration
    extends Windows81VpnConfiguration
    implements com.github.davidmoten.odata.client.ODataEntityType
    “By providing the configurations in this profile you can instruct the Windows Phone 8.1 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.”
    • Field Detail

      • bypassVpnOnCompanyWifi

        protected Boolean bypassVpnOnCompanyWifi
      • bypassVpnOnHomeWifi

        protected Boolean bypassVpnOnHomeWifi
      • dnsSuffixSearchList

        protected List<String> dnsSuffixSearchList
      • dnsSuffixSearchListNextLink

        protected String dnsSuffixSearchListNextLink
      • rememberUserCredentials

        protected Boolean rememberUserCredentials
    • Constructor Detail

      • WindowsPhone81VpnConfiguration

        protected WindowsPhone81VpnConfiguration()
    • Method Detail

      • builderWindowsPhone81VpnConfiguration

        public static WindowsPhone81VpnConfiguration.Builder builderWindowsPhone81VpnConfiguration()
        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 Windows81VpnConfiguration
      • postInject

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

        public Optional<VpnAuthenticationMethod> getAuthenticationMethod()
        “Authentication method.”
        Returns:
        property authenticationMethod
      • withAuthenticationMethod

        public WindowsPhone81VpnConfiguration withAuthenticationMethod​(VpnAuthenticationMethod authenticationMethod)
        Returns an immutable copy of this with just the authenticationMethod 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.

        “Authentication method.”

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

        public Optional<Boolean> getBypassVpnOnCompanyWifi()
        “Bypass VPN on company Wi-Fi.”
        Returns:
        property bypassVpnOnCompanyWifi
      • withBypassVpnOnCompanyWifi

        public WindowsPhone81VpnConfiguration withBypassVpnOnCompanyWifi​(Boolean bypassVpnOnCompanyWifi)
        Returns an immutable copy of this with just the bypassVpnOnCompanyWifi 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.

        “Bypass VPN on company Wi-Fi.”

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

        public Optional<Boolean> getBypassVpnOnHomeWifi()
        “Bypass VPN on home Wi-Fi.”
        Returns:
        property bypassVpnOnHomeWifi
      • withBypassVpnOnHomeWifi

        public WindowsPhone81VpnConfiguration withBypassVpnOnHomeWifi​(Boolean bypassVpnOnHomeWifi)
        Returns an immutable copy of this with just the bypassVpnOnHomeWifi 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.

        “Bypass VPN on home Wi-Fi.”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getDnsSuffixSearchList()
        “DNS suffix search list.”
        Returns:
        property dnsSuffixSearchList
      • withDnsSuffixSearchList

        public WindowsPhone81VpnConfiguration withDnsSuffixSearchList​(List<String> dnsSuffixSearchList)
        Returns an immutable copy of this with just the dnsSuffixSearchList 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.

        “DNS suffix search list.”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getDnsSuffixSearchList​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “DNS suffix search list.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property dnsSuffixSearchList
      • getRememberUserCredentials

        public Optional<Boolean> getRememberUserCredentials()
        “Remember user credentials.”
        Returns:
        property rememberUserCredentials
      • withRememberUserCredentials

        public WindowsPhone81VpnConfiguration withRememberUserCredentials​(Boolean rememberUserCredentials)
        Returns an immutable copy of this with just the rememberUserCredentials 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.

        “Remember user credentials.”

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

        public WindowsPhone81CertificateProfileBaseRequest getIdentityCertificate()
        “Identity certificate for client authentication when authentication method is certificate.”
        Returns:
        navigational property identityCertificate
      • getUnmappedFields

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

        public WindowsPhone81VpnConfiguration patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class Windows81VpnConfiguration
        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 WindowsPhone81VpnConfiguration 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 Windows81VpnConfiguration
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected