Class CfnVirtualGateway.VirtualGatewayTlsValidationContextProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appmesh.CfnVirtualGateway.VirtualGatewayTlsValidationContextProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVirtualGateway.VirtualGatewayTlsValidationContextProperty>
- Enclosing interface:
- CfnVirtualGateway.VirtualGatewayTlsValidationContextProperty
@Stability(Stable)
public static final class CfnVirtualGateway.VirtualGatewayTlsValidationContextProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVirtualGateway.VirtualGatewayTlsValidationContextProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.subjectAlternativeNames(IResolvable subjectAlternativeNames) subjectAlternativeNames(CfnVirtualGateway.SubjectAlternativeNamesProperty subjectAlternativeNames) trust(IResolvable trust) Sets the value ofCfnVirtualGateway.VirtualGatewayTlsValidationContextProperty.getTrust()Sets the value ofCfnVirtualGateway.VirtualGatewayTlsValidationContextProperty.getTrust()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
trust
@Stability(Stable) public CfnVirtualGateway.VirtualGatewayTlsValidationContextProperty.Builder trust(IResolvable trust) Sets the value ofCfnVirtualGateway.VirtualGatewayTlsValidationContextProperty.getTrust()- Parameters:
trust- A reference to where to retrieve the trust chain when validating a peer’s Transport Layer Security (TLS) certificate. This parameter is required.- Returns:
this
-
trust
@Stability(Stable) public CfnVirtualGateway.VirtualGatewayTlsValidationContextProperty.Builder trust(CfnVirtualGateway.VirtualGatewayTlsValidationContextTrustProperty trust) Sets the value ofCfnVirtualGateway.VirtualGatewayTlsValidationContextProperty.getTrust()- Parameters:
trust- A reference to where to retrieve the trust chain when validating a peer’s Transport Layer Security (TLS) certificate. This parameter is required.- Returns:
this
-
subjectAlternativeNames
@Stability(Stable) public CfnVirtualGateway.VirtualGatewayTlsValidationContextProperty.Builder subjectAlternativeNames(IResolvable subjectAlternativeNames) Sets the value ofCfnVirtualGateway.VirtualGatewayTlsValidationContextProperty.getSubjectAlternativeNames()- 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:
this
-
subjectAlternativeNames
@Stability(Stable) public CfnVirtualGateway.VirtualGatewayTlsValidationContextProperty.Builder subjectAlternativeNames(CfnVirtualGateway.SubjectAlternativeNamesProperty subjectAlternativeNames) Sets the value ofCfnVirtualGateway.VirtualGatewayTlsValidationContextProperty.getSubjectAlternativeNames()- 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:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVirtualGateway.VirtualGatewayTlsValidationContextProperty>- Returns:
- a new instance of
CfnVirtualGateway.VirtualGatewayTlsValidationContextProperty - Throws:
NullPointerException- if any required attribute was not provided
-