Interface ListenerTlsValidationContext.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ListenerTlsValidationContext.Builder,ListenerTlsValidationContext>,SdkBuilder<ListenerTlsValidationContext.Builder,ListenerTlsValidationContext>,SdkPojo
- Enclosing class:
- ListenerTlsValidationContext
public static interface ListenerTlsValidationContext.Builder extends SdkPojo, CopyableBuilder<ListenerTlsValidationContext.Builder,ListenerTlsValidationContext>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ListenerTlsValidationContext.BuildersubjectAlternativeNames(Consumer<SubjectAlternativeNames.Builder> subjectAlternativeNames)A reference to an object that represents the SANs for a listener's Transport Layer Security (TLS) validation context.ListenerTlsValidationContext.BuildersubjectAlternativeNames(SubjectAlternativeNames subjectAlternativeNames)A reference to an object that represents the SANs for a listener's Transport Layer Security (TLS) validation context.default ListenerTlsValidationContext.Buildertrust(Consumer<ListenerTlsValidationContextTrust.Builder> trust)A reference to where to retrieve the trust chain when validating a peer’s Transport Layer Security (TLS) certificate.ListenerTlsValidationContext.Buildertrust(ListenerTlsValidationContextTrust trust)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 Detail
-
subjectAlternativeNames
ListenerTlsValidationContext.Builder subjectAlternativeNames(SubjectAlternativeNames subjectAlternativeNames)
A reference to an object that represents the SANs for a listener's Transport Layer Security (TLS) validation context.
- Parameters:
subjectAlternativeNames- A reference to an object that represents the SANs for a 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 ListenerTlsValidationContext.Builder subjectAlternativeNames(Consumer<SubjectAlternativeNames.Builder> subjectAlternativeNames)
A reference to an object that represents the SANs for a listener's Transport Layer Security (TLS) validation context.
This is a convenience method that creates an instance of theSubjectAlternativeNames.Builderavoiding the need to create one manually viaSubjectAlternativeNames.builder().When the
Consumercompletes,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:
subjectAlternativeNames(SubjectAlternativeNames)
-
trust
ListenerTlsValidationContext.Builder trust(ListenerTlsValidationContextTrust 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 ListenerTlsValidationContext.Builder trust(Consumer<ListenerTlsValidationContextTrust.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 theListenerTlsValidationContextTrust.Builderavoiding the need to create one manually viaListenerTlsValidationContextTrust.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totrust(ListenerTlsValidationContextTrust).- Parameters:
trust- a consumer that will call methods onListenerTlsValidationContextTrust.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
trust(ListenerTlsValidationContextTrust)
-
-