Interface ListenerTls.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ListenerTls.Builder,
,ListenerTls> SdkBuilder<ListenerTls.Builder,
,ListenerTls> SdkPojo
- Enclosing class:
ListenerTls
-
Method Summary
Modifier and TypeMethodDescriptiondefault ListenerTls.Builder
certificate
(Consumer<ListenerTlsCertificate.Builder> certificate) A reference to an object that represents a listener's Transport Layer Security (TLS) certificate.certificate
(ListenerTlsCertificate certificate) A reference to an object that represents a listener's Transport Layer Security (TLS) certificate.Specify one of the following modes.mode
(ListenerTlsMode 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.validation
(ListenerTlsValidationContext validation) A reference to an object that represents a listener's Transport Layer Security (TLS) validation context.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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 theListenerTlsCertificate.Builder
avoiding the need to create one manually viaListenerTlsCertificate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocertificate(ListenerTlsCertificate)
.- Parameters:
certificate
- a consumer that will call methods onListenerTlsCertificate.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 theListenerTlsValidationContext.Builder
avoiding the need to create one manually viaListenerTlsValidationContext.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalidation(ListenerTlsValidationContext)
.- Parameters:
validation
- a consumer that will call methods onListenerTlsValidationContext.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-