Interface VirtualGatewayTlsValidationContext.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VirtualGatewayTlsValidationContext.Builder,
,VirtualGatewayTlsValidationContext> SdkBuilder<VirtualGatewayTlsValidationContext.Builder,
,VirtualGatewayTlsValidationContext> SdkPojo
- Enclosing class:
VirtualGatewayTlsValidationContext
-
Method Summary
Modifier and TypeMethodDescriptionsubjectAlternativeNames
(Consumer<SubjectAlternativeNames.Builder> subjectAlternativeNames) A reference to an object that represents the SANs for a virtual gateway's listener's Transport Layer Security (TLS) validation context.subjectAlternativeNames
(SubjectAlternativeNames subjectAlternativeNames) A reference to an object that represents the SANs for a virtual gateway's listener's Transport Layer Security (TLS) validation context.A reference to where to retrieve the trust chain when validating a peer’s Transport Layer Security (TLS) certificate.A reference to where to retrieve the trust chain when validating a peer’s Transport Layer Security (TLS) certificate.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
-
subjectAlternativeNames
VirtualGatewayTlsValidationContext.Builder subjectAlternativeNames(SubjectAlternativeNames subjectAlternativeNames) A reference to an object that represents the SANs for a virtual gateway's listener's Transport Layer Security (TLS) validation context.
- Parameters:
subjectAlternativeNames
- A reference to an object that represents the SANs for 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.
-
subjectAlternativeNames
default VirtualGatewayTlsValidationContext.Builder subjectAlternativeNames(Consumer<SubjectAlternativeNames.Builder> subjectAlternativeNames) A reference to an object that represents the SANs for a virtual gateway's listener's Transport Layer Security (TLS) validation context.
This is a convenience method that creates an instance of theSubjectAlternativeNames.Builder
avoiding the need to create one manually viaSubjectAlternativeNames.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosubjectAlternativeNames(SubjectAlternativeNames)
.- Parameters:
subjectAlternativeNames
- a consumer that will call methods onSubjectAlternativeNames.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
trust
A reference to where to retrieve the trust chain when validating a peer’s Transport Layer Security (TLS) certificate.
- Parameters:
trust
- A reference to where to retrieve the trust chain when validating a peer’s Transport Layer Security (TLS) certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trust
default VirtualGatewayTlsValidationContext.Builder trust(Consumer<VirtualGatewayTlsValidationContextTrust.Builder> trust) A reference to where to retrieve the trust chain when validating a peer’s Transport Layer Security (TLS) certificate.
This is a convenience method that creates an instance of theVirtualGatewayTlsValidationContextTrust.Builder
avoiding the need to create one manually viaVirtualGatewayTlsValidationContextTrust.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totrust(VirtualGatewayTlsValidationContextTrust)
.- Parameters:
trust
- a consumer that will call methods onVirtualGatewayTlsValidationContextTrust.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-