Class AndroidVpnConfiguration.Builder

    • Method Detail

      • authenticationMethod

        public AndroidVpnConfiguration.Builder authenticationMethod​(VpnAuthenticationMethod authenticationMethod)
        “Authentication method.”
        Parameters:
        authenticationMethod - value of authenticationMethod property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • connectionName

        public AndroidVpnConfiguration.Builder connectionName​(String connectionName)
        “Connection name displayed to the user.”
        Parameters:
        connectionName - value of connectionName property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • customData

        public AndroidVpnConfiguration.Builder customData​(List<KeyValue> customData)
        “Custom data when connection type is set to Citrix. This collection can contain a maximum of 25 elements.”
        Parameters:
        customData - value of customData property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • customData

        public AndroidVpnConfiguration.Builder customData​(KeyValue... customData)
        “Custom data when connection type is set to Citrix. This collection can contain a maximum of 25 elements.”
        Parameters:
        customData - value of customData property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • customDataNextLink

        public AndroidVpnConfiguration.Builder customDataNextLink​(String customDataNextLink)
        “Custom data when connection type is set to Citrix. This collection can contain a maximum of 25 elements.”
        Parameters:
        customDataNextLink - value of customData@nextLink property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • customKeyValueData

        public AndroidVpnConfiguration.Builder customKeyValueData​(List<KeyValuePair> customKeyValueData)
        “Custom data when connection type is set to Citrix. This collection can contain a maximum of 25 elements.”
        Parameters:
        customKeyValueData - value of customKeyValueData property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • customKeyValueData

        public AndroidVpnConfiguration.Builder customKeyValueData​(KeyValuePair... customKeyValueData)
        “Custom data when connection type is set to Citrix. This collection can contain a maximum of 25 elements.”
        Parameters:
        customKeyValueData - value of customKeyValueData property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • customKeyValueDataNextLink

        public AndroidVpnConfiguration.Builder customKeyValueDataNextLink​(String customKeyValueDataNextLink)
        “Custom data when connection type is set to Citrix. This collection can contain a maximum of 25 elements.”
        Parameters:
        customKeyValueDataNextLink - value of customKeyValueData@nextLink property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • fingerprint

        public AndroidVpnConfiguration.Builder fingerprint​(String fingerprint)
        “Fingerprint is a string that will be used to verify the VPN server can be trusted, which is only applicable when connection type is Check Point Capsule VPN.”
        Parameters:
        fingerprint - value of fingerprint property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • realm

        public AndroidVpnConfiguration.Builder realm​(String realm)
        “Realm when connection type is set to Pulse Secure.”
        Parameters:
        realm - value of realm property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • role

        public AndroidVpnConfiguration.Builder role​(String role)
        “Role when connection type is set to Pulse Secure.”
        Parameters:
        role - value of role property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • servers

        public AndroidVpnConfiguration.Builder servers​(List<VpnServer> servers)
        “List of VPN Servers on the network. Make sure end users can access these network locations. This collection can contain a maximum of 500 elements.”
        Parameters:
        servers - value of servers property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • servers

        public AndroidVpnConfiguration.Builder servers​(VpnServer... servers)
        “List of VPN Servers on the network. Make sure end users can access these network locations. This collection can contain a maximum of 500 elements.”
        Parameters:
        servers - value of servers property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • serversNextLink

        public AndroidVpnConfiguration.Builder serversNextLink​(String serversNextLink)
        “List of VPN Servers on the network. Make sure end users can access these network locations. This collection can contain a maximum of 500 elements.”
        Parameters:
        serversNextLink - value of servers@nextLink property (as defined in service metadata)
        Returns:
        this (for method chaining)