Interface ListenerTls.Builder

    • Method Detail

      • certificate

        ListenerTls.Builder certificate​(ListenerTlsCertificate certificate)

        A reference to an object that represents a listener's Transport Layer Security (TLS) certificate.

        Parameters:
        certificate - A reference to an object that represents a listener's Transport Layer Security (TLS) certificate.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • mode

        ListenerTls.Builder mode​(String mode)

        Specify one of the following modes.

        • STRICT – Listener only accepts connections with TLS enabled.

        • PERMISSIVE – Listener accepts connections with or without TLS enabled.

        • DISABLED – Listener only accepts connections without TLS.

        Parameters:
        mode - Specify one of the following modes.

        • STRICT – Listener only accepts connections with TLS enabled.

        • PERMISSIVE – Listener accepts connections with or without TLS enabled.

        • DISABLED – Listener only accepts connections without TLS.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ListenerTlsMode, ListenerTlsMode
      • mode

        ListenerTls.Builder mode​(ListenerTlsMode mode)

        Specify one of the following modes.

        • STRICT – Listener only accepts connections with TLS enabled.

        • PERMISSIVE – Listener accepts connections with or without TLS enabled.

        • DISABLED – Listener only accepts connections without TLS.

        Parameters:
        mode - Specify one of the following modes.

        • STRICT – Listener only accepts connections with TLS enabled.

        • PERMISSIVE – Listener accepts connections with or without TLS enabled.

        • DISABLED – Listener only accepts connections without TLS.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ListenerTlsMode, ListenerTlsMode
      • validation

        ListenerTls.Builder validation​(ListenerTlsValidationContext validation)

        A reference to an object that represents a listener's Transport Layer Security (TLS) validation context.

        Parameters:
        validation - A reference to an object that represents a listener's Transport Layer Security (TLS) validation context.
        Returns:
        Returns a reference to this object so that method calls can be chained together.