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