Class VpnProxyServer

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

    public class VpnProxyServer
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “VPN Proxy Server.”
    • 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
      • address

        protected String address
      • automaticConfigurationScriptUrl

        protected String automaticConfigurationScriptUrl
    • Constructor Detail

      • VpnProxyServer

        protected VpnProxyServer()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
      • getAddress

        public Optional<String> getAddress()
        “Address.”
        Returns:
        property address
      • withAddress

        public VpnProxyServer withAddress​(String address)
        Returns an immutable copy of this with just the address 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.

        “Address.”

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

        public Optional<String> getAutomaticConfigurationScriptUrl()
        “Proxy's automatic configuration script url.”
        Returns:
        property automaticConfigurationScriptUrl
      • withAutomaticConfigurationScriptUrl

        public VpnProxyServer withAutomaticConfigurationScriptUrl​(String automaticConfigurationScriptUrl)
        Returns an immutable copy of this with just the automaticConfigurationScriptUrl 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's automatic configuration script url.”

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

        public Optional<Integer> getPort()
        “Port. Valid values 0 to 65535”
        Returns:
        property port
      • withPort

        public VpnProxyServer withPort​(Integer port)
        Returns an immutable copy of this with just the port 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.

        “Port. Valid values 0 to 65535”

        Parameters:
        port - new value of port field (as defined in service metadata)
        Returns:
        immutable copy of this with just the port 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 VpnProxyServer.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