public static class IngressListenerTlsConfig.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
IngressListenerTlsConfig |
build() |
IngressListenerTlsConfig.Builder |
clientValidation(IngressListenerClientValidationConfig clientValidation) |
IngressListenerTlsConfig.Builder |
copy(IngressListenerTlsConfig model) |
IngressListenerTlsConfig.Builder |
mode(IngressListenerTlsConfig.Mode mode)
DISABLED: Connection can only be plaintext.
|
IngressListenerTlsConfig.Builder |
serverCertificate(TlsCertificate serverCertificate) |
public IngressListenerTlsConfig.Builder mode(IngressListenerTlsConfig.Mode mode)
DISABLED: Connection can only be plaintext. PERMISSIVE: Connection can be either plaintext or TLS/mTLS. If the clientValidation.trustedCaBundle property is configured for the listener, mTLS is performed and the client’s certificates are validated by the gateway. TLS: Connection can only be TLS. MUTUAL_TLS: Connection can only be MTLS.
mode
- the value to setpublic IngressListenerTlsConfig.Builder serverCertificate(TlsCertificate serverCertificate)
public IngressListenerTlsConfig.Builder clientValidation(IngressListenerClientValidationConfig clientValidation)
public IngressListenerTlsConfig build()
public IngressListenerTlsConfig.Builder copy(IngressListenerTlsConfig model)
Copyright © 2016–2023. All rights reserved.