Class MicrosoftTunnelConfiguration.Builder

    • Method Detail

      • advancedSettings

        public MicrosoftTunnelConfiguration.Builder advancedSettings​(List<KeyValuePair> advancedSettings)
        “Additional settings that may be applied to the server”
        Parameters:
        advancedSettings - value of advancedSettings property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • advancedSettings

        public MicrosoftTunnelConfiguration.Builder advancedSettings​(KeyValuePair... advancedSettings)
        “Additional settings that may be applied to the server”
        Parameters:
        advancedSettings - value of advancedSettings property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • advancedSettingsNextLink

        public MicrosoftTunnelConfiguration.Builder advancedSettingsNextLink​(String advancedSettingsNextLink)
        “Additional settings that may be applied to the server”
        Parameters:
        advancedSettingsNextLink - value of advancedSettings@nextLink property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • defaultDomainSuffix

        public MicrosoftTunnelConfiguration.Builder defaultDomainSuffix​(String defaultDomainSuffix)
        “The Default Domain appendix that will be used by the clients”
        Parameters:
        defaultDomainSuffix - value of defaultDomainSuffix property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • description

        public MicrosoftTunnelConfiguration.Builder description​(String description)
        “The MicrosoftTunnelConfiguration's description”
        Parameters:
        description - value of description property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • disableUdpConnections

        public MicrosoftTunnelConfiguration.Builder disableUdpConnections​(Boolean disableUdpConnections)
        “When DisableUdpConnections is set, the clients and VPN server will not use DTLS connections to tansfer data.”
        Parameters:
        disableUdpConnections - value of disableUdpConnections property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • displayName

        public MicrosoftTunnelConfiguration.Builder displayName​(String displayName)
        “The MicrosoftTunnelConfiguration's display name”
        Parameters:
        displayName - value of displayName property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • dnsServers

        public MicrosoftTunnelConfiguration.Builder dnsServers​(List<String> dnsServers)
        “The DNS servers that will be used by the clients”
        Parameters:
        dnsServers - value of dnsServers property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • dnsServers

        public MicrosoftTunnelConfiguration.Builder dnsServers​(String... dnsServers)
        “The DNS servers that will be used by the clients”
        Parameters:
        dnsServers - value of dnsServers property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • dnsServersNextLink

        public MicrosoftTunnelConfiguration.Builder dnsServersNextLink​(String dnsServersNextLink)
        “The DNS servers that will be used by the clients”
        Parameters:
        dnsServersNextLink - value of dnsServers@nextLink property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • lastUpdateDateTime

        public MicrosoftTunnelConfiguration.Builder lastUpdateDateTime​(OffsetDateTime lastUpdateDateTime)
        “When the MicrosoftTunnelConfiguration was last updated”
        Parameters:
        lastUpdateDateTime - value of lastUpdateDateTime property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • listenPort

        public MicrosoftTunnelConfiguration.Builder listenPort​(Integer listenPort)
        “The port that both TCP and UPD will listen over on the server”
        Parameters:
        listenPort - value of listenPort property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • network

        public MicrosoftTunnelConfiguration.Builder network​(String network)
        “The subnet that will be used to allocate virtual address for the clients”
        Parameters:
        network - value of network property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • roleScopeTagIds

        public MicrosoftTunnelConfiguration.Builder roleScopeTagIds​(List<String> roleScopeTagIds)
        “List of Scope Tags for this Entity instance.”
        Parameters:
        roleScopeTagIds - value of roleScopeTagIds property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • roleScopeTagIds

        public MicrosoftTunnelConfiguration.Builder roleScopeTagIds​(String... roleScopeTagIds)
        “List of Scope Tags for this Entity instance.”
        Parameters:
        roleScopeTagIds - value of roleScopeTagIds property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • roleScopeTagIdsNextLink

        public MicrosoftTunnelConfiguration.Builder roleScopeTagIdsNextLink​(String roleScopeTagIdsNextLink)
        “List of Scope Tags for this Entity instance.”
        Parameters:
        roleScopeTagIdsNextLink - value of roleScopeTagIds@nextLink property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • routesExclude

        public MicrosoftTunnelConfiguration.Builder routesExclude​(List<String> routesExclude)
        “Subsets of the routes that will not be routed by the server”
        Parameters:
        routesExclude - value of routesExclude property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • routesExclude

        public MicrosoftTunnelConfiguration.Builder routesExclude​(String... routesExclude)
        “Subsets of the routes that will not be routed by the server”
        Parameters:
        routesExclude - value of routesExclude property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • routesExcludeNextLink

        public MicrosoftTunnelConfiguration.Builder routesExcludeNextLink​(String routesExcludeNextLink)
        “Subsets of the routes that will not be routed by the server”
        Parameters:
        routesExcludeNextLink - value of routesExclude@nextLink property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • routesInclude

        public MicrosoftTunnelConfiguration.Builder routesInclude​(List<String> routesInclude)
        “The routs that will be routed by the server”
        Parameters:
        routesInclude - value of routesInclude property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • routesInclude

        public MicrosoftTunnelConfiguration.Builder routesInclude​(String... routesInclude)
        “The routs that will be routed by the server”
        Parameters:
        routesInclude - value of routesInclude property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • routesIncludeNextLink

        public MicrosoftTunnelConfiguration.Builder routesIncludeNextLink​(String routesIncludeNextLink)
        “The routs that will be routed by the server”
        Parameters:
        routesIncludeNextLink - value of routesInclude@nextLink property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • splitDNS

        public MicrosoftTunnelConfiguration.Builder splitDNS​(List<String> splitDNS)
        “The domains that will be resolved using the provided dns servers”
        Parameters:
        splitDNS - value of splitDNS property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • splitDNS

        public MicrosoftTunnelConfiguration.Builder splitDNS​(String... splitDNS)
        “The domains that will be resolved using the provided dns servers”
        Parameters:
        splitDNS - value of splitDNS property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • splitDNSNextLink

        public MicrosoftTunnelConfiguration.Builder splitDNSNextLink​(String splitDNSNextLink)
        “The domains that will be resolved using the provided dns servers”
        Parameters:
        splitDNSNextLink - value of splitDNS@nextLink property (as defined in service metadata)
        Returns:
        this (for method chaining)