Class TlsValidation.Builder
java.lang.Object
software.amazon.awscdk.services.appmesh.TlsValidation.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<TlsValidation>
- Enclosing interface:
TlsValidation
@Stability(Stable)
public static final class TlsValidation.Builder
extends Object
implements software.amazon.jsii.Builder<TlsValidation>
A builder for
TlsValidation-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.subjectAlternativeNames(SubjectAlternativeNames subjectAlternativeNames) Sets the value ofTlsValidation.getSubjectAlternativeNames()trust(TlsValidationTrust trust) Sets the value ofTlsValidation.getTrust()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
trust
Sets the value ofTlsValidation.getTrust()- Parameters:
trust- Reference to where to retrieve the trust chain. This parameter is required.- Returns:
this
-
subjectAlternativeNames
@Stability(Stable) public TlsValidation.Builder subjectAlternativeNames(SubjectAlternativeNames subjectAlternativeNames) Sets the value ofTlsValidation.getSubjectAlternativeNames()- Parameters:
subjectAlternativeNames- Represents the subject alternative names (SANs) secured by the certificate. SANs must be in the FQDN or URI format.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<TlsValidation>- Returns:
- a new instance of
TlsValidation - Throws:
NullPointerException- if any required attribute was not provided
-