Class Windows10XVpnConfiguration

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

    public class Windows10XVpnConfiguration
    extends DeviceManagementResourceAccessProfileBase
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Windows X VPN configuration profile”
    • Field Detail

      • authenticationCertificateId

        protected String authenticationCertificateId
      • customXml

        protected byte[] customXml
      • customXmlFileName

        protected String customXmlFileName
    • Constructor Detail

      • Windows10XVpnConfiguration

        protected Windows10XVpnConfiguration()
    • Method Detail

      • builderWindows10XVpnConfiguration

        public static Windows10XVpnConfiguration.Builder builderWindows10XVpnConfiguration()
        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
      • getAuthenticationCertificateId

        public Optional<String> getAuthenticationCertificateId()
        “ID to the Authentication Certificate”
        Returns:
        property authenticationCertificateId
      • withAuthenticationCertificateId

        public Windows10XVpnConfiguration withAuthenticationCertificateId​(String authenticationCertificateId)
        Returns an immutable copy of this with just the authenticationCertificateId 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.

        “ID to the Authentication Certificate”

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

        public Optional<byte[]> getCustomXml()
        “Custom XML commands that configures the VPN connection. (UTF8 byte encoding)”
        Returns:
        property customXml
      • withCustomXml

        public Windows10XVpnConfiguration withCustomXml​(byte[] customXml)
        Returns an immutable copy of this with just the customXml 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.

        “Custom XML commands that configures the VPN connection. (UTF8 byte encoding)”

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

        public Optional<String> getCustomXmlFileName()
        “Custom Xml file name.”
        Returns:
        property customXmlFileName
      • withCustomXmlFileName

        public Windows10XVpnConfiguration withCustomXmlFileName​(String customXmlFileName)
        Returns an immutable copy of this with just the customXmlFileName 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.

        “Custom Xml file name.”

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

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