Interface VirtualGatewayListenerTls.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VirtualGatewayListenerTls.Builder,
,VirtualGatewayListenerTls> SdkBuilder<VirtualGatewayListenerTls.Builder,
,VirtualGatewayListenerTls> SdkPojo
- Enclosing class:
VirtualGatewayListenerTls
-
Method Summary
Modifier and TypeMethodDescriptioncertificate
(Consumer<VirtualGatewayListenerTlsCertificate.Builder> certificate) An object that represents a Transport Layer Security (TLS) certificate.certificate
(VirtualGatewayListenerTlsCertificate certificate) An object that represents a Transport Layer Security (TLS) certificate.Specify one of the following modes.Specify one of the following modes.A reference to an object that represents a virtual gateway's listener's Transport Layer Security (TLS) validation context.validation
(VirtualGatewayListenerTlsValidationContext validation) A reference to an object that represents a virtual gateway's 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
An object that represents a Transport Layer Security (TLS) certificate.
- Parameters:
certificate
- An object that represents a Transport Layer Security (TLS) certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificate
default VirtualGatewayListenerTls.Builder certificate(Consumer<VirtualGatewayListenerTlsCertificate.Builder> certificate) An object that represents a Transport Layer Security (TLS) certificate.
This is a convenience method that creates an instance of theVirtualGatewayListenerTlsCertificate.Builder
avoiding the need to create one manually viaVirtualGatewayListenerTlsCertificate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocertificate(VirtualGatewayListenerTlsCertificate)
.- Parameters:
certificate
- a consumer that will call methods onVirtualGatewayListenerTlsCertificate.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 virtual gateway's listener's Transport Layer Security (TLS) validation context.
- Parameters:
validation
- A reference to an object that represents a virtual gateway's 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 VirtualGatewayListenerTls.Builder validation(Consumer<VirtualGatewayListenerTlsValidationContext.Builder> validation) A reference to an object that represents a virtual gateway's listener's Transport Layer Security (TLS) validation context.
This is a convenience method that creates an instance of theVirtualGatewayListenerTlsValidationContext.Builder
avoiding the need to create one manually viaVirtualGatewayListenerTlsValidationContext.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalidation(VirtualGatewayListenerTlsValidationContext)
.- Parameters:
validation
- a consumer that will call methods onVirtualGatewayListenerTlsValidationContext.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-