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