public static interface ListenerTls.Builder extends SdkPojo, CopyableBuilder<ListenerTls.Builder,ListenerTls>
| Modifier and Type | Method and Description |
|---|---|
default ListenerTls.Builder |
certificate(Consumer<ListenerTlsCertificate.Builder> certificate)
A reference to an object that represents a listener's Transport Layer Security (TLS) certificate.
|
ListenerTls.Builder |
certificate(ListenerTlsCertificate certificate)
A reference to an object that represents a listener's Transport Layer Security (TLS) certificate.
|
ListenerTls.Builder |
mode(ListenerTlsMode mode)
Specify one of the following modes.
|
ListenerTls.Builder |
mode(String mode)
Specify one of the following modes.
|
default ListenerTls.Builder |
validation(Consumer<ListenerTlsValidationContext.Builder> validation)
A reference to an object that represents a listener's Transport Layer Security (TLS) validation context.
|
ListenerTls.Builder |
validation(ListenerTlsValidationContext validation)
A reference to an object that represents a listener's Transport Layer Security (TLS) validation context.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildListenerTls.Builder certificate(ListenerTlsCertificate certificate)
A reference to an object that represents a listener's Transport Layer Security (TLS) certificate.
certificate - A reference to an object that represents a listener's Transport Layer Security (TLS) 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 that creates an instance of theListenerTlsCertificate.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).certificate - a consumer that will call methods on ListenerTlsCertificate.Buildercertificate(ListenerTlsCertificate)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.
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.
ListenerTlsMode,
ListenerTlsModeListenerTls.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.
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.
ListenerTlsMode,
ListenerTlsModeListenerTls.Builder validation(ListenerTlsValidationContext validation)
A reference to an object that represents a listener's Transport Layer Security (TLS) validation context.
validation - A reference to an object that represents a listener's Transport Layer Security (TLS) validation
context.default ListenerTls.Builder validation(Consumer<ListenerTlsValidationContext.Builder> validation)
A reference to an object that represents a listener's Transport Layer Security (TLS) validation context.
This is a convenience that creates an instance of theListenerTlsValidationContext.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).validation - a consumer that will call methods on ListenerTlsValidationContext.Buildervalidation(ListenerTlsValidationContext)Copyright © 2021. All rights reserved.