Class CfnVirtualNode.ListenerTlsValidationContextTrustProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appmesh.CfnVirtualNode.ListenerTlsValidationContextTrustProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVirtualNode.ListenerTlsValidationContextTrustProperty>
- Enclosing interface:
CfnVirtualNode.ListenerTlsValidationContextTrustProperty
@Stability(Stable)
public static final class CfnVirtualNode.ListenerTlsValidationContextTrustProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVirtualNode.ListenerTlsValidationContextTrustProperty>
A builder for
CfnVirtualNode.ListenerTlsValidationContextTrustProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.file(IResolvable file) Sets the value ofCfnVirtualNode.ListenerTlsValidationContextTrustProperty.getFile()Sets the value ofCfnVirtualNode.ListenerTlsValidationContextTrustProperty.getFile()sds(IResolvable sds) Sets the value ofCfnVirtualNode.ListenerTlsValidationContextTrustProperty.getSds()Sets the value ofCfnVirtualNode.ListenerTlsValidationContextTrustProperty.getSds()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
file
@Stability(Stable) public CfnVirtualNode.ListenerTlsValidationContextTrustProperty.Builder file(IResolvable file) Sets the value ofCfnVirtualNode.ListenerTlsValidationContextTrustProperty.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 CfnVirtualNode.ListenerTlsValidationContextTrustProperty.Builder file(CfnVirtualNode.TlsValidationContextFileTrustProperty file) Sets the value ofCfnVirtualNode.ListenerTlsValidationContextTrustProperty.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 CfnVirtualNode.ListenerTlsValidationContextTrustProperty.Builder sds(IResolvable sds) Sets the value ofCfnVirtualNode.ListenerTlsValidationContextTrustProperty.getSds()- Parameters:
sds- A reference to an object that represents a listener's Transport Layer Security (TLS) Secret Discovery Service validation context trust.- Returns:
this
-
sds
@Stability(Stable) public CfnVirtualNode.ListenerTlsValidationContextTrustProperty.Builder sds(CfnVirtualNode.TlsValidationContextSdsTrustProperty sds) Sets the value ofCfnVirtualNode.ListenerTlsValidationContextTrustProperty.getSds()- Parameters:
sds- A reference to an object that represents a listener's Transport Layer Security (TLS) Secret Discovery Service validation context trust.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVirtualNode.ListenerTlsValidationContextTrustProperty>- Returns:
- a new instance of
CfnVirtualNode.ListenerTlsValidationContextTrustProperty - Throws:
NullPointerException- if any required attribute was not provided
-