Class CfnVirtualGateway.VirtualGatewayListenerTlsValidationContextTrustProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appmesh.CfnVirtualGateway.VirtualGatewayListenerTlsValidationContextTrustProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVirtualGateway.VirtualGatewayListenerTlsValidationContextTrustProperty>
- Enclosing interface:
CfnVirtualGateway.VirtualGatewayListenerTlsValidationContextTrustProperty
@Stability(Stable)
public static final class CfnVirtualGateway.VirtualGatewayListenerTlsValidationContextTrustProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVirtualGateway.VirtualGatewayListenerTlsValidationContextTrustProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.file
(IResolvable file) sds
(IResolvable sds)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
file
@Stability(Stable) public CfnVirtualGateway.VirtualGatewayListenerTlsValidationContextTrustProperty.Builder file(IResolvable file) Sets the value ofCfnVirtualGateway.VirtualGatewayListenerTlsValidationContextTrustProperty.getFile()
- Parameters:
file
- An object that represents a Transport Layer Security (TLS) validation context trust for a local file.- Returns:
this
-
file
@Stability(Stable) public CfnVirtualGateway.VirtualGatewayListenerTlsValidationContextTrustProperty.Builder file(CfnVirtualGateway.VirtualGatewayTlsValidationContextFileTrustProperty file) Sets the value ofCfnVirtualGateway.VirtualGatewayListenerTlsValidationContextTrustProperty.getFile()
- Parameters:
file
- An object that represents a Transport Layer Security (TLS) validation context trust for a local file.- Returns:
this
-
sds
@Stability(Stable) public CfnVirtualGateway.VirtualGatewayListenerTlsValidationContextTrustProperty.Builder sds(IResolvable sds) Sets the value ofCfnVirtualGateway.VirtualGatewayListenerTlsValidationContextTrustProperty.getSds()
- Parameters:
sds
- A reference to an object that represents a virtual gateway's listener's Transport Layer Security (TLS) Secret Discovery Service validation context trust.- Returns:
this
-
sds
@Stability(Stable) public CfnVirtualGateway.VirtualGatewayListenerTlsValidationContextTrustProperty.Builder sds(CfnVirtualGateway.VirtualGatewayTlsValidationContextSdsTrustProperty sds) Sets the value ofCfnVirtualGateway.VirtualGatewayListenerTlsValidationContextTrustProperty.getSds()
- Parameters:
sds
- A reference to an object that represents a virtual gateway's listener's Transport Layer Security (TLS) Secret Discovery Service validation context trust.- Returns:
this
-
build
@Stability(Stable) public CfnVirtualGateway.VirtualGatewayListenerTlsValidationContextTrustProperty build()Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnVirtualGateway.VirtualGatewayListenerTlsValidationContextTrustProperty>
- Returns:
- a new instance of
CfnVirtualGateway.VirtualGatewayListenerTlsValidationContextTrustProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-