Interface ListenerTls.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ListenerTls.Builder,ListenerTls>, SdkBuilder<ListenerTls.Builder,ListenerTls>, SdkPojo
Enclosing class:
ListenerTls

public static interface ListenerTls.Builder extends SdkPojo, CopyableBuilder<ListenerTls.Builder,ListenerTls>
  • Method Details

    • 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.
    • certificate

      default ListenerTls.Builder certificate(Consumer<ListenerTlsCertificate.Builder> certificate)

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

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to certificate(ListenerTlsCertificate).

      Parameters:
      certificate - a consumer that will call methods on ListenerTlsCertificate.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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:
    • 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:
    • 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.
    • validation

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

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to validation(ListenerTlsValidationContext).

      Parameters:
      validation - a consumer that will call methods on ListenerTlsValidationContext.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: