Class MutualTlsValidation.Builder
java.lang.Object
software.amazon.awscdk.services.appmesh.MutualTlsValidation.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<MutualTlsValidation>
- Enclosing interface:
MutualTlsValidation
@Stability(Stable)
public static final class MutualTlsValidation.Builder
extends Object
implements software.amazon.jsii.Builder<MutualTlsValidation>
A builder for
MutualTlsValidation
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.subjectAlternativeNames
(SubjectAlternativeNames subjectAlternativeNames) Sets the value ofMutualTlsValidation.getSubjectAlternativeNames()
trust
(MutualTlsValidationTrust trust) Sets the value ofMutualTlsValidation.getTrust()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
trust
Sets the value ofMutualTlsValidation.getTrust()
- Parameters:
trust
- Reference to where to retrieve the trust chain. This parameter is required.- Returns:
this
-
subjectAlternativeNames
@Stability(Stable) public MutualTlsValidation.Builder subjectAlternativeNames(SubjectAlternativeNames subjectAlternativeNames) Sets the value ofMutualTlsValidation.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:
build
in interfacesoftware.amazon.jsii.Builder<MutualTlsValidation>
- Returns:
- a new instance of
MutualTlsValidation
- Throws:
NullPointerException
- if any required attribute was not provided
-