Interface SslPolicy.Builder

    • Method Detail

      • sslProtocols

        SslPolicy.Builder sslProtocols​(Collection<String> sslProtocols)

        The protocols.

        Parameters:
        sslProtocols - The protocols.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sslProtocols

        SslPolicy.Builder sslProtocols​(String... sslProtocols)

        The protocols.

        Parameters:
        sslProtocols - The protocols.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ciphers

        SslPolicy.Builder ciphers​(Collection<Cipher> ciphers)

        The ciphers.

        Parameters:
        ciphers - The ciphers.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ciphers

        SslPolicy.Builder ciphers​(Cipher... ciphers)

        The ciphers.

        Parameters:
        ciphers - The ciphers.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ciphers

        SslPolicy.Builder ciphers​(Consumer<Cipher.Builder>... ciphers)

        The ciphers.

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

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

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

        SslPolicy.Builder name​(String name)

        The name of the policy.

        Parameters:
        name - The name of the policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • supportedLoadBalancerTypes

        SslPolicy.Builder supportedLoadBalancerTypes​(Collection<String> supportedLoadBalancerTypes)

        The supported load balancers.

        Parameters:
        supportedLoadBalancerTypes - The supported load balancers.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • supportedLoadBalancerTypes

        SslPolicy.Builder supportedLoadBalancerTypes​(String... supportedLoadBalancerTypes)

        The supported load balancers.

        Parameters:
        supportedLoadBalancerTypes - The supported load balancers.
        Returns:
        Returns a reference to this object so that method calls can be chained together.