Class MicrosoftTunnelConfiguration

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

    public class MicrosoftTunnelConfiguration
    extends Entity
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Entity that represents a collection of Microsoft Tunnel settings”
    • Field Detail

      • advancedSettingsNextLink

        protected String advancedSettingsNextLink
      • defaultDomainSuffix

        protected String defaultDomainSuffix
      • description

        protected String description
      • disableUdpConnections

        protected Boolean disableUdpConnections
      • displayName

        protected String displayName
      • dnsServersNextLink

        protected String dnsServersNextLink
      • listenPort

        protected Integer listenPort
      • network

        protected String network
      • roleScopeTagIds

        protected List<String> roleScopeTagIds
      • roleScopeTagIdsNextLink

        protected String roleScopeTagIdsNextLink
      • routesExclude

        protected List<String> routesExclude
      • routesExcludeNextLink

        protected String routesExcludeNextLink
      • routesInclude

        protected List<String> routesInclude
      • routesIncludeNextLink

        protected String routesIncludeNextLink
      • splitDNSNextLink

        protected String splitDNSNextLink
    • Constructor Detail

      • MicrosoftTunnelConfiguration

        protected MicrosoftTunnelConfiguration()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class Entity
      • builderMicrosoftTunnelConfiguration

        public static MicrosoftTunnelConfiguration.Builder builderMicrosoftTunnelConfiguration()
        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 Entity
      • postInject

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

        public com.github.davidmoten.odata.client.CollectionPage<KeyValuePair> getAdvancedSettings()
        “Additional settings that may be applied to the server”
        Returns:
        property advancedSettings
      • withAdvancedSettings

        public MicrosoftTunnelConfiguration withAdvancedSettings​(List<KeyValuePair> advancedSettings)
        Returns an immutable copy of this with just the advancedSettings 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.

        “Additional settings that may be applied to the server”

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

        public com.github.davidmoten.odata.client.CollectionPage<KeyValuePair> getAdvancedSettings​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “Additional settings that may be applied to the server”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property advancedSettings
      • getDefaultDomainSuffix

        public Optional<String> getDefaultDomainSuffix()
        “The Default Domain appendix that will be used by the clients”
        Returns:
        property defaultDomainSuffix
      • withDefaultDomainSuffix

        public MicrosoftTunnelConfiguration withDefaultDomainSuffix​(String defaultDomainSuffix)
        Returns an immutable copy of this with just the defaultDomainSuffix 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.

        “The Default Domain appendix that will be used by the clients”

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

        public Optional<String> getDescription()
        “The MicrosoftTunnelConfiguration's description”
        Returns:
        property description
      • withDescription

        public MicrosoftTunnelConfiguration withDescription​(String description)
        Returns an immutable copy of this with just the description 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.

        “The MicrosoftTunnelConfiguration's description”

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

        public Optional<Boolean> getDisableUdpConnections()
        “When DisableUdpConnections is set, the clients and VPN server will not use DTLS connections to tansfer data.”
        Returns:
        property disableUdpConnections
      • withDisableUdpConnections

        public MicrosoftTunnelConfiguration withDisableUdpConnections​(Boolean disableUdpConnections)
        Returns an immutable copy of this with just the disableUdpConnections 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.

        “When DisableUdpConnections is set, the clients and VPN server will not use DTLS connections to tansfer data.”

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

        public Optional<String> getDisplayName()
        “The MicrosoftTunnelConfiguration's display name”
        Returns:
        property displayName
      • withDisplayName

        public MicrosoftTunnelConfiguration withDisplayName​(String displayName)
        Returns an immutable copy of this with just the displayName 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.

        “The MicrosoftTunnelConfiguration's display name”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getDnsServers()
        “The DNS servers that will be used by the clients”
        Returns:
        property dnsServers
      • withDnsServers

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

        “The DNS servers that will be used by the clients”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getDnsServers​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “The DNS servers that will be used by the clients”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property dnsServers
      • getLastUpdateDateTime

        public Optional<OffsetDateTime> getLastUpdateDateTime()
        “When the MicrosoftTunnelConfiguration was last updated”
        Returns:
        property lastUpdateDateTime
      • withLastUpdateDateTime

        public MicrosoftTunnelConfiguration withLastUpdateDateTime​(OffsetDateTime lastUpdateDateTime)
        Returns an immutable copy of this with just the lastUpdateDateTime 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.

        “When the MicrosoftTunnelConfiguration was last updated”

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

        public Optional<Integer> getListenPort()
        “The port that both TCP and UPD will listen over on the server”
        Returns:
        property listenPort
      • withListenPort

        public MicrosoftTunnelConfiguration withListenPort​(Integer listenPort)
        Returns an immutable copy of this with just the listenPort 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.

        “The port that both TCP and UPD will listen over on the server”

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

        public Optional<String> getNetwork()
        “The subnet that will be used to allocate virtual address for the clients”
        Returns:
        property network
      • withNetwork

        public MicrosoftTunnelConfiguration withNetwork​(String network)
        Returns an immutable copy of this with just the network 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.

        “The subnet that will be used to allocate virtual address for the clients”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds()
        “List of Scope Tags for this Entity instance.”
        Returns:
        property roleScopeTagIds
      • withRoleScopeTagIds

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

        “List of Scope Tags for this Entity instance.”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “List of Scope Tags for this Entity instance.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property roleScopeTagIds
      • getRoutesExclude

        public com.github.davidmoten.odata.client.CollectionPage<String> getRoutesExclude()
        “Subsets of the routes that will not be routed by the server”
        Returns:
        property routesExclude
      • withRoutesExclude

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

        “Subsets of the routes that will not be routed by the server”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getRoutesExclude​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “Subsets of the routes that will not be routed by the server”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property routesExclude
      • getRoutesInclude

        public com.github.davidmoten.odata.client.CollectionPage<String> getRoutesInclude()
        “The routs that will be routed by the server”
        Returns:
        property routesInclude
      • withRoutesInclude

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

        “The routs that will be routed by the server”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getRoutesInclude​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “The routs that will be routed by the server”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property routesInclude
      • getSplitDNS

        public com.github.davidmoten.odata.client.CollectionPage<String> getSplitDNS()
        “The domains that will be resolved using the provided dns servers”
        Returns:
        property splitDNS
      • withSplitDNS

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

        “The domains that will be resolved using the provided dns servers”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getSplitDNS​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “The domains that will be resolved using the provided dns servers”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property splitDNS
      • getUnmappedFields

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

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