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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ListenerTls.Buildercertificate(Consumer<ListenerTlsCertificate.Builder> certificate)A reference to an object that represents a listener's Transport Layer Security (TLS) certificate.ListenerTls.Buildercertificate(ListenerTlsCertificate certificate)A reference to an object that represents a listener's Transport Layer Security (TLS) certificate.ListenerTls.Buildermode(String mode)Specify one of the following modes.ListenerTls.Buildermode(ListenerTlsMode mode)Specify one of the following modes.default ListenerTls.Buildervalidation(Consumer<ListenerTlsValidationContext.Builder> validation)A reference to an object that represents a listener's Transport Layer Security (TLS) validation context.ListenerTls.Buildervalidation(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 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.
-
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 theListenerTlsCertificate.Builderavoiding the need to create one manually viaListenerTlsCertificate.builder().When the
Consumercompletes,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:
certificate(ListenerTlsCertificate)
-
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.
-
validation
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 method that creates an instance of theListenerTlsValidationContext.Builderavoiding the need to create one manually viaListenerTlsValidationContext.builder().When the
Consumercompletes,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:
validation(ListenerTlsValidationContext)
-
-