Interface ProxyConfiguration.Builder

    • Method Detail

      • orderedProxyRules

        ProxyConfiguration.Builder orderedProxyRules​(Collection<FleetProxyRule> orderedProxyRules)

        An array of FleetProxyRule objects that represent the specified destination domains or IPs to allow or deny network access control to.

        Parameters:
        orderedProxyRules - An array of FleetProxyRule objects that represent the specified destination domains or IPs to allow or deny network access control to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • orderedProxyRules

        ProxyConfiguration.Builder orderedProxyRules​(FleetProxyRule... orderedProxyRules)

        An array of FleetProxyRule objects that represent the specified destination domains or IPs to allow or deny network access control to.

        Parameters:
        orderedProxyRules - An array of FleetProxyRule objects that represent the specified destination domains or IPs to allow or deny network access control to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • orderedProxyRules

        ProxyConfiguration.Builder orderedProxyRules​(Consumer<FleetProxyRule.Builder>... orderedProxyRules)

        An array of FleetProxyRule objects that represent the specified destination domains or IPs to allow or deny network access control to.

        This is a convenience method that creates an instance of the FleetProxyRule.Builder avoiding the need to create one manually via FleetProxyRule.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #orderedProxyRules(List).

        Parameters:
        orderedProxyRules - a consumer that will call methods on FleetProxyRule.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #orderedProxyRules(java.util.Collection)