Class CfnDistribution.ViewerMtlsConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cloudfront.CfnDistribution.ViewerMtlsConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDistribution.ViewerMtlsConfigProperty>
- Enclosing interface:
CfnDistribution.ViewerMtlsConfigProperty
@Stability(Stable)
public static final class CfnDistribution.ViewerMtlsConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDistribution.ViewerMtlsConfigProperty>
A builder for
CfnDistribution.ViewerMtlsConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDistribution.ViewerMtlsConfigProperty.getMode()trustStoreConfig(IResolvable trustStoreConfig) Sets the value ofCfnDistribution.ViewerMtlsConfigProperty.getTrustStoreConfig()trustStoreConfig(CfnDistribution.TrustStoreConfigProperty trustStoreConfig) Sets the value ofCfnDistribution.ViewerMtlsConfigProperty.getTrustStoreConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
mode
Sets the value ofCfnDistribution.ViewerMtlsConfigProperty.getMode()- Parameters:
mode- The viewer mTLS mode.- Returns:
this
-
trustStoreConfig
@Stability(Stable) public CfnDistribution.ViewerMtlsConfigProperty.Builder trustStoreConfig(IResolvable trustStoreConfig) Sets the value ofCfnDistribution.ViewerMtlsConfigProperty.getTrustStoreConfig()- Parameters:
trustStoreConfig- The trust store configuration associated with the viewer mTLS configuration.- Returns:
this
-
trustStoreConfig
@Stability(Stable) public CfnDistribution.ViewerMtlsConfigProperty.Builder trustStoreConfig(CfnDistribution.TrustStoreConfigProperty trustStoreConfig) Sets the value ofCfnDistribution.ViewerMtlsConfigProperty.getTrustStoreConfig()- Parameters:
trustStoreConfig- The trust store configuration associated with the viewer mTLS configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDistribution.ViewerMtlsConfigProperty>- Returns:
- a new instance of
CfnDistribution.ViewerMtlsConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-